Guiliani  Version 2.4 revision 5970 (build 3)
GUIEventTypeResource.h File Reference
#include <limits.h>

Go to the source code of this file.

Macros

#define ENTRY(a)   a,
 Helper Macros in Guiliani
 
#define ENTRY(a)   a,
 Helper Macros in Guiliani
 
#define ENTRY_ENUM(a)   a,
 Helper Macros in Guiliani
 
#define ENTRY_ENUM(a)   a,
 Helper Macros in Guiliani
 
#define EVENTTYPE_TABLE
 Guiliani event types. More...
 
#define KEYIDENTIFIER_TABLE
 Definition of all key event types.
 

Enumerations

enum  EventType_t {
  ET_KEYDOWN, ET_KEYUP, ET_CHAR, DEPRECATED_ET_MOUSEDRAG,
  ET_MOUSEMOVE, ET_MOUSEWHEEL, ET_LBUTTONUP, ET_LBUTTONDOWN,
  DEPRECATED_ET_LBUTTONDBLCLK, ET_RBUTTONUP, ET_RBUTTONDOWN, DEPRECATED_ET_LBUTTONLONGCLICK,
  ET_HOTKEYDOWN, ET_HOTKEYUP, GUILIANI_INTERNAL_ET = INT_MAX
}
 List of event type ids. More...
 
enum  GUIKeyIdentifier_t {
  GK_NONE, GK_ACTION, GK_DOWN, GK_UP,
  GK_LEFT, GK_RIGHT, GK_PAGEDOWN, GK_PAGEUP,
  GK_ESCAPE, GK_INSERT, GK_DELETE, GK_BACKSPACE,
  GK_TAB, GK_HOME, GK_END, GK_SELECT_ALL,
  GK_COPY, GK_PASTE, GK_CUT, GK_INTERMIT,
  GK_A, GK_B, GK_C, GK_D,
  GK_E, GK_F, GK_G, GK_H,
  GK_I, GK_J, GK_K, GK_L,
  GK_M, GK_N, GK_O, GK_P,
  GK_Q, GK_R, GK_S, GK_T,
  GK_U, GK_V, GK_W, GK_X,
  GK_Y, GK_Z, GK_0, GK_1,
  GK_2, GK_3, GK_4, GK_5,
  GK_6, GK_7, GK_8, GK_9,
  GK_SPACE, GK_EXCLAIM, GK_QUOTEDBL, GK_HASH,
  GK_DOLLAR, GK_PERCENT, GK_AMPERSAND, GK_QUOTE,
  GK_LEFTPAREN, GK_RIGHTPAREN, GK_ASTERISK, GK_PLUS,
  GK_COMMA, GK_MINUS, GK_PERIOD, GK_SLASH,
  GK_NUMPAD0, GK_NUMPAD1, GK_NUMPAD2, GK_NUMPAD3,
  GK_NUMPAD4, GK_NUMPAD5, GK_NUMPAD6, GK_NUMPAD7,
  GK_NUMPAD8, GK_NUMPAD9, GK_MULTIPLY, GK_ADD,
  GK_SEPARATOR, GK_SUBTRACT, GK_DECIMAL, GK_DIVIDE,
  GK_F1, GK_F2, GK_F3, GK_F4,
  GK_F5, GK_F6, GK_F7, GK_F8,
  GK_F9, GK_F10, GUILIANI_INTERNAL_GK = INT_MAX
}
 Platform independent key identifiers. More...
 

Detailed Description

For an overview of the mappings of these events to the handling methods in CGUIBehaviour, see Mappings from events to event handling slots Helper Macros in Guiliani.

Macro Definition Documentation

◆ EVENTTYPE_TABLE

#define EVENTTYPE_TABLE
Value:
\
ENTRY(ET_KEYDOWN) \ \
ENTRY(ET_KEYUP) \ \
ENTRY(ET_CHAR) \ \
ENTRY(ET_MOUSEMOVE) \ \
ENTRY(ET_MOUSEWHEEL) \ \
ENTRY(ET_LBUTTONUP) \ \
ENTRY(ET_LBUTTONDOWN) \ \
ENTRY(ET_RBUTTONUP) \ \
ENTRY(ET_RBUTTONDOWN) \ \
ENTRY(ET_HOTKEYDOWN) \ \
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66
Definition: GUIEventTypeResource.h:66

Guiliani event types.

Enumeration Type Documentation

◆ EventType_t

List of event type ids.

Enumerator
ET_KEYDOWN 

A key was pressed down.

ET_KEYUP 

A key was released.

ET_CHAR 

A character key was pressed.

DEPRECATED_ET_MOUSEDRAG 

The mouse was moved while a button was pressed.

ET_MOUSEMOVE 

The mouse was moved while all buttons were released.

ET_MOUSEWHEEL 

The mousewheel was used.

ET_LBUTTONUP 

The left mouse button was released.

ET_LBUTTONDOWN 

The left mouse button was pressed.

DEPRECATED_ET_LBUTTONDBLCLK 

The left mouse button was double clicked. CGUIEventHandler::GetDoubleClickTime()

ET_RBUTTONUP 

The right mouse button was released.

ET_RBUTTONDOWN 

The right mouse button was pressed.

DEPRECATED_ET_LBUTTONLONGCLICK 

The left mouse button was pressed longer than CGUIEventHandler::GetLongClickTime().

ET_HOTKEYDOWN 

A hot key was pressed (used on e.g. smart phones)

ET_HOTKEYUP 

A hot key was released (used on e.g. smart phones)

GUILIANI_INTERNAL_ET 

Do not touch this. Required for ensuring consistent enum type size across libraries.

◆ GUIKeyIdentifier_t

Platform independent key identifiers.

Enumerator
GK_INTERMIT 

Intermittent event (for multi-tapping on smartphones).

GK_SPACE 

'SPC' key

GK_EXCLAIM 

'!' key

GK_QUOTEDBL 

'"' key - double quote

GK_HASH 

'#' key

GK_DOLLAR 

'$' key

GK_PERCENT 

'' key

GK_AMPERSAND 

'&' key

GK_QUOTE 

''' key - single quote

GK_LEFTPAREN 

'(' key

GK_RIGHTPAREN 

')' key

GK_ASTERISK 

'*' key

GK_PLUS 

'+' key

GK_COMMA 

',' key

GK_MINUS 

'-' key

GK_PERIOD 

'.' key

GK_SLASH 

'/' key