Author: Carlos Lopez <[email protected]>
Date: Mon Nov 21 20:44:12 2011 +0100
Add icons on the Default Interpolation enum widget.
---
synfig-studio/src/gui/widgets/widget_defaults.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/synfig-studio/src/gui/widgets/widget_defaults.cpp
b/synfig-studio/src/gui/widgets/widget_defaults.cpp
index e30f7c7..c399eb4 100644
--- a/synfig-studio/src/gui/widgets/widget_defaults.cpp
+++ b/synfig-studio/src/gui/widgets/widget_defaults.cpp
@@ -297,6 +297,10 @@ Widget_Defaults::Widget_Defaults()
.add_enum_value(INTERPOLATION_HALT,"ease",_("Ease
In/Out"))
.add_enum_value(INTERPOLATION_LINEAR,"linear",_("Linear"))
);
+ widget_interpolation->set_icon(0,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_tcb"),Gtk::ICON_SIZE_MENU));
+ widget_interpolation->set_icon(1,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_constant"),Gtk::ICON_SIZE_MENU));
+ widget_interpolation->set_icon(2,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_ease"),Gtk::ICON_SIZE_MENU));
+ widget_interpolation->set_icon(3,
Gtk::Button().render_icon(Gtk::StockID("synfig-interpolation_type_linear"),Gtk::ICON_SIZE_MENU));
attach(*widget_interpolation,0, 2, 5, 6, Gtk::EXPAND|Gtk::FILL,
Gtk::SHRINK|Gtk::FILL, 1, 1);
widget_interpolation->set_tooltip_text(_("Default Interpolation"));
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl