![]() |
SCENE C++ API
2.1.4
|
The LSMouseEvent class represents events which indicate that some mouse action occurred in a view. More...
#include <lsmouseevent.h>
Inheritance diagram for LSMouseEvent:Public Member Functions | |
| LSMouseEvent (ref_ptr< LSView > view, unsigned flags, POINT point) | |
| Constructor. More... | |
| unsigned | getFlags () const |
| Get the flags which indicate whether virtual keys are down. More... | |
| POINT | getPoint () const |
| Get the the x- and y- coordinate of the cursor. More... | |
Public Member Functions inherited from LSViewEvent | |
| LSViewEvent (ref_ptr< LSView > view) | |
| Constructor. More... | |
| ref_ptr< LSView > | getView () const |
| Gets the view instance for which the event is triggered. More... | |
Public Member Functions inherited from LSEvent | |
| LSEvent () | |
| Constructor. More... | |
| virtual | ~LSEvent () |
| Destructor. More... | |
| bool | isConsumed () const |
| Query whether this event has been consumed. More... | |
| void | consume () |
| Consumes this event if the event can be consumed. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from LSRefType | |
| void | ref () const |
| Increments the internal reference counter. More... | |
| void | unref () const |
| Decrements the internal reference counter. More... | |
The LSMouseEvent class represents events which indicate that some mouse action occurred in a view.
| LSMouseEvent | ( | ref_ptr< LSView > | view, |
| unsigned | flags, | ||
| POINT | point | ||
| ) |
Constructor.
| view | The view for which the event was triggered |
| flags | Indicates whether various virtual keys are down. |
| point | Specifies the x- and y-coordinate of the cursor. |
| unsigned getFlags | ( | ) | const |
Get the flags which indicate whether virtual keys are down.
| POINT getPoint | ( | ) | const |
Get the the x- and y- coordinate of the cursor.