summaryrefslogtreecommitdiff
path: root/gtk2_ardour/step_entry.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2010-08-04 17:04:20 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2010-08-04 17:04:20 +0000
commit46eaff772d6ea28e97c31b16859085ca41c11a45 (patch)
treebf9f3c767d8314a54f547bf0d0c9a91f92995dcf /gtk2_ardour/step_entry.h
parentc831ea516791f171d2e5910baf7100af5378ee95 (diff)
endless further tweaks to step editor; stop stealing the "r" key inside MidiRegionView key handling
git-svn-id: svn://localhost/ardour2/branches/3.0@7537 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/step_entry.h')
-rw-r--r--gtk2_ardour/step_entry.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/gtk2_ardour/step_entry.h b/gtk2_ardour/step_entry.h
index d65cbe17db..44f8072a83 100644
--- a/gtk2_ardour/step_entry.h
+++ b/gtk2_ardour/step_entry.h
@@ -40,6 +40,10 @@ class StepEntry : public ArdourDialog
void note_off_event_handler (int note);
void rest_event_handler ();
+ Evoral::MusicalTime note_length() const;
+ uint8_t note_velocity() const;
+ uint8_t note_channel() const;
+
private:
Gtk::VBox packer;
Gtk::HBox upper_box;
@@ -49,9 +53,12 @@ class StepEntry : public ArdourDialog
Gtk::ToggleButton chord_button;
Gtk::ToggleButton triplet_button;
Gtk::ToggleButton dot_button;
+ Gtk::ToggleButton restart_button;
Gtk::Button sustain_button;
Gtk::Button rest_button;
+ Gtk::Button grid_rest_button;
+ Gtk::VBox rest_box;
Gtk::RadioButton length_1_button;
Gtk::RadioButton length_2_button;
@@ -79,6 +86,7 @@ class StepEntry : public ArdourDialog
MidiTimeAxisView* _mtv;
void rest_click ();
+ void grid_rest_click ();
void sustain_click ();
void chord_toggled ();
void triplet_toggled ();
@@ -86,6 +94,8 @@ class StepEntry : public ArdourDialog
bool piano_enter_notify_event (GdkEventCrossing *ev);
bool on_key_release_event (GdkEventKey*);
bool on_key_press_event (GdkEventKey*);
+
+ void on_show ();
};
#endif /* __gtk2_ardour_step_entry_h__ */