summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 9950c03f86..f823de2e9a 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -372,6 +372,11 @@ class MidiRegionView : public RegionView
ArdourCanvas::CanvasNote* _ghost_note;
double _last_ghost_x;
double _last_ghost_y;
+ double _drag_start_x;
+ double _drag_start_y;
+ double _last_x;
+ double _last_y;
+ ArdourCanvas::SimpleRect* _drag_rect;
MouseState _mouse_state;
int _pressed_button;
@@ -416,6 +421,15 @@ class MidiRegionView : public RegionView
PBD::ScopedConnection snap_changed_connection;
void show_verbose_canvas_cursor (boost::shared_ptr<NoteType>) const;
+
+ bool motion (GdkEventMotion*);
+ bool scroll (GdkEventScroll*);
+ bool key_press (GdkEventKey*);
+ bool key_release (GdkEventKey*);
+ bool button_press (GdkEventButton*);
+ bool button_release (GdkEventButton*);
+ bool enter_notify (GdkEventCrossing*);
+ bool leave_notify (GdkEventCrossing*);
};