2c6799f247
changes to support new key bindings editor design
2016-02-22 15:31:23 -05:00
40cdb01832
clean up registration of toggle window actions
2016-02-22 15:31:23 -05:00
e35e26fa9b
redesign key editor to work with tabbed notebook, one tab per set of bindings
2016-02-22 15:31:23 -05:00
0f748492b3
fix double initialization of key bindings editor AND rename video import menu item correctly
2016-02-22 15:31:23 -05:00
a13a8da8ac
switch all action registration/binding code over to new API.
...
This removes the ability to change bindings via menus.
Still to come: saving modified bindings, and reworking the key editor
2016-02-22 15:31:23 -05:00
f48053b1fb
remove unused file
2016-02-22 15:31:23 -05:00
e01d36a521
fix command used to build keyboard bindings
2016-02-22 15:31:23 -05:00
ebcbc7bedc
adjust fixed bindings files for use with new fmt-bindings tool
2016-02-22 15:31:23 -05:00
84de4246bb
correct fix previous merge conflict
2016-02-22 15:31:23 -05:00
d5bcf90b1a
remove all tearoffs except the monitor section.
...
We don't need this functionality anymore as we build on 15 years experience plus the new tabbed structure
2016-02-22 15:31:23 -05:00
dae303d220
remove debug output
2016-02-22 15:31:23 -05:00
8933d53271
get current tab on startup correct.
...
Note that Gtk::Notebook will not switch to a page with an invisible widget. This took me TOO LONG to discover.
Also move code around between files
2016-02-22 15:31:23 -05:00
1be30e0401
handle main window delete events sensibly
2016-02-22 15:31:23 -05:00
58757ebd38
more fixes for tabbable visibility management
2016-02-22 15:31:23 -05:00
1bdf6d8a68
handle button events on main window notebook so that we can handle close button clicks
2016-02-22 15:31:23 -05:00
0ac1755394
clocks in selection/punch displays do actually need the background
2016-02-22 15:31:23 -05:00
cf9983e4d7
remove debug output
2016-02-22 15:31:22 -05:00
8c54142734
hide splash in a sensible and understandable way
2016-02-22 15:31:22 -05:00
90845af8fa
hopefully get dynamic tabbable menu state right this time
2016-02-22 15:31:22 -05:00
291575683c
dynamically update menus/actions controlling tabbable show/hide/attach/detach operations
2016-02-22 15:31:22 -05:00
e2e75d8346
add explanatory/reminder comment
2016-02-22 15:31:22 -05:00
16731d07d3
remove use of current_toplevel() where unnecessary, fix broken necessary cases, generally fix up show/hide/attach/detach for Tabbables
2016-02-22 15:31:22 -05:00
cf93eaec98
break out window ops for Tabbables into show/hide/attach/detach
2016-02-22 15:31:22 -05:00
73a22be077
re-run fmt-bindings to generate syntactically correct editor.bindings
2016-02-22 15:31:22 -05:00
28c32b2932
fix typo in mnemonic key binding definition
2016-02-22 15:31:22 -05:00
ea1616916a
compile time fixes for top-menubar (i.e. OS X) systems
2016-02-22 15:31:22 -05:00
558167a5dd
some changes for top menubar systems (i.e. OS X)
2016-02-22 15:31:22 -05:00
1158271f72
remove "toggle-foo" style actions related to editor/mixer windows and provide new methods that just use Tabbable::make_visible()
2016-02-22 15:31:22 -05:00
5288dd057b
new global bindings file (created with fmt-bindings)
2016-02-22 15:31:22 -05:00
7ed22a4213
new version of editor.bindings, generated by fmt-bindings
2016-02-22 15:31:22 -05:00
39ee7382e7
refactor key press handling to include a hack that continues to use GTK accelerators/bindings for now
2016-02-22 15:31:22 -05:00
dd8cd579fc
tell the editor to try to load editor.bindings
2016-02-22 15:31:22 -05:00
03350db8f0
remove WINDOW modifier from mnemonic bindings file, and replace with SECONDARY which was already enforced by the substitution dictionary in fmt-bindings
2016-02-22 15:31:22 -05:00
e3db5c5c05
save & restore the main window geometry
2016-02-22 15:31:22 -05:00
37fce09a18
widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators
2016-02-22 15:31:22 -05:00
50e4ebff36
update main window title appropriately
2016-02-22 15:31:22 -05:00
d84f655495
add suggestive tooltips for tabs; remove position argument for Tabbable since it isn't really usable
2016-02-22 15:31:21 -05:00
39036cf20f
remove debug output
2016-02-22 15:31:21 -05:00
aa637cd534
remove debug output
2016-02-22 15:31:21 -05:00
77b6b25f2d
hide tabs in main window when there's only 1 tab left.
...
This helps with space and also prevents tearing off the last tab
2016-02-22 15:31:21 -05:00
552e995297
save/restore tabbable state
2016-02-22 15:31:21 -05:00
26a9471b61
cleaner code to figure out which Tabbable was just torn off
2016-02-22 15:31:21 -05:00
b17cb184a2
make sure preferences are visible
2016-02-22 15:31:21 -05:00
5723676092
make sure the prefs editor sets up its own window correctly
2016-02-22 15:31:21 -05:00
98b14ad0e6
get normal GTK accelerators working again
2016-02-22 15:31:21 -05:00
af378e7256
stop using C++11 structure initializer
2016-02-22 15:31:21 -05:00
9010262bed
first compilable version of tabbable design.
...
I would have loved to split this apart, but there are just so many interrelated changes,
it makes little sense and would be a huge effort that would break future git bisect
use because so many intermediate commits would not compile
2016-02-22 15:31:21 -05:00
1a00e323e3
the basics of tabbed
2016-02-22 15:31:21 -05:00
8774be86f7
prefer initialization to assignment for ARDOUR_UI
2016-02-22 15:31:21 -05:00
9bac8dfaad
the basics of tabbed
2016-02-22 15:31:21 -05:00