[Bf-blender-cvs] [60acb8b] master: UI: Use zoom in/out icons for curves
Campbell Barton
noreply at git.blender.org
Wed Feb 24 20:38:53 CET 2016
Commit: 60acb8bc578239690e99b595bbea9fc22b3f27b3
Author: Campbell Barton
Date: Thu Feb 25 05:49:25 2016 +1100
Branches: master
https://developer.blender.org/rB60acb8bc578239690e99b595bbea9fc22b3f27b3
UI: Use zoom in/out icons for curves
Was confusing since zoom icons were used for add/remove elsewhere (color-ramp & presets).
===================================================================
M source/blender/editors/interface/interface_templates.c
===================================================================
diff --git a/source/blender/editors/interface/interface_templates.c b/source/blender/editors/interface/interface_templates.c
index d149c8c..d47d3cd 100644
--- a/source/blender/editors/interface/interface_templates.c
+++ b/source/blender/editors/interface/interface_templates.c
@@ -2168,10 +2168,10 @@ static void curvemap_buttons_layout(
UI_block_emboss_set(block, UI_EMBOSS_NONE);
- bt = uiDefIconBut(block, UI_BTYPE_BUT, 0, ICON_ZOOMIN, 0, 0, dx, dx, NULL, 0.0, 0.0, 0.0, 0.0, TIP_("Zoom in"));
+ bt = uiDefIconBut(block, UI_BTYPE_BUT, 0, ICON_ZOOM_IN, 0, 0, dx, dx, NULL, 0.0, 0.0, 0.0, 0.0, TIP_("Zoom in"));
UI_but_func_set(bt, curvemap_buttons_zoom_in, cumap, NULL);
- bt = uiDefIconBut(block, UI_BTYPE_BUT, 0, ICON_ZOOMOUT, 0, 0, dx, dx, NULL, 0.0, 0.0, 0.0, 0.0, TIP_("Zoom out"));
+ bt = uiDefIconBut(block, UI_BTYPE_BUT, 0, ICON_ZOOM_OUT, 0, 0, dx, dx, NULL, 0.0, 0.0, 0.0, 0.0, TIP_("Zoom out"));
UI_but_func_set(bt, curvemap_buttons_zoom_out, cumap, NULL);
if (brush)
More information about the Bf-blender-cvs
mailing list