|
Ultralight
1.0.0
A fast, lightweight, HTML UI engine for native apps.
|
A generic mouse event. More...
#include <MouseEvent.h>
Public Types | |
| enum | Type { kType_MouseMoved, kType_MouseDown, kType_MouseUp } |
| The various MouseEvent types. More... | |
| enum | Button |
| The various mouse button types. | |
Public Attributes | |
| Type | type |
| The type of this MouseEvent. | |
| int | x |
| The current x-position of the mouse, relative to the View. | |
| int | y |
| The current y-position of the mouse, relative to the View. | |
| Button | button |
| The mouse button that was pressed/released, if any. | |
A generic mouse event.
Definition at line 24 of file MouseEvent.h.
The various MouseEvent types.
| Enumerator | |
|---|---|
| kType_MouseMoved | Mouse moved type. |
| kType_MouseDown | Mouse button pressed type. |
| kType_MouseUp | Mouse button released type. |
Definition at line 29 of file MouseEvent.h.