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:
Diffstat (limited to 'source/blender/editors/screen/area.c')
-rw-r--r--source/blender/editors/screen/area.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/source/blender/editors/screen/area.c b/source/blender/editors/screen/area.c
index 2c691505877..25b6f241d9b 100644
--- a/source/blender/editors/screen/area.c
+++ b/source/blender/editors/screen/area.c
@@ -1533,39 +1533,6 @@ int ED_area_header_switchbutton(const bContext *C, uiBlock *block, int yco)
return xco + 1.7 * U.widget_unit;
}
-int ED_area_header_standardbuttons(const bContext *C, uiBlock *block, int yco)
-{
- ScrArea *sa = CTX_wm_area(C);
- int xco = 0.4 * U.widget_unit;
- uiBut *but;
-
- if (!sa->full)
- xco = ED_area_header_switchbutton(C, block, yco);
-
- uiBlockSetEmboss(block, UI_EMBOSSN);
-
- if (sa->flag & HEADER_NO_PULLDOWN) {
- but = uiDefIconButBitS(block, TOG, HEADER_NO_PULLDOWN, 0,
- ICON_DISCLOSURE_TRI_RIGHT,
- xco, yco, U.widget_unit, U.widget_unit * 0.9f,
- &(sa->flag), 0, 0, 0, 0,
- TIP_("Show pulldown menus"));
- }
- else {
- but = uiDefIconButBitS(block, TOG, HEADER_NO_PULLDOWN, 0,
- ICON_DISCLOSURE_TRI_DOWN,
- xco, yco, U.widget_unit, U.widget_unit * 0.9f,
- &(sa->flag), 0, 0, 0, 0,
- TIP_("Hide pulldown menus"));
- }
-
- uiButClearFlag(but, UI_BUT_UNDO); /* skip undo on screen buttons */
-
- uiBlockSetEmboss(block, UI_EMBOSS);
-
- return xco + U.widget_unit;
-}
-
/************************ standard UI regions ************************/
void ED_region_panels(const bContext *C, ARegion *ar, int vertical, const char *context, int contextnr)