Changeset View
Changeset View
Standalone View
Standalone View
intern/ghost/GHOST_Types.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| GHOST_kKeyF22, | GHOST_kKeyF22, | ||||
| GHOST_kKeyF23, | GHOST_kKeyF23, | ||||
| GHOST_kKeyF24, | GHOST_kKeyF24, | ||||
| /* Multimedia keypad buttons. */ | /* Multimedia keypad buttons. */ | ||||
| GHOST_kKeyMediaPlay, | GHOST_kKeyMediaPlay, | ||||
| GHOST_kKeyMediaStop, | GHOST_kKeyMediaStop, | ||||
| GHOST_kKeyMediaFirst, | GHOST_kKeyMediaFirst, | ||||
| GHOST_kKeyMediaLast | GHOST_kKeyMediaLast, | ||||
| // IME process key | |||||
| GHOST_kKeyProcessKey | |||||
| } GHOST_TKey; | } GHOST_TKey; | ||||
| typedef enum { | typedef enum { | ||||
| /** Grab not set. */ | /** Grab not set. */ | ||||
| GHOST_kGrabDisable = 0, | GHOST_kGrabDisable = 0, | ||||
| /** No cursor adjustments. */ | /** No cursor adjustments. */ | ||||
| GHOST_kGrabNormal, | GHOST_kGrabNormal, | ||||
| /** Wrap the mouse location to prevent limiting screen bounds. */ | /** Wrap the mouse location to prevent limiting screen bounds. */ | ||||
| ▲ Show 20 Lines • Show All 72 Lines • ▼ Show 20 Lines | |||||
| /** The y-coordinate of the cursor position. */ | /** The y-coordinate of the cursor position. */ | ||||
| GHOST_TInt32 y; | GHOST_TInt32 y; | ||||
| /** The dropped item type */ | /** The dropped item type */ | ||||
| GHOST_TDragnDropTypes dataType; | GHOST_TDragnDropTypes dataType; | ||||
| /** The "dropped content" */ | /** The "dropped content" */ | ||||
| GHOST_TEventDataPtr data; | GHOST_TEventDataPtr data; | ||||
| } GHOST_TEventDragnDropData; | } GHOST_TEventDragnDropData; | ||||
| /** similar to wmImeData */ | |||||
| typedef struct { | typedef struct { | ||||
| /** size_t */ | /** size_t */ | ||||
| GHOST_TUserDataPtr result_len, composite_len; | GHOST_TUserDataPtr result_len, composite_len; | ||||
| /** char * utf8 encoding */ | /** char * utf8 encoding */ | ||||
| GHOST_TUserDataPtr result, composite; | GHOST_TUserDataPtr result, composite; | ||||
| /** Cursor position in the IME composition. */ | /** Cursor position in the IME composition. */ | ||||
| int cursor_position; | int cursor_position; | ||||
| /** Represents the position of the beginning of the selection */ | /** Represents the position of the beginning of the selection */ | ||||
| int target_start; | int target_start; | ||||
| /** Represents the position of the end of the selection */ | /** Represents the position of the end of the selection */ | ||||
| int target_end; | int target_end; | ||||
| /** custom temporal data */ | |||||
| GHOST_TUserDataPtr tmp; | |||||
| } GHOST_TEventImeData; | } GHOST_TEventImeData; | ||||
| typedef struct { | typedef struct { | ||||
| int count; | int count; | ||||
| GHOST_TUns8 **strings; | GHOST_TUns8 **strings; | ||||
| } GHOST_TStringArray; | } GHOST_TStringArray; | ||||
| typedef enum { | typedef enum { | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||