UI: support for a popup panel which stays open

This commit is contained in:
2018-05-25 12:54:24 +02:00
parent e9908134e8
commit b11a1d5da2
4 changed files with 34 additions and 22 deletions

View File

@@ -431,7 +431,7 @@ typedef struct uiPopover uiPopover;
int UI_popover_panel_invoke(
struct bContext *C, int space_id, int region_id, const char *idname,
struct ReportList *reports);
bool keep_open, struct ReportList *reports);
uiPopover *UI_popover_begin(struct bContext *C) ATTR_NONNULL(1);
void UI_popover_end(struct bContext *C, struct uiPopover *head, struct wmKeyMap *keymap);