summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-12 21:02:01 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-12 21:02:01 +0000
commit9196535878dfe2a6eb7bde909b0b2312ade8ad29 (patch)
tree96ff27d4f43a23fce93b30781e9957eb7ce457ab /gtk2_ardour/step_entry.h
parenteee61a9f9bf297d454e07bd2e2b9d3d1824b8272 (diff)
lotsa keybindings for nearly everything in the step editor
git-svn-id: svn://localhost/ardour2/branches/3.0@7610 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r--gtk2_ardour/step_entry.h39
1 files changed, 33 insertions, 6 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h
index 0fd7d6f121..c627b9575f 100644
--- a/gtk2_ardour/step_entry.h
+++ b/gtk2_ardour/step_entry.h
@@ -41,7 +41,7 @@ class StepEntry : public ArdourDialog
void note_off_event_handler (int note);
void rest_event_handler ();
- Evoral::MusicalTime note_length() const;
+ Evoral::MusicalTime note_length();
uint8_t note_velocity() const;
uint8_t note_channel() const;
@@ -119,11 +119,6 @@ class StepEntry : public ArdourDialog
void bank_click ();
void program_click ();
- void rest_click ();
- void grid_rest_click ();
- void sustain_click ();
- void chord_toggled ();
- void triplet_toggled ();
void beat_resync_click ();
void bar_resync_click ();
@@ -163,6 +158,38 @@ class StepEntry : public ArdourDialog
void load_bindings ();
Gtkmm2ext::Bindings bindings;
+
+ void inc_note_velocity ();
+ void dec_note_velocity ();
+ void next_note_velocity ();
+ void prev_note_velocity ();
+
+ void inc_note_length ();
+ void dec_note_length ();
+ void next_note_length ();
+ void prev_note_length ();
+
+ void next_octave ();
+ void prev_octave ();
+
+ void octave_n (int n);
+ void octave_0 () { octave_n (0); }
+ void octave_1 () { octave_n (1); }
+ void octave_2 () { octave_n (2); }
+ void octave_3 () { octave_n (3); }
+ void octave_4 () { octave_n (4); }
+ void octave_5 () { octave_n (5); }
+ void octave_6 () { octave_n (6); }
+ void octave_7 () { octave_n (7); }
+ void octave_8 () { octave_n (8); }
+ void octave_9 () { octave_n (9); }
+ void octave_10 () { octave_n (10); }
+
+ void toggle_dotted();
+ void toggle_triplet();
+ void toggle_chord();
+
+ void do_sustain ();
};
#endif /* __gtk2_ardour_step_entry_h__ */