summaryrefslogtreecommitdiff
path: root/gtk2_ardour/canvas-note-event.h
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2008-09-19 00:47:49 +0000
committerDavid Robillard <d@drobilla.net>2008-09-19 00:47:49 +0000
commitd357eca668044badcb4bab318e2e74cfffa9a0b0 (patch)
treeeab9bf33b194f9e37c20f84375e5caa748ee994a /gtk2_ardour/canvas-note-event.h
parent3d976c5b727e4d55ce439b1d7c055a814477fa1a (diff)
Factor out sequencing related things into an independant new library: "evoral".
Anything related to the storage of events/values over a range of time lives in evoral. This includes MidiModel (Evoral::Sequence) and automation data (AutomationList (Evoral::ControlList), Automatable (Evoral::ControlSet), etc). libs/evoral synced with http://svn.drobilla.net/lad/trunk/evoral r1511. git-svn-id: svn://localhost/ardour2/branches/3.0@3754 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note-event.h')
-rw-r--r--gtk2_ardour/canvas-note-event.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/canvas-note-event.h b/gtk2_ardour/canvas-note-event.h
index 776d89160d..9e48db8c24 100644
--- a/gtk2_ardour/canvas-note-event.h
+++ b/gtk2_ardour/canvas-note-event.h
@@ -49,7 +49,7 @@ public:
CanvasNoteEvent(
MidiRegionView& region,
Item* item,
- const boost::shared_ptr<ARDOUR::Note> note = boost::shared_ptr<ARDOUR::Note>());
+ const boost::shared_ptr<Evoral::Note> note = boost::shared_ptr<Evoral::Note>());
virtual ~CanvasNoteEvent();
@@ -81,7 +81,7 @@ public:
virtual double x2() = 0;
virtual double y2() = 0;
- const boost::shared_ptr<ARDOUR::Note> note() const { return _note; }
+ const boost::shared_ptr<Evoral::Note> note() const { return _note; }
protected:
enum State { None, Pressed, Dragging };
@@ -91,7 +91,7 @@ protected:
Text* _text;
Widget* _channel_selector_widget;
State _state;
- const boost::shared_ptr<ARDOUR::Note> _note;
+ const boost::shared_ptr<Evoral::Note> _note;
bool _own_note;
bool _selected;
};