Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/WM_types.h
| Show First 20 Lines • Show All 581 Lines • ▼ Show 20 Lines | typedef struct wmOperatorType { | ||||
| /* RNA integration */ | /* RNA integration */ | ||||
| ExtensionRNA ext; | ExtensionRNA ext; | ||||
| /* Flag last for padding */ | /* Flag last for padding */ | ||||
| short flag; | short flag; | ||||
| } wmOperatorType; | } wmOperatorType; | ||||
| #ifdef WITH_INPUT_IME | #ifdef WITH_IM_ONTHESPOT | ||||
| /* *********** Input Method Editor (IME) *********** */ | /* *********** Input Method (IM) *********** */ | ||||
| /* similar to GHOST_TEventImeData */ | /* similar to GHOST_TEventIMData */ | ||||
| typedef struct wmIMEData { | typedef struct wmIMData { | ||||
| size_t result_len, composite_len; | size_t result_len, composite_len; | ||||
| char *str_result; /* utf8 encoding */ | char *str_result; /* utf8 encoding */ | ||||
| char *str_composite; /* utf8 encoding */ | char *str_composite; /* utf8 encoding */ | ||||
| int cursor_pos; /* cursor position in the IME composition. */ | int cursor_pos; /* cursor position in the IM composition. */ | ||||
| int sel_start; /* beginning of the selection */ | int sel_start; /* beginning of the selection */ | ||||
| int sel_end; /* end of the selection */ | int sel_end; /* end of the selection */ | ||||
| bool is_ime_composing; | bool is_im_composing; | ||||
| } wmIMEData; | } wmIMData; | ||||
| #endif | #endif | ||||
| /* **************** Paint Cursor ******************* */ | /* **************** Paint Cursor ******************* */ | ||||
| typedef void (*wmPaintCursorDraw)(struct bContext *C, int, int, void *customdata); | typedef void (*wmPaintCursorDraw)(struct bContext *C, int, int, void *customdata); | ||||
| /* ****************** Messages ********************* */ | /* ****************** Messages ********************* */ | ||||
| ▲ Show 20 Lines • Show All 85 Lines • Show Last 20 Lines | |||||