13
0

Patch select: button theme-ing

This commit is contained in:
Ben Loftis 2017-09-08 11:15:02 -05:00
parent 1166538433
commit 4459761f4d
2 changed files with 7 additions and 0 deletions

View 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);
}

View File

@ -335,6 +335,11 @@
<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"/>