83770f839b
minor optimization when search for actions
2016-06-07 19:25:11 -04:00
67e19c177f
radically change Keyboard/Binding API design to disconnect Gtk::Action lookup from binding definition
...
We need this because we need binding information/objects before all
Actions have been defined.
2016-02-22 15:31:24 -05:00
d0fc12bd22
remove all action-registering API from Gtkmm2ext::ActionManager
2016-02-22 15:31:23 -05:00
22b07e0233
NOOP, remove trailing tabs/whitespace.
2015-10-05 16:17:49 +02:00
4dc63966f0
globally remove all trailing whitespace from ardour code base.
...
Paul Davis was responsible for introducing almost all of this.
2015-10-04 14:51:05 -04:00
2363fb71e3
hand-merge libs/gtkmm2ext part of f49d31a82 from Tracks; provides a way to disable/re-enable OS X main menu
2015-06-29 14:16:43 -04:00
6b3a8915f3
add abort() to non-reached code
...
This cleans up a lot of false-positives in static analysis
and also helps compilers to optimize code paths in general.
(tagging the fatal stingstream operator as ‘noreturn’ is
far less trivial)
2014-11-14 11:30:08 +01:00
08b1a9d520
add ActionManager::enable_accelerators(), which takes all known Actions and registers them via the UIManager as accelerators.
...
This makes them available for use with key bindings/shortcuts/accelerators even if they have no proxy widget
2014-07-04 07:48:41 -04:00
f147846863
add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
...
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.
2014-06-24 09:56:16 -04:00
c1a25550d1
'libs/gtkmm2ext' - Use 'std::vector' instead of dynamically sized arrays (required to be buildable with MSVC)
2013-08-26 17:28:03 +01:00
Carl Hetherington
f13119d2e1
Slightly grubby hack to fix up the state of the Window->Mixer menu item when the mixer is opened on starting Ardour ( #4808 ).
...
git-svn-id: svn://localhost/ardour2/branches/3.0@12599 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-07 21:51:25 +00:00
6bd6f58dee
MCP: somewhat functional (?) full keybinding GUI
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11999 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 21:36:48 +00:00
b9ff443085
MCP: various work on the button binding GUI
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 20:41:31 +00:00
02a1879450
add back semantically-different version of previously removed ::get_action() function
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11995 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 16:07:11 +00:00
4cca768533
remove unusued ActionManager::get_action() variant
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11994 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-17 16:01:29 +00:00
f56bbe2799
fix inconsistent display on selection clocks when in join-object-range mode, and fix restore of that mode from session state via new ActionManager::set_toggle_action()
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11366 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27 19:05:03 +00:00
035074d1b7
provide ActionManager::do_action() as a way to trigger any action item as if the user has asked for it via some UI proxy
...
git-svn-id: svn://localhost/ardour2/branches/3.0@11332 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-24 16:19:38 +00:00
b0a2eb359d
use the correct display for key accelerators
...
git-svn-id: svn://localhost/ardour2/branches/3.0@10893 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-12-04 22:01:59 +00:00
Carl Hetherington
2304a51b85
Use an action's tooltip in the key editor if its label is empty; add some tooltips so that Solo / Monitor actions are not blank in the key editor.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8909 d708f5d6-7413-0410-9779-e7cbd77b26cf
2011-02-20 17:29:52 +00:00
Carl Hetherington
99c2d589d1
Don't crash if get_action() is called before the UI manager is created. Sort-of fix for #3571 .
...
git-svn-id: svn://localhost/ardour2/branches/3.0@8199 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-12-06 13:59:59 +00:00
Carl Hetherington
2ba936f0b3
Fix port matrix menu checkbox when the window is closed. Make the port matrix origin the bottom left when tabs are on left and bottom. Don't shrink the port matrix when auto-resizing it.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7673 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-24 13:28:27 +00:00
6b19aee3b5
split out sndfile manager code into its own file; move a couple of utility functions into gtkmm2ext ; add knob PNG generating tool ; break appearance of monitor section for now
...
git-svn-id: svn://localhost/ardour2/branches/3.0@7160 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-25 16:45:21 +00:00
0fe48475db
switch ActionManager to a namespace; move generic part into libgtkmm2ext
...
git-svn-id: svn://localhost/ardour2/branches/3.0@6285 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-12-04 20:52:04 +00:00