Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/include/UI_interface.h
| Show First 20 Lines • Show All 840 Lines • ▼ Show 20 Lines | eAutoPropButsReturn uiDefAutoButsRNA( | ||||
| bool (*check_prop)(struct PointerRNA *ptr, struct PropertyRNA *prop, void *user_data), void *user_data, | bool (*check_prop)(struct PointerRNA *ptr, struct PropertyRNA *prop, void *user_data), void *user_data, | ||||
| eButLabelAlign label_align, const bool compact); | eButLabelAlign label_align, const bool compact); | ||||
| /* use inside searchfunc to add items */ | /* use inside searchfunc to add items */ | ||||
| bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, int iconid); | bool UI_search_item_add(uiSearchItems *items, const char *name, void *poin, int iconid); | ||||
| /* bfunc gets search item *poin as arg2, or if NULL the old string */ | /* bfunc gets search item *poin as arg2, or if NULL the old string */ | ||||
| void UI_but_func_search_set( | void UI_but_func_search_set( | ||||
| uiBut *but, uiButSearchCreateFunc cfunc, uiButSearchFunc sfunc, | uiBut *but, uiButSearchCreateFunc cfunc, uiButSearchFunc sfunc, | ||||
| void *arg1, uiButHandleFunc bfunc, void *active); | void *arg, bool free_arg, uiButHandleFunc bfunc, void *active); | ||||
| /* height in pixels, it's using hardcoded values still */ | /* height in pixels, it's using hardcoded values still */ | ||||
| int UI_searchbox_size_y(void); | int UI_searchbox_size_y(void); | ||||
| int UI_searchbox_size_x(void); | int UI_searchbox_size_x(void); | ||||
| /* check if a string is in an existing search box */ | /* check if a string is in an existing search box */ | ||||
| int UI_search_items_find_index(uiSearchItems *items, const char *name); | int UI_search_items_find_index(uiSearchItems *items, const char *name); | ||||
| void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg); | void UI_block_func_handle_set(uiBlock *block, uiBlockHandleFunc func, void *arg); | ||||
| void UI_block_func_butmenu_set(uiBlock *block, uiMenuHandleFunc func, void *arg); | void UI_block_func_butmenu_set(uiBlock *block, uiMenuHandleFunc func, void *arg); | ||||
| ▲ Show 20 Lines • Show All 568 Lines • Show Last 20 Lines | |||||