diff options
Diffstat (limited to 'source/blender/editors/interface/interface_intern.h')
-rw-r--r-- | source/blender/editors/interface/interface_intern.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/source/blender/editors/interface/interface_intern.h b/source/blender/editors/interface/interface_intern.h index e1fe64c1e35..b851d1d8c5b 100644 --- a/source/blender/editors/interface/interface_intern.h +++ b/source/blender/editors/interface/interface_intern.h @@ -75,19 +75,19 @@ typedef enum { UI_WTYPE_TOOLBAR_ITEM, UI_WTYPE_TAB, UI_WTYPE_TOOLTIP, - + /* strings */ UI_WTYPE_NAME, UI_WTYPE_NAME_LINK, UI_WTYPE_POINTER_LINK, UI_WTYPE_FILENAME, - + /* menus */ UI_WTYPE_MENU_RADIO, UI_WTYPE_MENU_ICON_RADIO, UI_WTYPE_MENU_POINTER_LINK, UI_WTYPE_MENU_NODE_LINK, - + UI_WTYPE_PULLDOWN, UI_WTYPE_MENU_ITEM, UI_WTYPE_MENU_ITEM_RADIAL, @@ -245,7 +245,7 @@ struct uiBut { uiButCompleteFunc autocomplete_func; void *autofunc_arg; - + uiButSearchCreateFunc search_create_func; uiButSearchFunc search_func; bool free_search_arg; @@ -302,7 +302,7 @@ struct uiBut { void *dragpoin; struct ImBuf *imb; float imb_scale; - + /* active button data */ struct uiHandleButtonData *active; @@ -314,7 +314,7 @@ struct uiBut { float *editvec; void *editcoba; void *editcumap; - + /* pointer back */ uiBlock *block; }; @@ -362,9 +362,9 @@ struct uiBlock { struct uiLayout *curlayout; ListBase contexts; - + char name[UI_MAX_NAME_STR]; - + float winmat[4][4]; rctf rect; @@ -384,10 +384,10 @@ struct uiBlock { uiBlockHandleFunc handle_func; void *handle_func_arg; - + /* custom extra handling */ int (*block_event_func)(const struct bContext *C, struct uiBlock *, const struct wmEvent *); - + /* extra draw function for custom blocks */ void (*drawextra)(const struct bContext *C, void *idv, void *arg1, void *arg2, rcti *rect); void *drawextra_arg1; @@ -545,7 +545,7 @@ struct uiPopupBlockHandle { void (*popup_func)(struct bContext *C, void *arg, int event); void (*cancel_func)(struct bContext *C, void *arg); void *popup_arg; - + /* store data for refreshing popups */ struct uiPopupBlockCreate popup_create_vars; /* true if we can re-create the popup using 'popup_create_vars' */ @@ -563,7 +563,7 @@ struct uiPopupBlockHandle { ScrArea *ctx_area; ARegion *ctx_region; int opcontext; - + /* return values */ int butretval; int menuretval; |