Patch select: button theme-ing
authorBen Loftis <ben@harrisonconsoles.com>
Fri, 8 Sep 2017 16:15:02 +0000 (11:15 -0500)
committerBen Loftis <ben@harrisonconsoles.com>
Fri, 8 Sep 2017 16:15:02 +0000 (11:15 -0500)
gtk2_ardour/patch_change_widget.cc
gtk2_ardour/themes/dark-ardour.colors

index 32ff85501d095f428860501091e7aa0b42872524..521ad60313b6c08f55a34c25e9b341626f4e9906 100644 (file)
@@ -249,10 +249,12 @@ PatchChangeWidget::refill_program_list ()
 
        for (uint8_t pgm = 0; pgm < 128; ++pgm) {
                if (!unset_notes.test (pgm)) {
+                       _program_btn[pgm].set_name (X_("patch change button"));
                        continue;
                }
                std::string n = string_compose (_("Pgm-%1"), (int)(pgm +1));
                _program_btn[pgm].set_text (n);
+               _program_btn[pgm].set_name (X_("patch change dim button"));
                set_tooltip (_program_btn[pgm], n);
        }
 
index 11524be587dd26d9a35ff3d219b47221ac6dfa77..9c201dc46b351b13a9c6f9ed34771d8352650d64 100644 (file)
     <ColorAlias name="nudge clock: text" alias="color 49"/>
     <ColorAlias name="page switch button: fill active" alias="color 92"/>
     <ColorAlias name="page switch button: fill" alias="color 94"/>
+    <ColorAlias name="patch change button: fill active" alias="color 74"/>
+    <ColorAlias name="patch change button: fill" alias="color 25"/>
+    <ColorAlias name="patch change dim button: fill active" alias="color 74"/>
+    <ColorAlias name="patch change dim button: fill" alias="color 46"/>
+    <ColorAlias name="patch change dim button: text" alias="color 92"/>
     <ColorAlias name="piano roll black" alias="color 76"/>
     <ColorAlias name="piano roll black outline" alias="color 33"/>
     <ColorAlias name="piano roll white" alias="color 45"/>