mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-31 19:07:43 +01:00
[Summary] Extending the set of attributes of Gtk:Widget in the UI XML scripts
This commit is contained in:
parent
f403f8de4e
commit
5fae9787ae
1 changed files with 18 additions and 0 deletions
|
|
@ -474,6 +474,24 @@ WavesUI::set_attributes (Gtk::Widget& widget, const XMLNode& definition, const X
|
|||
widget.modify_text(Gtk::STATE_SELECTED, Gdk::Color(property));
|
||||
}
|
||||
|
||||
property = xml_property (definition, "basecolornormal", styles, "");
|
||||
if (!property.empty ()) {
|
||||
widget.unset_base(Gtk::STATE_NORMAL);
|
||||
widget.modify_base(Gtk::STATE_NORMAL, Gdk::Color(property));
|
||||
}
|
||||
|
||||
property = xml_property (definition, "basecoloractive", styles, "");
|
||||
if (!property.empty ()) {
|
||||
widget.unset_base(Gtk::STATE_ACTIVE);
|
||||
widget.modify_base(Gtk::STATE_ACTIVE, Gdk::Color(property));
|
||||
}
|
||||
|
||||
property = xml_property (definition, "basecolorselected", styles, "");
|
||||
if (!property.empty ()) {
|
||||
widget.unset_base(Gtk::STATE_SELECTED);
|
||||
widget.modify_base(Gtk::STATE_SELECTED, Gdk::Color(property));
|
||||
}
|
||||
|
||||
property = xml_property (definition, "bgnormal", styles, "");
|
||||
if (!property.empty ()) {
|
||||
widget.unset_bg(Gtk::STATE_NORMAL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue