mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-28 17:37:41 +01:00
change UIConfig to use accessor/setter methods like RCConfig so that ParameterChanged methods can actually be emitted; add variable (over a small range) background shading for all TimeAxisViewItems
This commit is contained in:
parent
eed0201c07
commit
96eee9e7a1
40 changed files with 365 additions and 251 deletions
|
|
@ -774,8 +774,8 @@ RouteTimeAxisView::show_timestretch (framepos_t start, framepos_t end, int layer
|
|||
|
||||
if (timestretch_rect == 0) {
|
||||
timestretch_rect = new ArdourCanvas::Rectangle (canvas_display ());
|
||||
timestretch_rect->set_fill_color (ARDOUR_UI::config()->canvasvar_TimeStretchFill.get());
|
||||
timestretch_rect->set_outline_color (ARDOUR_UI::config()->canvasvar_TimeStretchOutline.get());
|
||||
timestretch_rect->set_fill_color (ARDOUR_UI::config()->get_canvasvar_TimeStretchFill());
|
||||
timestretch_rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_TimeStretchOutline());
|
||||
}
|
||||
|
||||
timestretch_rect->show ();
|
||||
|
|
@ -1612,11 +1612,11 @@ RouteTimeAxisView::color_handler ()
|
|||
{
|
||||
//case cTimeStretchOutline:
|
||||
if (timestretch_rect) {
|
||||
timestretch_rect->set_outline_color (ARDOUR_UI::config()->canvasvar_TimeStretchOutline.get());
|
||||
timestretch_rect->set_outline_color (ARDOUR_UI::config()->get_canvasvar_TimeStretchOutline());
|
||||
}
|
||||
//case cTimeStretchFill:
|
||||
if (timestretch_rect) {
|
||||
timestretch_rect->set_fill_color (ARDOUR_UI::config()->canvasvar_TimeStretchFill.get());
|
||||
timestretch_rect->set_fill_color (ARDOUR_UI::config()->get_canvasvar_TimeStretchFill());
|
||||
}
|
||||
|
||||
reset_meter();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue