initial pass to replace all UIConfiguration::get_XXXXXX() calls with UIConfiguration::color(name).

IMPORTANT: names have not been downcased and spaced yet, so many colors are not found
This commit is contained in:
Paul Davis 2014-12-14 12:27:07 -05:00
parent 0fa5643d20
commit 48a7a11974
31 changed files with 201 additions and 199 deletions

View file

@ -113,7 +113,7 @@ ShuttleControl::on_size_allocate (Gtk::Allocation& alloc)
//background
pattern = cairo_pattern_create_linear (0, 0, 0, alloc.get_height());
uint32_t col = ARDOUR_UI::config()->get_Shuttle();
uint32_t col = ARDOUR_UI::config()->color ("Shuttle");
int r,b,g,a;
UINT_TO_RGBA(col, &r, &g, &b, &a);
cairo_pattern_add_color_stop_rgb (pattern, 0.0, r/400.0, g/400.0, b/400.0);