GuiEvent
Engine/source/gui/core/guiTypes.h
Represents a single GUI event.
Public Attributes
ascii character code 'a', 'A', 'b', '*', etc (if device==keyboard) - possibly a uchar or something
for unprintables, 'tab', 'return', ...
to determine double clicks, etc...
for mouse events
Public Functions
GuiEvent()
Detailed Description
Represents a single GUI event.
This is passed around to all the relevant controls so they know what's going on.
Public Attributes
U16 ascii
ascii character code 'a', 'A', 'b', '*', etc (if device==keyboard) - possibly a uchar or something
F32 fval
used for mousewheel events
InputObjectInstances keyCode
for unprintables, 'tab', 'return', ...
U8 modifier
SI_LSHIFT, etc.
U8 mouseAxis
mousewheel axis (0 == X, 1 == Y)
U8 mouseClickCount
to determine double clicks, etc...
Point2I mousePoint
for mouse events