diff options
author | Doug McLain <doug@nostar.net> | 2007-06-29 17:13:09 +0000 |
---|---|---|
committer | Doug McLain <doug@nostar.net> | 2007-06-29 17:13:09 +0000 |
commit | 4c000c13eecf4cb3d63be304fc0056ddaa35bb21 (patch) | |
tree | 257f65636491f137abb7d3282661080bc5dfce8b /gtk2_ardour/route_time_axis.cc | |
parent | a67dcdc267bc133cab63e0e6355edbfa5dacb6ab (diff) |
Moved canvas colors and theme file selection into new ui specific config system
git-svn-id: svn://localhost/ardour2/trunk@2086 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r-- | gtk2_ardour/route_time_axis.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc index dff6630213..4d18b63624 100644 --- a/gtk2_ardour/route_time_axis.cc +++ b/gtk2_ardour/route_time_axis.cc @@ -670,8 +670,8 @@ RouteTimeAxisView::show_timestretch (nframes_t start, nframes_t end) timestretch_rect->property_y1() = 0.0; timestretch_rect->property_x2() = 0.0; timestretch_rect->property_y2() = 0.0; - timestretch_rect->property_fill_color_rgba() = Config->canvasvar_TimeStretchFill.get(); - timestretch_rect->property_outline_color_rgba() = Config->canvasvar_TimeStretchOutline.get(); + timestretch_rect->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_TimeStretchFill.get(); + timestretch_rect->property_outline_color_rgba() = ARDOUR_UI::config()->canvasvar_TimeStretchOutline.get(); } timestretch_rect->show (); @@ -1468,11 +1468,11 @@ RouteTimeAxisView::color_handler () { //case cTimeStretchOutline: if (timestretch_rect) { - timestretch_rect->property_outline_color_rgba() = Config->canvasvar_TimeStretchOutline.get(); + timestretch_rect->property_outline_color_rgba() = ARDOUR_UI::config()->canvasvar_TimeStretchOutline.get(); } //case cTimeStretchFill: if (timestretch_rect) { - timestretch_rect->property_fill_color_rgba() = Config->canvasvar_TimeStretchFill.get(); + timestretch_rect->property_fill_color_rgba() = ARDOUR_UI::config()->canvasvar_TimeStretchFill.get(); } } @@ -1725,7 +1725,7 @@ RouteTimeAxisView::add_processor_automation_curve (boost::shared_ptr<Processor> *processor, *ran->view, *ran->view->canvas_display, processor->control (what, true)->list()); - ral->set_line_color (Config->canvasvar_ProcessorAutomationLine.get()); + ral->set_line_color (ARDOUR_UI::config()->canvasvar_ProcessorAutomationLine.get()); ral->queue_reset (); ran->view->add_line (*ral); |