diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-22 11:41:05 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2014-06-22 11:41:05 -0400 |
commit | 6a5d805b383cd71bb1d0984964439c5ec08e9270 (patch) | |
tree | d551b417d1dbc026376207a94b4933a0b824797b /gtk2_ardour/midi_region_view.h | |
parent | f0933bf00551ce998ca441aa5611d27702f6e590 (diff) |
more canvas refactoring.
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 213d97795e..3fd6625ce9 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -67,7 +67,7 @@ public: typedef Evoral::Note<Evoral::MusicalTime> NoteType; typedef Evoral::Sequence<Evoral::MusicalTime>::Notes Notes; - MidiRegionView (ArdourCanvas::Layout *, + MidiRegionView (ArdourCanvas::Container *, RouteTimeAxisView&, boost::shared_ptr<ARDOUR::MidiRegion>, double initial_samples_per_pixel, @@ -309,7 +309,7 @@ protected: /** Allows derived types to specify their visibility requirements * to the TimeAxisViewItem parent class. */ - MidiRegionView (ArdourCanvas::Layout *, + MidiRegionView (ArdourCanvas::Container *, RouteTimeAxisView&, boost::shared_ptr<ARDOUR::MidiRegion>, double samples_per_pixel, @@ -387,7 +387,7 @@ private: PatchChanges _patch_changes; SysExes _sys_exes; Note** _active_notes; - ArdourCanvas::Layout* _note_group; + ArdourCanvas::Container* _note_group; ARDOUR::MidiModel::NoteDiffCommand* _note_diff_command; Note* _ghost_note; double _last_ghost_x; @@ -401,7 +401,7 @@ private: /** A group used to temporarily reparent _note_group to during start trims, so * that the notes don't move with the parent region view. */ - ArdourCanvas::Layout* _temporary_note_group; + ArdourCanvas::Container* _temporary_note_group; MouseState _mouse_state; int _pressed_button; |