diff options
author | Robin Gareus <robin@gareus.org> | 2019-09-03 04:31:35 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2019-09-03 04:31:35 +0200 |
commit | b340dc7282a3629929cd91223fe3505b2ad92c58 (patch) | |
tree | f55c77ca15fc393324a3d8a60536bf48abdb0f20 /gtk2_ardour/ardour_ui.h | |
parent | ab68ed413117ae6ae08a33d453f98f42857433dc (diff) |
Increase available Lua action script slots
* Reserve 32 dedicated editor actions for scripts
* Limit number of toolbar buttons
* Use dedicated binding-group for keyboard-shortcuts
* Tweak Preferences layout of toolbar pane
Diffstat (limited to 'gtk2_ardour/ardour_ui.h')
-rw-r--r-- | gtk2_ardour/ardour_ui.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.h b/gtk2_ardour/ardour_ui.h index 39c0546a7e..5425311e7c 100644 --- a/gtk2_ardour/ardour_ui.h +++ b/gtk2_ardour/ardour_ui.h @@ -178,7 +178,8 @@ namespace ArdourWidgets { class Tabbable; } -#define MAX_LUA_ACTION_SCRIPTS 12 +#define MAX_LUA_ACTION_SCRIPTS 32 +#define MAX_LUA_ACTION_BUTTONS 12 class ARDOUR_UI : public Gtkmm2ext::UI, public ARDOUR::SessionHandlePtr, public TransportControlProvider { @@ -527,7 +528,7 @@ private: ArdourWidgets::ArdourButton feedback_alert_button; ArdourWidgets::ArdourButton error_alert_button; - ArdourWidgets::ArdourButton action_script_call_btn[MAX_LUA_ACTION_SCRIPTS]; + ArdourWidgets::ArdourButton action_script_call_btn[MAX_LUA_ACTION_BUTTONS]; Gtk::Table action_script_table; Gtk::VBox alert_box; |