mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-15 19:16:40 +01:00
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:
parent
0fa5643d20
commit
48a7a11974
31 changed files with 201 additions and 199 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue