GuiEvent

Engine/source/gui/core/guiTypes.h

Represents a single GUI event.

More...

Public Attributes

ascii character code 'a', 'A', 'b', '*', etc (if device==keyboard) - possibly a uchar or something

used for mousewheel events

for unprintables, 'tab', 'return', ...

SI_LSHIFT, etc.

mousewheel axis (0 == X, 1 == Y)

to determine double clicks, etc...

for mouse events

Public Functions

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

Public Functions

GuiEvent()