diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 11:36:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-30 11:49:04 +0300 |
commit | a42fd3de5d82deff4b7d9b1f14a58fd95d9d20ff (patch) | |
tree | e18f666a3cf402b0a65e968564213d308861cb1d /source/blender/editors/include | |
parent | b26e9f00007b048cec3b3c7a93420d92ec0877c9 (diff) |
UI: Add 'interface_query.c'
Interface files are increasingly mixing up too much functionality,
add a file only to handle queries.
More functions can be moved/added here.
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 6227ea15b71..c87334f4bac 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -379,6 +379,11 @@ typedef void (*uiMenuHandleFunc)(struct bContext *C, void *arg, int event); */ typedef bool (*uiMenuStepFunc)(struct bContext *C, int direction, void *arg1); + +/* interface_query.c */ +bool UI_block_is_empty(const uiBlock *block); + + /* interface_region_menu_popup.c */ /* Popup Menus * @@ -498,8 +503,6 @@ void UI_block_order_flip(uiBlock *block); void UI_block_flag_enable(uiBlock *block, int flag); void UI_block_flag_disable(uiBlock *block, int flag); -bool UI_block_is_empty(const uiBlock *block); - int UI_but_return_value_get(uiBut *but); void UI_but_drag_set_id(uiBut *but, struct ID *id); |