Commit graph

19283 commits

Author SHA1 Message Date
Paul Davis
b48c7c0180 revert to thin lines for close cross icon 2016-02-22 15:31:23 -05:00
Paul Davis
cf9983e4d7 remove debug output 2016-02-22 15:31:22 -05:00
Paul Davis
914af0f0c8 move ui_scale static member from ARDOUR_UI to GtkUI 2016-02-22 15:31:22 -05:00
Paul Davis
0819efe27c remove unused lines 2016-02-22 15:31:22 -05:00
Paul Davis
8c54142734 hide splash in a sensible and understandable way 2016-02-22 15:31:22 -05:00
Paul Davis
90845af8fa hopefully get dynamic tabbable menu state right this time 2016-02-22 15:31:22 -05:00
Paul Davis
e2dfc10698 thicken up lines of close cross icon 2016-02-22 15:31:22 -05:00
Paul Davis
291575683c dynamically update menus/actions controlling tabbable show/hide/attach/detach operations 2016-02-22 15:31:22 -05:00
Paul Davis
1c41f75488 provide a sigc::signal to track display state changes for a Tabbable 2016-02-22 15:31:22 -05:00
Paul Davis
e2e75d8346 add explanatory/reminder comment 2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
308f6ed828 changes to get show/hide/attach/detach working 2016-02-22 15:31:22 -05:00
Paul Davis
cf93eaec98 break out window ops for Tabbables into show/hide/attach/detach 2016-02-22 15:31:22 -05:00
Paul Davis
fd938d95bf change/extend Tabbable API to allow for show/hide/attach/detach 2016-02-22 15:31:22 -05:00
Paul Davis
73a22be077 re-run fmt-bindings to generate syntactically correct editor.bindings 2016-02-22 15:31:22 -05:00
Paul Davis
28c32b2932 fix typo in mnemonic key binding definition 2016-02-22 15:31:22 -05:00
Paul Davis
8e14496919 use new CairoIcon to add a tab-close "button" to tabs 2016-02-22 15:31:22 -05:00
Paul Davis
e026adf4a9 second part of: add new CairoWidget-derived class that does nothing but shown an ArdourIcon. 2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
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
Paul Davis
ea1616916a compile time fixes for top-menubar (i.e. OS X) systems 2016-02-22 15:31:22 -05:00
Paul Davis
558167a5dd some changes for top menubar systems (i.e. OS X) 2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
347ba94bcd add ::make_visible() to Tabbable class 2016-02-22 15:31:22 -05:00
Paul Davis
5288dd057b new global bindings file (created with fmt-bindings) 2016-02-22 15:31:22 -05:00
Paul Davis
ebcd8f696c remove gtk2_ardour/*.bindings from .gitignore 2016-02-22 15:31:22 -05:00
Paul Davis
7ed22a4213 new version of editor.bindings, generated by fmt-bindings 2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
dd8cd579fc tell the editor to try to load editor.bindings 2016-02-22 15:31:22 -05:00
Paul Davis
436706c8d4 remove debug output 2016-02-22 15:31:22 -05:00
Paul Davis
e46b518319 classes derived from WindowProxy are responsible for their own window creation in ::set_state().
Fixes a crash reported by A.Prokoudine when opening a session with visible plugin GUIs
2016-02-22 15:31:22 -05:00
Paul Davis
88fb3c5ac9 improve output format to include required XML boilerplate 2016-02-22 15:31:22 -05:00
Paul Davis
73170bfc53 place generated bindings files in gtk2_ardour/
This may have some potential cross-platform issues if fmt-bindings is
ever meant to run on Windows.
2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
bbea11fe0f hack up fmt-bindings so that it can generate native ardour bindings files 2016-02-22 15:31:22 -05:00
Paul Davis
e3db5c5c05 save & restore the main window geometry 2016-02-22 15:31:22 -05:00
Paul Davis
37fce09a18 widespread changes to get the new (oldArdour binding scheme to be used for keyboard accelerators 2016-02-22 15:31:22 -05:00
Paul Davis
50e4ebff36 update main window title appropriately 2016-02-22 15:31:22 -05:00
Paul Davis
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
Paul Davis
39036cf20f remove debug output 2016-02-22 15:31:21 -05:00
Paul Davis
aa637cd534 remove debug output 2016-02-22 15:31:21 -05:00
Paul Davis
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
Paul Davis
552e995297 save/restore tabbable state 2016-02-22 15:31:21 -05:00
Paul Davis
26a9471b61 cleaner code to figure out which Tabbable was just torn off 2016-02-22 15:31:21 -05:00
Paul Davis
9f0ea99fac better way to switch to a tab 2016-02-22 15:31:21 -05:00
Paul Davis
b17cb184a2 make sure preferences are visible 2016-02-22 15:31:21 -05:00
Paul Davis
5723676092 make sure the prefs editor sets up its own window correctly 2016-02-22 15:31:21 -05:00
Paul Davis
03b354a99e make tabs reorderable 2016-02-22 15:31:21 -05:00
Paul Davis
a5150d500d when tearing off a tab, make the window be the same size as the allocation of the tab 2016-02-22 15:31:21 -05:00
Paul Davis
98b14ad0e6 get normal GTK accelerators working again 2016-02-22 15:31:21 -05:00