[Summary] Implementing TRACK Header and INSPECTOR UI

This commit is contained in:
VKamyshniy 2014-07-08 12:12:12 +03:00
parent 1e2dd01172
commit 9958f084e5
9 changed files with 44 additions and 239 deletions

View file

@ -418,19 +418,23 @@ WavesUI::set_attributes (Gtk::Widget& widget, const XMLNode& definition, const X
if (iconbutton) {
property = xml_property (definition, "normalicon", styles, "");
if (!property.empty ()) {
iconbutton->set_normal_image(get_icon(property.c_str()));
iconbutton->set_normal_image (get_icon (property.c_str ()));
}
property = xml_property (definition, "activeicon", styles, "");
if (!property.empty ()) {
iconbutton->set_active_image(get_icon(property.c_str()));
iconbutton->set_active_image (get_icon (property.c_str ()));
}
property = xml_property (definition, "prelighticon", styles, "");
if (!property.empty ()) {
iconbutton->set_prelight_image(get_icon(property.c_str()));
iconbutton->set_prelight_image (get_icon (property.c_str ()));
}
property = xml_property (definition, "inactiveicon", styles, "");
if (!property.empty ()) {
iconbutton->set_inactive_image(get_icon(property.c_str()));
iconbutton->set_inactive_image (get_icon (property.c_str ()));
}
property = xml_property (definition, "implicitactiveicon", styles, "");
if (!property.empty ()) {
iconbutton->set_implicit_active_image (get_icon (property.c_str ()));
}
}