mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-10 16:46:35 +01:00
add goto_zero() function for BasicUI
This commit is contained in:
parent
7ae380c7f6
commit
2e3721ecf4
2 changed files with 7 additions and 0 deletions
|
|
@ -99,6 +99,12 @@ BasicUI::goto_start ()
|
||||||
session->goto_start ();
|
session->goto_start ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
BasicUI::goto_zero ()
|
||||||
|
{
|
||||||
|
session->request_locate (0);
|
||||||
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
BasicUI::goto_end ()
|
BasicUI::goto_end ()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -52,6 +52,7 @@ class LIBCONTROLCP_API BasicUI {
|
||||||
void loop_location (framepos_t start, framepos_t end);
|
void loop_location (framepos_t start, framepos_t end);
|
||||||
void access_action ( std::string action_path );
|
void access_action ( std::string action_path );
|
||||||
static PBD::Signal2<void,std::string,std::string> AccessAction;
|
static PBD::Signal2<void,std::string,std::string> AccessAction;
|
||||||
|
void goto_zero ();
|
||||||
void goto_start ();
|
void goto_start ();
|
||||||
void goto_end ();
|
void goto_end ();
|
||||||
void rewind ();
|
void rewind ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue