Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2018-06-11 15:33:53 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-06-11 15:46:35 +0300
commitd90fc119c204c760c4c8dcb269706c82bf51ca4b (patch)
tree33059e9bac58118019502a337b1a6436ace6d1c3 /source/blender/editors/interface/interface_widgets.c
parent74051111eb2b0a0453d497018c48b0f33cfa8db7 (diff)
UI: Separator spacer
This support layout.separator_spacer() to be used by headers as a way to dynamically separate the ui buttons. Right now no UI file is changed, though we can use this right away in the timeline, and shortly after in the viewport header (moving settings from the topbar to it). Original design by William Reynish. Review: Campbell Barton D3468
Diffstat (limited to 'source/blender/editors/interface/interface_widgets.c')
-rw-r--r--source/blender/editors/interface/interface_widgets.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/interface/interface_widgets.c b/source/blender/editors/interface/interface_widgets.c
index 3188bc847a7..ac8d900f560 100644
--- a/source/blender/editors/interface/interface_widgets.c
+++ b/source/blender/editors/interface/interface_widgets.c
@@ -4423,6 +4423,7 @@ void ui_draw_but(const bContext *C, ARegion *ar, uiStyle *style, uiBut *but, rct
case UI_BTYPE_SEPR:
case UI_BTYPE_SEPR_LINE:
+ case UI_BTYPE_SEPR_SPACER:
break;
case UI_BTYPE_BUT: