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
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
347ba94bcd
add ::make_visible() to Tabbable class
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
ebcd8f696c
remove gtk2_ardour/*.bindings from .gitignore
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
436706c8d4
remove debug output
2016-02-22 15:31:22 -05:00
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
88fb3c5ac9
improve output format to include required XML boilerplate
2016-02-22 15:31:22 -05:00
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
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
bbea11fe0f
hack up fmt-bindings so that it can generate native ardour bindings files
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
9f0ea99fac
better way to switch to a tab
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
03b354a99e
make tabs reorderable
2016-02-22 15:31:21 -05:00
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
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
85eee3b09d
compilable version of WindowProxy
2016-02-22 15:31:21 -05:00
a29f76c1c4
initial versions of Tabbable object
2016-02-22 15:31:21 -05:00
df05e97288
first version of Gtkmm2ext::WindowProxy
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
51234d6d09
initialize uninitialized var - possible fix for #6400
2016-02-22 15:31:21 -05:00
71c096a906
consolidate code
2016-02-22 15:31:21 -05:00