diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-11 21:56:44 -0500 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2015-02-11 21:59:38 -0500 |
commit | 11cfdd4c6dcee2eb4c7fae8743576b42ffde246b (patch) | |
tree | 132cb216c9bd4b9f0ddb289e5da0d8cb15ee531e /gtk2_ardour/time_axis_view_item.cc | |
parent | a992a2e6e07c1eb9465b2437aebe7921058f428b (diff) |
remove use of TimeRectangle
Diffstat (limited to 'gtk2_ardour/time_axis_view_item.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view_item.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/time_axis_view_item.cc b/gtk2_ardour/time_axis_view_item.cc index 5489129f6e..9a0e37708d 100644 --- a/gtk2_ardour/time_axis_view_item.cc +++ b/gtk2_ardour/time_axis_view_item.cc @@ -191,7 +191,7 @@ TimeAxisViewItem::init (ArdourCanvas::Item* parent, double fpp, uint32_t base_co } if (visibility & ShowFrame) { - frame = new ArdourCanvas::TimeRectangle (group, + frame = new ArdourCanvas::Rectangle (group, ArdourCanvas::Rect (0.0, 0.0, trackview.editor().sample_to_pixel(duration), trackview.current_height())); @@ -513,7 +513,7 @@ TimeAxisViewItem::set_selected(bool yn) if (_selected && frame) { if (!selection_frame) { - selection_frame = new ArdourCanvas::TimeRectangle (group); + selection_frame = new ArdourCanvas::Rectangle (group); selection_frame->set_fill (false); selection_frame->set_outline_color (ARDOUR_UI::config()->color ("selected time axis frame")); selection_frame->set_ignore_events (true); @@ -842,7 +842,7 @@ TimeAxisViewItem::reset_width_dependent_items (double pixel_width) if (show_vestigial) { if (!vestigial_frame) { - vestigial_frame = new ArdourCanvas::TimeRectangle (group, ArdourCanvas::Rect (0.0, 0.0, 2.0, trackview.current_height())); + vestigial_frame = new ArdourCanvas::Rectangle (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 ("vestigial frame")); vestigial_frame->set_fill_color (ARDOUR_UI::config()->color ("vestigial frame")); |