Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| /** Pointer back to the layout item holding this button. */ | /** Pointer back to the layout item holding this button. */ | ||||
| uiLayout *layout; | uiLayout *layout; | ||||
| int flag, drawflag; | int flag, drawflag; | ||||
| eButType type; | eButType type; | ||||
| eButPointerType pointype; | eButPointerType pointype; | ||||
| short bit, bitnr, retval, strwidth, alignnr; | short bit, bitnr, retval, strwidth, alignnr; | ||||
| short ofs, pos, selsta, selend; | short ofs, pos, selsta, selend; | ||||
| #ifdef WITH_INPUT_IME | |||||
| short ime_start, ime_end; | |||||
| #endif | |||||
| char *str; | char *str; | ||||
| char strdata[UI_MAX_NAME_STR]; | char strdata[UI_MAX_NAME_STR]; | ||||
| char drawstr[UI_MAX_DRAW_STR]; | char drawstr[UI_MAX_DRAW_STR]; | ||||
| rctf rect; /* block relative coords */ | rctf rect; /* block relative coords */ | ||||
| char *poin; | char *poin; | ||||
| ▲ Show 20 Lines • Show All 184 Lines • ▼ Show 20 Lines | |||||
| bool ui_but_rna_equals_ex(const uiBut *but, | bool ui_but_rna_equals_ex(const uiBut *but, | ||||
| const PointerRNA *ptr, | const PointerRNA *ptr, | ||||
| const PropertyRNA *prop, | const PropertyRNA *prop, | ||||
| int index); | int index); | ||||
| uiBut *ui_but_find_old(uiBlock *block_old, const uiBut *but_new); | uiBut *ui_but_find_old(uiBlock *block_old, const uiBut *but_new); | ||||
| uiBut *ui_but_find_new(uiBlock *block_new, const uiBut *but_old); | uiBut *ui_but_find_new(uiBlock *block_new, const uiBut *but_old); | ||||
| #ifdef WITH_INPUT_IME | #ifdef WITH_INPUT_IME | ||||
| void ui_but_ime_reposition(uiBut *but, int x, int y, bool complete); | void ui_but_ime_position(uiBut *but, int x, int y, int h); | ||||
| struct wmIMEData *ui_but_ime_data_get(uiBut *but); | struct wmIMEData *ui_but_ime_data_get(uiBut *but); | ||||
| #endif | #endif | ||||
| /* interface_widgets.c */ | /* interface_widgets.c */ | ||||
| /* Widget shader parameters, must match the shader layout. */ | /* Widget shader parameters, must match the shader layout. */ | ||||
| typedef struct uiWidgetBaseParameters { | typedef struct uiWidgetBaseParameters { | ||||
| rctf recti, rect; | rctf recti, rect; | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||