RouteTimeAxisView::~RouteTimeAxisView ()
{
- CatchDeletion (this);
-
for (list<ProcessorAutomationInfo*>::iterator i = processor_automation.begin(); i != processor_automation.end(); ++i) {
delete *i;
}
if (timestretch_rect == 0) {
timestretch_rect = new ArdourCanvas::Rectangle (canvas_display ());
- timestretch_rect->set_fill_color (ARDOUR_UI::config()->get_TimeStretchFill());
- timestretch_rect->set_outline_color (ARDOUR_UI::config()->get_TimeStretchOutline());
+ timestretch_rect->set_fill_color (ARDOUR_UI::config()->color ("time stretch fill"));
+ timestretch_rect->set_outline_color (ARDOUR_UI::config()->color ("time stretch outline"));
}
timestretch_rect->show ();
{
//case cTimeStretchOutline:
if (timestretch_rect) {
- timestretch_rect->set_outline_color (ARDOUR_UI::config()->get_TimeStretchOutline());
+ timestretch_rect->set_outline_color (ARDOUR_UI::config()->color ("time stretch outline"));
}
//case cTimeStretchFill:
if (timestretch_rect) {
- timestretch_rect->set_fill_color (ARDOUR_UI::config()->get_TimeStretchFill());
+ timestretch_rect->set_fill_color (ARDOUR_UI::config()->color ("time stretch fill"));
}
reset_meter();