Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/interface/interface_intern.h
| Context not available. | |||||
| int event_xy[2]; | int event_xy[2]; | ||||
| }; | }; | ||||
| typedef uiBlock * (*uiBlockHandleCreateFunc)(struct bContext *C, struct uiPopupBlockHandle *handle, void *arg1); | |||||
| struct uiPopupBlockCreate { | |||||
| uiBlockCreateFunc create_func; | |||||
| uiBlockHandleCreateFunc handle_create_func; | |||||
| void *arg; | |||||
| int event_xy[2]; | |||||
| /* when popup is initialized from a button */ | |||||
| ARegion *butregion; | |||||
| }; | |||||
| struct uiPopupBlockHandle { | struct uiPopupBlockHandle { | ||||
| /* internal */ | /* internal */ | ||||
| struct ARegion *region; | struct ARegion *region; | ||||
| Context not available. | |||||
| void (*cancel_func)(struct bContext *C, void *arg); | void (*cancel_func)(struct bContext *C, void *arg); | ||||
| void *popup_arg; | void *popup_arg; | ||||
| /* store data for refreshing popups */ | |||||
| struct uiPopupBlockCreate popup_create_vars; | |||||
| struct wmTimer *scrolltimer; | struct wmTimer *scrolltimer; | ||||
| struct uiKeyNavLock keynav_state; | struct uiKeyNavLock keynav_state; | ||||
| Context not available. | |||||
| void ui_searchbox_free(struct bContext *C, struct ARegion *ar); | void ui_searchbox_free(struct bContext *C, struct ARegion *ar); | ||||
| void ui_but_search_test(uiBut *but); | void ui_but_search_test(uiBut *but); | ||||
| typedef uiBlock * (*uiBlockHandleCreateFunc)(struct bContext *C, struct uiPopupBlockHandle *handle, void *arg1); | uiBlock *ui_popup_block_refresh(struct bContext *C, uiPopupBlockHandle *handle, | ||||
| ARegion *butregion, uiBut *but); | |||||
| uiPopupBlockHandle *ui_popup_block_create(struct bContext *C, struct ARegion *butregion, uiBut *but, | uiPopupBlockHandle *ui_popup_block_create(struct bContext *C, struct ARegion *butregion, uiBut *but, | ||||
| uiBlockCreateFunc create_func, uiBlockHandleCreateFunc handle_create_func, | uiBlockCreateFunc create_func, uiBlockHandleCreateFunc handle_create_func, | ||||
| Context not available. | |||||