mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 15:08:17 +01:00
faderport: make loop, prev marker, next marker and marker buttons do stuff
This commit is contained in:
parent
35577f439d
commit
e7a3a5ab9c
1 changed files with 7 additions and 0 deletions
|
|
@ -140,6 +140,13 @@ FaderPort::FaderPort (Session& s)
|
|||
/* See comments about Stop above .. */
|
||||
button_info (Rewind).set_action (boost::bind (&BasicUI::rewind, this), true, RewindDown);
|
||||
button_info (Rewind).set_action (boost::bind (&BasicUI::goto_start, this), true, ButtonState (RewindDown|StopDown));
|
||||
|
||||
button_info (Loop).set_action (boost::bind (&BasicUI::loop_toggle, this), true);
|
||||
button_info (Loop).set_action (boost::bind (&BasicUI::add_marker, this, string()), true, ShiftDown);
|
||||
|
||||
button_info (Punch).set_action (boost::bind (&BasicUI::prev_marker, this), true, ShiftDown);
|
||||
button_info (User).set_action (boost::bind (&BasicUI::next_marker, this), true, ShiftDown);
|
||||
|
||||
}
|
||||
|
||||
FaderPort::~FaderPort ()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue