- layout->set_font_description (NAME_FONT);
- get_pixel_size (layout, width, height);
+ layout->set_font_description (NAME_FONT);
+ get_pixel_size (layout, width, height);
/* Config->get_show_name_highlight) == true:
Y_OFFSET is measured from bottom of the time axis view item.
/* Config->get_show_name_highlight) == true:
Y_OFFSET is measured from bottom of the time axis view item.
name_highlight = new ArdourCanvas::Rectangle (group);
CANVAS_DEBUG_NAME (name_highlight, string_compose ("name highlight for %1", get_item_name()));
name_highlight->set_data ("timeaxisviewitem", this);
name_highlight = new ArdourCanvas::Rectangle (group);
CANVAS_DEBUG_NAME (name_highlight, string_compose ("name highlight for %1", get_item_name()));
name_highlight->set_data ("timeaxisviewitem", this);
- name_highlight->set_outline_what (ArdourCanvas::Rectangle::TOP);
- name_highlight->set_outline_color (RGBA_TO_UINT (0,0,0,255)); // this should use a theme color
+ name_highlight->set_outline_what (ArdourCanvas::Rectangle::TOP);
+ name_highlight->set_outline_color (RGBA_TO_UINT (0,0,0,255)); // this should use a theme color
TimeAxisViewItem::get_fill_color () const
{
const std::string mod_name = (_dragging ? "dragging region" : fill_color_name);
TimeAxisViewItem::get_fill_color () const
{
const std::string mod_name = (_dragging ? "dragging region" : fill_color_name);
- ArdourCanvas::color_to_rgba (f, r, g, b, a);
+ color_to_rgba (f, r, g, b, a);
stops.push_back (std::make_pair (0.0, f));
/* now a darker version */
stops.push_back (std::make_pair (0.0, f));
/* now a darker version */
- ArdourCanvas::color_to_hsv (f, h, s, v);
+ color_to_hsv (f, h, s, v);
- ArdourCanvas::Color darker = ArdourCanvas::hsva_to_color (h, s, v, a);
+ Color darker = hsva_to_color (h, s, v, a);
stops.push_back (std::make_pair (1.0, darker));
frame->set_gradient (stops, true);
stops.push_back (std::make_pair (1.0, darker));
frame->set_gradient (stops, true);