|
Torque2D Reference
|
#include <guiTypes.h>
Public Attributes | |
| U16 | ascii |
| ascii character code 'a', 'A', 'b', '*', etc (if device==keyboard) - possibly a uchar or something | |
| U8 | modifier |
| SI_LSHIFT, etc. | |
| U8 | keyCode |
| for unprintables, 'tab', 'return', ... | |
| Point2I | mousePoint |
| for mouse events | |
| U8 | mouseClickCount |
| to determine double clicks, etc... | |
| S32 | eventID |
| assigns mouse or touch ID to the event | |
Represents a single GUI event.
This is passed around to all the relevant controls so they know what's going on.
| U16 ascii |
ascii character code 'a', 'A', 'b', '*', etc (if device==keyboard) - possibly a uchar or something
| S32 eventID |
assigns mouse or touch ID to the event
| U8 keyCode |
for unprintables, 'tab', 'return', ...
| U8 modifier |
SI_LSHIFT, etc.
| U8 mouseClickCount |
to determine double clicks, etc...
| Point2I mousePoint |
for mouse events