From 3e966771d042455a50a01e786af2af7b6f407395 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Fri, 28 May 2010 16:37:04 +0000 Subject: clean up item event handling in MidiRegionViews by removing unnecessary InteractiveItem inheritance, and keep child->parent event handling order consistent as much as possible git-svn-id: svn://localhost/ardour2/branches/3.0@7186 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/canvas-hit.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'gtk2_ardour/canvas-hit.h') diff --git a/gtk2_ardour/canvas-hit.h b/gtk2_ardour/canvas-hit.h index 387f7c9860..e6be076aa8 100644 --- a/gtk2_ardour/canvas-hit.h +++ b/gtk2_ardour/canvas-hit.h @@ -35,11 +35,8 @@ public: MidiRegionView& region, Group& group, double size, - const boost::shared_ptr note = boost::shared_ptr()) - - : Diamond(group, size), CanvasNoteEvent(region, this, note) - { - } + const boost::shared_ptr note = boost::shared_ptr(), + bool with_events = true); void show() { Diamond::show(); } void hide() { Diamond::hide(); } -- cgit v1.2.3