DISTRHO Plugin Framework
 All Classes Functions Variables Modules Pages
Public Member Functions | Public Attributes | List of all members
Widget::MouseEvent Struct Reference

#include <Widget.hpp>

Inheritance diagram for Widget::MouseEvent:
Widget::BaseEvent

Public Member Functions

 MouseEvent () noexcept
 
- Public Member Functions inherited from Widget::BaseEvent
 BaseEvent () noexcept
 
virtual ~BaseEvent () noexcept
 

Public Attributes

int button
 
bool press
 
Point< int > pos
 
- Public Attributes inherited from Widget::BaseEvent
uint mod
 
uint32_t time
 

Detailed Description

Mouse event. button The button number (1 = left, 2 = middle, 3 = right). press True if the key was pressed, false if released. pos The widget-relative coordinates of the pointer.

See also
onMouse

Constructor & Destructor Documentation

Widget::MouseEvent::MouseEvent ( )
inlinenoexcept

Constuctor


The documentation for this struct was generated from the following file: