_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
_item->set_fill (true);
- _item->set_fill_color (ARDOUR_UI::config()->get_ControlPointFill());
- _item->set_outline_color (ARDOUR_UI::config()->get_ControlPointOutline());
+ _item->set_fill_color (ARDOUR_UI::config()->color ("ControlPointFill"));
+ _item->set_outline_color (ARDOUR_UI::config()->color ("ControlPointOutline"));
_item->set_data ("control_point", this);
_item->Event.connect (sigc::mem_fun (this, &ControlPoint::event_handler));
_item = new ArdourCanvas::Rectangle (&_line.canvas_group());
_item->set_fill (true);
- _item->set_outline_color (ARDOUR_UI::config()->get_ControlPointOutline());
+ _item->set_outline_color (ARDOUR_UI::config()->color ("ControlPointOutline"));
/* NOTE: no event handling in copied ControlPoints */
uint32_t color = 0;
if (_selected) {
- color = ARDOUR_UI::config()->get_ControlPointSelected();
+ color = ARDOUR_UI::config()->color ("ControlPointSelected");
} else {
- color = ARDOUR_UI::config()->get_ControlPointOutline();
+ color = ARDOUR_UI::config()->color ("ControlPointOutline");
}
_item->set_outline_color (color);
- _item->set_fill_color (ARDOUR_UI::config()->get_ControlPointFill());
+ _item->set_fill_color (ARDOUR_UI::config()->color ("ControlPointFill"));
}
void