diff options
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index 87e0cab3f8..71f8fb3dfc 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -201,9 +201,9 @@ TimeAxisViewItem::init (ArdourCanvas::Item* parent, double fpp, uint32_t base_co CANVAS_DEBUG_NAME (frame, string_compose ("frame for %1", get_item_name())); if (_recregion) { - frame->set_outline_color (ARDOUR_UI::config()->color ("RecordingRect")); + frame->set_outline_color (ARDOUR_UI::config()->color ("recording rect")); } else { - frame->set_outline_color (ARDOUR_UI::config()->color ("TimeAxisFrame")); + frame->set_outline_color (ARDOUR_UI::config()->color ("time axis frame")); } } @@ -537,7 +537,7 @@ TimeAxisViewItem::set_selected(bool yn) if (!selection_frame) { selection_frame = new ArdourCanvas::TimeRectangle (group); selection_frame->set_fill (false); - selection_frame->set_outline_color (ARDOUR_UI::config()->color ("SelectedTimeAxisFrame")); + selection_frame->set_outline_color (ARDOUR_UI::config()->color ("selected time axis frame")); selection_frame->set_ignore_events (true); } selection_frame->set (frame->get().shrink (1.0)); @@ -729,7 +729,7 @@ TimeAxisViewItem::fill_opacity () const return 130; } - uint32_t col = ARDOUR_UI::config()->color ("FrameBase"); + uint32_t col = ARDOUR_UI::config()->color ("region base"); return UINT_RGBA_A (col); } @@ -743,7 +743,7 @@ TimeAxisViewItem::get_fill_color () const if (_selected) { - f = ARDOUR_UI::config()->color ("SelectedFrameBase"); + f = ARDOUR_UI::config()->color ("selected frame base"); if (o == 0) { /* some condition of this item has set fill opacity to @@ -756,10 +756,10 @@ TimeAxisViewItem::get_fill_color () const } else { if (_recregion) { - f = ARDOUR_UI::config()->color ("RecordingRect"); + f = ARDOUR_UI::config()->color ("recording rect"); } else { if ((!Config->get_show_name_highlight() || high_enough_for_name) && !ARDOUR_UI::config()->get_color_regions_using_track_color()) { - f = ARDOUR_UI::config()->color ("FrameBase"); + f = ARDOUR_UI::config()->color ("region base"); } else { f = fill_color; } @@ -783,7 +783,7 @@ TimeAxisViewItem::set_frame_color() set_frame_gradient (); if (!_recregion) { - uint32_t f = ARDOUR_UI::config()->color ("TimeAxisFrame"); + uint32_t f = ARDOUR_UI::config()->color ("time axis frame"); if (!rect_visible) { /* make the frame outline be visible but rather transparent */ @@ -910,8 +910,8 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width) if (!vestigial_frame) { vestigial_frame = new ArdourCanvas::TimeRectangle (group, ArdourCanvas::Rect (0.0, 0.0, 2.0, trackview.current_height())); CANVAS_DEBUG_NAME (vestigial_frame, string_compose ("vestigial frame for %1", get_item_name())); - vestigial_frame->set_outline_color (ARDOUR_UI::config()->color ("VestigialFrame")); - vestigial_frame->set_fill_color (ARDOUR_UI::config()->color ("VestigialFrame")); + vestigial_frame->set_outline_color (ARDOUR_UI::config()->color ("vestigial frame")); + vestigial_frame->set_fill_color (ARDOUR_UI::config()->color ("vestigial frame")); vestigial_frame->set_outline_what (ArdourCanvas::Rectangle::What (ArdourCanvas::Rectangle::LEFT|ArdourCanvas::Rectangle::RIGHT)); } |