diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-06-09 18:36:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-06-09 18:38:32 +0300 |
commit | 7fdde7fd86f2448700e6473ae4bc5f8b1d4b1208 (patch) | |
tree | b32a5003a4261adb1a291bc01c3a444c8943119b /source/blender/makesdna | |
parent | ec8a20fec0d103a799b9d9c86b0b55fba3b02b84 (diff) |
UI: use draw_header function for popover buttons
Add 'is_popover' for panel draw functions to check if they're in a popup.
This puts dyntopo toggle next to the popover.
Diffstat (limited to 'source/blender/makesdna')
-rw-r--r-- | source/blender/makesdna/DNA_screen_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_screen_types.h b/source/blender/makesdna/DNA_screen_types.h index 9213893ae66..91bf1bbddbd 100644 --- a/source/blender/makesdna/DNA_screen_types.h +++ b/source/blender/makesdna/DNA_screen_types.h @@ -390,6 +390,7 @@ enum { /*PNL_TABBED = (1 << 3), */ /*UNUSED*/ PNL_OVERLAP = (1 << 4), PNL_PIN = (1 << 5), + PNL_POPOVER = (1 << 6), }; /* Panel->snap - for snapping to screen edges */ |