UI: support for dragging popups title area

This commit is contained in:
2014-04-02 18:42:08 +11:00
parent 442f2df736
commit def5999f9b
6 changed files with 89 additions and 12 deletions

View File

@@ -460,6 +460,11 @@ struct uiPopupBlockHandle {
/* menu direction */
int direction;
/* #ifdef USE_DRAG_POPUP */
bool is_grab;
int grab_xy_prev[2];
/* #endif */
};
uiBlock *ui_block_func_COLOR(struct bContext *C, uiPopupBlockHandle *handle, void *arg_but);