summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-03 19:22:57 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-03 19:22:57 +0000
commitb1f5a6a68d0b62a61684b2c011a97de825256a59 (patch)
tree856af95d148d2c0b395fac1d3483159d54ee5253 /gtk2_ardour/step_entry.h
parentbd69ec8b25e825e0bf6399e19e34e553189a0c28 (diff)
a bunch of tweaks for the step entry process (computer keyboard input now works, for example)
git-svn-id: svn://localhost/ardour2/branches/3.0@7532 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r--gtk2_ardour/step_entry.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h
index d57ac3fadf..d65cbe17db 100644
--- a/gtk2_ardour/step_entry.h
+++ b/gtk2_ardour/step_entry.h
@@ -38,7 +38,8 @@ class StepEntry : public ArdourDialog
~StepEntry ();
void note_off_event_handler (int note);
-
+ void rest_event_handler ();
+
private:
Gtk::VBox packer;
Gtk::HBox upper_box;
@@ -81,6 +82,10 @@ class StepEntry : public ArdourDialog
void sustain_click ();
void chord_toggled ();
void triplet_toggled ();
+
+ bool piano_enter_notify_event (GdkEventCrossing *ev);
+ bool on_key_release_event (GdkEventKey*);
+ bool on_key_press_event (GdkEventKey*);
};
#endif /* __gtk2_ardour_step_entry_h__ */