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/interface/interface_panel.c')
-rw-r--r--source/blender/editors/interface/interface_panel.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/source/blender/editors/interface/interface_panel.c b/source/blender/editors/interface/interface_panel.c
index 2917758c995..1178f06b551 100644
--- a/source/blender/editors/interface/interface_panel.c
+++ b/source/blender/editors/interface/interface_panel.c
@@ -1966,21 +1966,6 @@ void UI_panels_draw(const bContext *C, ARegion *region)
}
}
-void UI_panels_scale(ARegion *region, float new_width)
-{
- LISTBASE_FOREACH (uiBlock *, block, &region->uiblocks) {
- if (block->panel) {
- const float fac = new_width / (float)block->panel->sizex;
- block->panel->sizex = new_width;
-
- LISTBASE_FOREACH (uiBut *, but, &block->buttons) {
- but->rect.xmin *= fac;
- but->rect.xmax *= fac;
- }
- }
- }
-}
-
/** \} */
/* -------------------------------------------------------------------- */