![]() |
SCENE C++ API
2.0.31
|
The LSMouseWheelEvent class represent events triggered by a mouse wheel. More...
#include <lsmousewheelevent.h>
Public Member Functions | |
LSMouseWheelEvent (ref_ptr< LSView > view, unsigned flags, POINT point, short delta) | |
Constructor. More... | |
short | getDelta () const |
Get the delta value representing the scrolled distance. More... | |
![]() | |
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... | |
![]() | |
LSViewEvent (ref_ptr< LSView > view) | |
Constructor. More... | |
ref_ptr< LSView > | getView () const |
Gets the view instance for which the event is triggered. More... | |
![]() | |
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 | |
![]() | |
void | ref () const |
Increments the internal reference counter. More... | |
void | unref () const |
Decrements the internal reference counter. More... | |
The LSMouseWheelEvent class represent events triggered by a mouse wheel.
LSMouseWheelEvent | ( | ref_ptr< LSView > | view, |
unsigned | flags, | ||
POINT | point, | ||
short | delta | ||
) |
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. |
delta | Indicates the scrolled distance. |
short getDelta | ( | ) | const |
Get the delta value representing the scrolled distance.