Support Forum G3D Web Page |
Event code enumerations. More...
Public Member Functions | |
GEventType (const G3D::String &x) | |
GEventType (char v) | |
GEventType (int v) | |
GEventType (const G3D::Any &a) | |
GEventType () | |
GEventType (const Value v) | |
void | deserialize (G3D::BinaryInput &b) |
unsigned int | hashCode () const |
bool | isGuiEvent () const |
False for GUI_CLOSE, which is a GuiCloseEvent. More... | |
operator int () const | |
bool | operator!= (const GEventType other) const |
bool | operator!= (const GEventType ::Value other) const |
GEventType | operator+ (const int x) const |
GEventType & | operator++ () |
GEventType & | operator+= (const int x) |
GEventType | operator- (const int x) const |
GEventType & | operator-- () |
GEventType & | operator-= (const int x) |
bool | operator< (const GEventType other) const |
bool | operator< (const Value other) const |
bool | operator<= (const Value other) const |
bool | operator<= (const GEventType other) const |
GEventType & | operator= (const G3D::Any &a) |
bool | operator== (const GEventType ::Value other) const |
bool | operator== (const GEventType other) const |
bool | operator> (const GEventType other) const |
bool | operator> (const Value other) const |
bool | operator>= (const GEventType other) const |
bool | operator>= (const Value other) const |
void | serialize (G3D::BinaryOutput &b) const |
G3D::Any | toAny () const |
const char * | toString () const |
Static Public Member Functions | |
static const char * | classname () |
static int | count () |
static Value | nthValue (int n) |
Event code enumerations.
Enumerator | |
---|---|
NONE | |
ACTIVE | Unused (do not remove) |
KEY_DOWN | Application loses/gains visibility. Use FOCUS |
KEY_UP | Keys pressed. |
MOUSE_MOTION | Keys released. |
MOUSE_BUTTON_DOWN | Mouse moved. |
MOUSE_BUTTON_UP | Mouse button pressed. |
JOY_AXIS_MOTION | Mouse button released. |
JOY_BALL_MOTION | Joystick axis motion. |
JOY_HAT_MOTION | Joystick trackball motion. |
JOY_BUTTON_DOWN | Joystick hat position change. |
JOY_BUTTON_UP | Joystick button pressed. |
QUIT | Joystick button released. |
SYSWMEVENT | User-requested quit. |
EVENT_RESERVEDA | System specific event. |
EVENT_RESERVEDB | Reserved for future use. |
VIDEO_RESIZE | Reserved for future use. |
VIDEO_EXPOSE | User resized video mode. |
EVENT_RESERVED2 | Screen needs to be redrawn. |
EVENT_RESERVED3 | Reserved for future use. |
EVENT_RESERVED4 | Reserved for future use. |
EVENT_RESERVED5 | Reserved for future use. |
EVENT_RESERVED6 | Reserved for future use. |
CHAR_INPUT | Reserved for future use. |
GUI_DOWN | Character input (usually simultaneous with a KEY_DOWN) |
GUI_UP | GuiControl button, etc. pressed. |
GUI_ACTION | GuiControl button, etc. released. |
GUI_CHANGE | Commit action: Button fire, enter pressed in a text box, slider released, menu selecion. |
GUI_CANCEL | Continuous changing (e.g., typing in text box, slider dragged.) |
GUI_KEY_FOCUS | Esc pressed in a text box or menu. |
GUI_CLOSE | GuiControl gains or loses key focus. |
FILE_DROP | GuiWindow close button pressed. |
MOUSE_SCROLL_2D | Signifies that files have been dropped onto the program. Call OSWindow.getDroppedFilenames to receive the actual data. |
MOUSE_BUTTON_CLICK | A 2D scroll event has occured. |
KEY_REPEAT | A 2D button click (in addition to mouse released event). Uses MouseButtonEvent. |
FOCUS | Operating system virtual key press from the key being held down. This is not fired on the physical key press. |
NUMEVENTS | Application gains or loses keyboard focus. This last event is only for bounding internal arrays It is the number of bits in the event mask datatype – uint32 |
|
inlineexplicit |
|
inlineexplicit |
|
inlineexplicit |
|
inline |
|
inline |
|
inlineexplicit |
|
inlinestatic |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
False for GUI_CLOSE, which is a GuiCloseEvent.
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |