diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-26 11:11:47 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-03-26 11:11:47 +0000 |
commit | 6554200e66cc243e92818e6e74d4647d1c34ae9c (patch) | |
tree | 6caec38b29a11056007795f509951bb283407d9d /gtk2_ardour/canvas-note.h | |
parent | 022c45361e77d5848f4a10abbe6a2cd3577db42c (diff) |
hans' patches for MIDI note resizing++
git-svn-id: svn://localhost/ardour2/branches/3.0@3184 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-note.h')
-rw-r--r-- | gtk2_ardour/canvas-note.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gtk2_ardour/canvas-note.h b/gtk2_ardour/canvas-note.h index d6c1d95553..0a1aed8021 100644 --- a/gtk2_ardour/canvas-note.h +++ b/gtk2_ardour/canvas-note.h @@ -55,18 +55,17 @@ public: NOTE_OFF }; - enum Mouse2State { + enum NoteState { None, RelativeResize, AbsoluteResize }; protected: - Mouse2State _mouse2_state; + NoteState _note_state; private: - // single click resizing with mouse-2 - void resize_note(double pressed_x, double event_x, double middle_point); + }; } // namespace Gnome |