add beat-resync button to step editor (move insertion point to next whole beat from region start)

git-svn-id: svn://localhost/ardour2/branches/3.0@7541 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-08-04 20:28:10 +00:00
parent 8588225b31
commit 38f2336b45
4 changed files with 43 additions and 13 deletions

View file

@ -55,6 +55,10 @@ class StepEntry : public ArdourDialog
Gtk::ToggleButton dot_button;
Gtk::ToggleButton restart_button;
Gtk::VBox resync_box;
Gtk::Button beat_resync_button;
Gtk::Button bar_resync_button;
Gtk::Button sustain_button;
Gtk::Button rest_button;
Gtk::Button grid_rest_button;
@ -90,6 +94,8 @@ class StepEntry : public ArdourDialog
void sustain_click ();
void chord_toggled ();
void triplet_toggled ();
void beat_resync_click ();
void bar_resync_click ();
bool piano_enter_notify_event (GdkEventCrossing *ev);
bool on_key_release_event (GdkEventKey*);