13
0

add 10sec zoom action

This commit is contained in:
Ben Loftis 2016-01-16 21:30:00 -06:00 committed by Robin Gareus
parent c5b93e2a01
commit ce7f7e8e00
2 changed files with 3 additions and 0 deletions

View File

@ -385,6 +385,7 @@ OSC::register_callbacks()
REGISTER_CALLBACK (serv, "/ardour/fit_all_tracks", "", fit_all_tracks); REGISTER_CALLBACK (serv, "/ardour/fit_all_tracks", "", fit_all_tracks);
REGISTER_CALLBACK (serv, "/ardour/zoom_100_ms", "", zoom_100_ms); REGISTER_CALLBACK (serv, "/ardour/zoom_100_ms", "", zoom_100_ms);
REGISTER_CALLBACK (serv, "/ardour/zoom_1_sec", "", zoom_1_sec); REGISTER_CALLBACK (serv, "/ardour/zoom_1_sec", "", zoom_1_sec);
REGISTER_CALLBACK (serv, "/ardour/zoom_10_sec", "", zoom_10_sec);
REGISTER_CALLBACK (serv, "/ardour/zoom_1_min", "", zoom_1_min); REGISTER_CALLBACK (serv, "/ardour/zoom_1_min", "", zoom_1_min);
REGISTER_CALLBACK (serv, "/ardour/zoom_5_min", "", zoom_5_min); REGISTER_CALLBACK (serv, "/ardour/zoom_5_min", "", zoom_5_min);
REGISTER_CALLBACK (serv, "/ardour/zoom_10_min", "", zoom_10_min); REGISTER_CALLBACK (serv, "/ardour/zoom_10_min", "", zoom_10_min);
@ -448,6 +449,7 @@ OSC::register_callbacks()
REGISTER_CALLBACK (serv, "/ardour/pushbutton/fit_all_tracks", "f", fit_all_tracks); REGISTER_CALLBACK (serv, "/ardour/pushbutton/fit_all_tracks", "f", fit_all_tracks);
REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_100_ms", "f", zoom_100_ms); REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_100_ms", "f", zoom_100_ms);
REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_1_sec", "f", zoom_1_sec); REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_1_sec", "f", zoom_1_sec);
REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_10_sec", "f", zoom_10_sec);
REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_1_min", "f", zoom_1_min); REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_1_min", "f", zoom_1_min);
REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_5_min", "f", zoom_5_min); REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_5_min", "f", zoom_5_min);
REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_10_min", "f", zoom_10_min); REGISTER_CALLBACK (serv, "/ardour/pushbutton/zoom_10_min", "f", zoom_10_min);

View File

@ -215,6 +215,7 @@ class OSC : public ARDOUR::ControlProtocol, public AbstractUI<OSCUIRequest>
PATH_CALLBACK(fit_all_tracks); PATH_CALLBACK(fit_all_tracks);
PATH_CALLBACK(zoom_100_ms); PATH_CALLBACK(zoom_100_ms);
PATH_CALLBACK(zoom_1_sec); PATH_CALLBACK(zoom_1_sec);
PATH_CALLBACK(zoom_10_sec);
PATH_CALLBACK(zoom_1_min); PATH_CALLBACK(zoom_1_min);
PATH_CALLBACK(zoom_5_min); PATH_CALLBACK(zoom_5_min);
PATH_CALLBACK(zoom_10_min); PATH_CALLBACK(zoom_10_min);