13
0
Commit Graph

19311 Commits

Author SHA1 Message Date
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
e13322e7f5 bindings: prevent double registration and double signal connection, and provide get_all_actions() methods 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
d0fc12bd22 remove all action-registering API from Gtkmm2ext::ActionManager 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
0f17508e6c changes to Bindings and Keyboard API to support (mostly) GTK-free keyboard bindings 2016-02-22 15:31:23 -05:00
ad220df6b7 fix another XML typo 2016-02-22 15:31:23 -05:00
50aa93b92e fix XML typo 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
19fa64610b redesign fmt-bindings to generate Ardour native binding files.
This replaces the old GTK accel map format.
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
077bb13e94 extend API 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
d4664434f7 set "close-button" data on Tabbable contents.
I tried doing this in the constructor and got a segfault for reasons I don't understand
but probably should
2016-02-22 15:31:23 -05:00
5e0337a4a3 convert CairoIcon into a NO_WINDOW widget that just draws into its parent widget 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
a48684c692 if _need_bg is set to false in a CairoWidget, then don't actually draw the background 2016-02-22 15:31:23 -05:00
b6c4ae46d0 clean up tabbable state maintainance; drop Gtk::Button unintentionally used for close cross image 2016-02-22 15:31:23 -05:00
d6f3a006d2 scale CairoIcon by Gtkmm2ext::UI::ui_scale 2016-02-22 15:31:23 -05:00
b48c7c0180 revert to thin lines for close cross icon 2016-02-22 15:31:23 -05:00
cf9983e4d7 remove debug output 2016-02-22 15:31:22 -05:00
914af0f0c8 move ui_scale static member from ARDOUR_UI to GtkUI 2016-02-22 15:31:22 -05:00
0819efe27c remove unused lines 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
e2dfc10698 thicken up lines of close cross icon 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
1c41f75488 provide a sigc::signal to track display state changes for a Tabbable 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
308f6ed828 changes to get show/hide/attach/detach working 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
fd938d95bf change/extend Tabbable API to allow for 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
8e14496919 use new CairoIcon to add a tab-close "button" to tabs 2016-02-22 15:31:22 -05:00
e026adf4a9 second part of: add new CairoWidget-derived class that does nothing but shown an ArdourIcon. 2016-02-22 15:31:22 -05:00
c06c2c29db add new CairoWidget-derived class that does nothing but shown an ArdourIcon.
Somewhat necessary by placement of ArdourButton class in directory heirarchy. But these are also
much simpler
2016-02-22 15:31:22 -05:00
434ef34229 add tab-closing buttons to tabs.
Images are non-scalable, too big and ugly. Next commit ...
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