mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
move zoom in/out actions into shared "Editing" group
This commit is contained in:
parent
7e08e560cc
commit
5b112e489b
12 changed files with 26 additions and 16 deletions
|
|
@ -760,8 +760,8 @@ void BasicUI::zoom_1_min() { access_action("Editor/zoom_1_min"); }
|
|||
void BasicUI::zoom_5_min() { access_action("Editor/zoom_5_min"); }
|
||||
void BasicUI::zoom_10_min() { access_action("Editor/zoom_10_min"); }
|
||||
void BasicUI::zoom_to_session() { access_action("Editor/zoom-to-session"); }
|
||||
void BasicUI::temporal_zoom_in() { access_action("Editor/temporal-zoom-in"); }
|
||||
void BasicUI::temporal_zoom_out() { access_action("Editor/temporal-zoom-out"); }
|
||||
void BasicUI::temporal_zoom_in() { access_action("Editing/temporal-zoom-in"); }
|
||||
void BasicUI::temporal_zoom_out() { access_action("Editing/temporal-zoom-out"); }
|
||||
|
||||
void BasicUI::scroll_up_1_track() { access_action("Editor/step-tracks-up"); }
|
||||
void BasicUI::scroll_dn_1_track() { access_action("Editor/step-tracks-down"); }
|
||||
|
|
|
|||
|
|
@ -392,8 +392,8 @@ FPGUI::build_proj_action_combo (Gtk::ComboBox& cb, FaderPort::ButtonState bs)
|
|||
actions.push_back (make_pair (string (_("Zoom to Session")), string (X_("Editor/zoom-to-session"))));
|
||||
|
||||
#if 0
|
||||
actions.push_back (make_pair (string (_("Zoom In")), string (X_("Editor/temporal-zoom-in"))));
|
||||
actions.push_back (make_pair (string (_("Zoom Out")), string (X_("Editor/temporal-zoom-out"))));
|
||||
actions.push_back (make_pair (string (_("Zoom In")), string (X_("Editing/temporal-zoom-in"))));
|
||||
actions.push_back (make_pair (string (_("Zoom Out")), string (X_("Editing/temporal-zoom-out"))));
|
||||
#endif
|
||||
|
||||
build_action_combo (cb, actions, FaderPort::Proj, bs);
|
||||
|
|
|
|||
|
|
@ -348,9 +348,9 @@ Maschine2::encoder_master (int delta)
|
|||
case MST_NONE:
|
||||
if (_ctrl->button (M2Contols::BtnShift, M2Contols::ModNone)->active ()) {
|
||||
if (delta > 0) {
|
||||
AccessAction ("Editor", "temporal-zoom-in");
|
||||
AccessAction ("Editing", "temporal-zoom-in");
|
||||
} else {
|
||||
AccessAction ("Editor", "temporal-zoom-out");
|
||||
AccessAction ("Editing", "temporal-zoom-out");
|
||||
}
|
||||
} else {
|
||||
if (delta > 0) {
|
||||
|
|
|
|||
|
|
@ -417,12 +417,12 @@ WiimoteControlProtocol::wiimote_callback (int mesg_count, union cwiid_mesg mesg[
|
|||
|
||||
// + = zoom in
|
||||
if (b & CWIID_BTN_PLUS) {
|
||||
access_action ("Editor/temporal-zoom-in");
|
||||
access_action ("Editing/temporal-zoom-in");
|
||||
}
|
||||
|
||||
// - = zoom out
|
||||
if (b & CWIID_BTN_MINUS) {
|
||||
access_action ("Editor/temporal-zoom-out");
|
||||
access_action ("Editing/temporal-zoom-out");
|
||||
}
|
||||
|
||||
// home = no-op
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue