From 2a87bd89951204a5dd15b60ba86cbba72fc3b088 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 3 Nov 2017 20:26:35 +1100 Subject: Cleanup: split interface_regions.c Each region type is quite separate and file was getting too big. --- source/blender/editors/include/UI_interface.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/include/UI_interface.h') diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index b0842c3acb8..0e936fdd313 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -379,6 +379,7 @@ typedef void (*uiMenuHandleFunc)(struct bContext *C, void *arg, int event); */ typedef bool (*uiMenuStepFunc)(struct bContext *C, int direction, void *arg1); +/* interface_region_menu_popup.c */ /* Popup Menus * * Functions used to create popup menus. For more extended menus the @@ -402,6 +403,7 @@ int UI_popup_menu_invoke(struct bContext *C, const char *idname, struct ReportLi void UI_popup_menu_retval_set(const uiBlock *block, const int retval, const bool enable); void UI_popup_menu_but_set(uiPopupMenu *pup, struct ARegion *butregion, uiBut *but); +/* interface_region_menu_pie.c */ /* Pie menus */ typedef struct uiPieMenu uiPieMenu; @@ -418,11 +420,13 @@ struct uiPieMenu *UI_pie_menu_begin( const struct wmEvent *event) ATTR_NONNULL(); void UI_pie_menu_end(struct bContext *C, uiPieMenu *pie); struct uiLayout *UI_pie_menu_layout(struct uiPieMenu *pie); + +/* interface_region_menu_popup.c */ + /* Popup Blocks * * Functions used to create popup blocks. These are like popup menus * but allow using all button types and creating an own layout. */ - typedef uiBlock * (*uiBlockCreateFunc)(struct bContext *C, struct ARegion *ar, void *arg1); typedef void (*uiBlockCancelFunc)(struct bContext *C, void *arg1); -- cgit v1.2.3