diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-06 19:02:21 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-06 19:02:21 +0000 |
commit | c333b19422c3cf0964ea09f5133b3222d85dd8eb (patch) | |
tree | 06105a4ac98677f50d40d6f406e9f7f4ec74693e /gtk2_ardour/step_entry.h | |
parent | 3f0f409e0648e230b84e294429dc0603502996ae (diff) |
start using new keybinding stuff in step editor dialog
git-svn-id: svn://localhost/ardour2/branches/3.0@7555 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r-- | gtk2_ardour/step_entry.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h index df1fd69026..7b1fd89f72 100644 --- a/gtk2_ardour/step_entry.h +++ b/gtk2_ardour/step_entry.h @@ -25,6 +25,7 @@ #include <gtkmm/spinbutton.h> #include <gtkmm/box.h> #include <gtkmm/adjustment.h> +#include <gtkmm2ext/bindings.h> #include "ardour_dialog.h" #include "gtk_pianokeyboard.h" @@ -102,6 +103,44 @@ class StepEntry : public ArdourDialog bool on_key_press_event (GdkEventKey*); void on_show (); + + /* actions */ + + void register_actions (); + Gtkmm2ext::ActionMap myactions; + + void insert_a (); + void insert_asharp (); + void insert_b (); + void insert_bsharp (); + void insert_c (); + void insert_csharp (); + void insert_d (); + void insert_dsharp (); + void insert_e (); + void insert_f (); + void insert_fsharp (); + void insert_g (); + + void note_length_whole (); + void note_length_half (); + void note_length_quarter (); + void note_length_eighth (); + void note_length_sixteenth (); + void note_length_thirtysecond (); + void note_length_sixtyfourth (); + + void note_velocity_ppp (); + void note_velocity_pp (); + void note_velocity_p (); + void note_velocity_mp (); + void note_velocity_mf (); + void note_velocity_f (); + void note_velocity_ff (); + void note_velocity_fff (); + + void load_bindings (); + Gtkmm2ext::Bindings bindings; }; #endif /* __gtk2_ardour_step_entry_h__ */ |