diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2008-04-29 07:28:24 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2008-04-29 07:28:24 +0000 |
commit | 6d319e2132270b89efc47820e707840eb49a2cfe (patch) | |
tree | c1ce4a3b8f98b2f829da4b1e929f8181aa5c1a23 /gtk2_ardour/canvas-hit.h | |
parent | f41f334be69f3cc95bf49c90dd49f86b46ce32e4 (diff) |
* first prototype of program changes UI show up correctly (see http://www.flickr.com/photos/24012642@N02/2451596190/)
git-svn-id: svn://localhost/ardour2/branches/3.0@3293 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-hit.h')
-rw-r--r-- | gtk2_ardour/canvas-hit.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/canvas-hit.h b/gtk2_ardour/canvas-hit.h index e9be381ef2..ffa1764003 100644 --- a/gtk2_ardour/canvas-hit.h +++ b/gtk2_ardour/canvas-hit.h @@ -27,7 +27,7 @@ namespace Gnome { namespace Canvas { -class CanvasHit : public Diamond, public CanvasMidiEvent { +class CanvasHit : public Diamond, public CanvasNoteEvent { public: CanvasHit( MidiRegionView& region, @@ -47,7 +47,7 @@ public: void set_outline_color(uint32_t c) { property_outline_color_rgba() = c; } void set_fill_color(uint32_t c) { property_fill_color_rgba() = c; } - bool on_event(GdkEvent* ev) { return CanvasMidiEvent::on_event(ev); } + bool on_event(GdkEvent* ev) { return CanvasNoteEvent::on_event(ev); } }; } // namespace Gnome |