Commit graph

290 commits

Author SHA1 Message Date
Paul Davis
58f259e4f7 add new API to ARDOUR_UI to allow dynamic add/remove of keyboard bindings to key binding editor 2016-03-15 16:41:15 -04:00
Paul Davis
08f9a439a7 fix segfaults/crashes when quitting under valgrind 2016-03-15 15:35:11 -04:00
Robin Gareus
3a2ba2e958 Rewrite commit 68e81a6, prefer forward declaration and includes in cc.
only MSVC requires the complete class for the templated c'tor in
window manager.h
2016-02-28 11:58:47 +01:00
John Emmas
68e81a6afc Move our #inclusions for "lua_script_manager.h"
For whatever reason, almost none of gtk2_ardour will compile (with MSVC) unless 'lua_script_manager.h' gets #included by 'gtk2_ardour/window_manager.h'. No idea why... :-(
2016-02-27 16:29:56 +00:00
Paul Davis
d25d583dad add previous-tab and next-tab actions and bind to PRIMARY-page-up/down by default 2016-02-25 15:08:06 -05:00
Robin Gareus
2532911b18 Editor Actions Scripts & Manager 2016-02-23 15:42:53 +01:00
Robin Gareus
6b940afa36 Lua Script Console Window 2016-02-23 15:42:13 +01:00
Paul Davis
8a1bfd45f4 fix crash caused by missing check on editor->own_window() 2016-02-22 15:31:25 -05:00
Paul Davis
a29fd4542e a bunch of stuff to make tab/window switching work better, and provide Alt-m to toggle between editor+mixer in a sane way 2016-02-22 15:31:25 -05:00
Paul Davis
64de2b415a use Tabbable::change_visibility to make tab/window control buttons do the right thing 2016-02-22 15:31:25 -05:00
Paul Davis
51d403d485 allow pixbuf_from_string() to return the full size pixbuf, with optional padding 2016-02-22 15:31:25 -05:00
Paul Davis
336d321a1b prevent dragging the last tab from the notebook 2016-02-22 15:31:25 -05:00
Paul Davis
1e537cb539 remove tab-related code for tabbed notebook, add tooltips to new buttons 2016-02-22 15:31:25 -05:00
Paul Davis
51879285c5 tab-free tabbed display, part 1.2 2016-02-22 15:31:25 -05:00
Paul Davis
47cf908998 try using top-menu-bar buttons and not notebook tabs to control window visibility 2016-02-22 15:31:25 -05:00
Paul Davis
bc487bb4b0 replicate the remove-all-trailing whitespace commit(s) in master 2016-02-22 15:31:24 -05:00
Paul Davis
589f2a1ab8 change suffix of keybinding files to ".keys" to avoid conflict with earlier versions.
Move some code around that should never have been inside libs/ardour to begin with.
2016-02-22 15:31:24 -05:00
Paul Davis
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
Paul Davis
2c6799f247 changes to support new key bindings editor design 2016-02-22 15:31:23 -05:00
Paul Davis
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
Paul Davis
58757ebd38 more fixes for tabbable visibility management 2016-02-22 15:31:23 -05:00
Paul Davis
cf9983e4d7 remove debug output 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
291575683c dynamically update menus/actions controlling tabbable show/hide/attach/detach operations 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
cf93eaec98 break out window ops for Tabbables into show/hide/attach/detach 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
50e4ebff36 update main window title appropriately 2016-02-22 15:31:22 -05:00
Paul Davis
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
Robin Gareus
71c096a906 consolidate code 2016-02-22 15:31:21 -05:00
Robin Gareus
1a3df69a17 update Window > Mixer accordingly 2016-02-22 15:31:21 -05:00
Paul Davis
02c8d6d648 the basics of tabbed 2016-02-22 15:31:21 -05:00
Robin Gareus
ffde3968ec allow to show/hide Monitor Section 2015-12-19 17:42:36 +01:00
Ben Loftis
3b3261ef55 allow hiding and showing the mixer list 2015-12-10 17:21:02 -06:00
Robin Gareus
22b07e0233 NOOP, remove trailing tabs/whitespace. 2015-10-05 16:17:49 +02:00
Paul Davis
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
Tim Mayberry
6b019a4953 Move UIConfiguration Singleton into UIConfiguration header
This removes the direct dependence on ardour_ui.h from 39 files
2015-09-16 16:55:17 -04:00
Tim Mayberry
45d487f16e Move ARDOUR_UI::ui_scale into UIConfiguration class 2015-09-16 16:55:17 -04:00
Robin Gareus
1e06139c16 remove debug code 2015-06-27 01:32:11 +02:00
Robin Gareus
11c6aaec7a check editor/mixer/meterbridge window overlap for show/hide 2015-06-27 01:31:22 +02:00
Robin Gareus
1bd7199f4f consolidate code 2015-06-27 01:00:03 +02:00
Robin Gareus
4fc3d98af8 update Window > Mixer accordingly 2015-06-27 01:00:03 +02:00
Robin Gareus
02be98b3d6 Alternative approach for show/hide Meterbridge #6386
* no more on-top (transient to editor)
* similar approach as toggle editor/mixer

see also 0cd1db76f0
2015-06-26 22:35:54 +02:00
Robin Gareus
0cd1db76f0 keep meterbridge on top of editor - see #6386 2015-06-25 20:24:03 +02:00
Robin Gareus
3e1fecbf37 fix scaling of master-meter in toolbar 2015-04-24 02:58:09 +02:00
Robin Gareus
5afc5272b6 scale peak-meter reset button 2015-04-23 00:29:55 +02:00
nick_m
44d4652995 Introduce theme preference "transients follow front" which, when enabled,
sets transient windows to be transients for the front window when switching
between the editor and mixer. This is the current behavior on non-osx
builds.
When disabled, there is no reparenting of transient windows. This is the
current behavior on osx.
This preference defaults to off.

Also fix "all windows are dialogs" checkbox being out of sync with the ui
state.
2015-03-10 02:25:25 +11:00
Paul Davis
0b5ceaca4e add handler for, and connect to, Session::SaveSessionRequested 2015-01-24 19:17:13 -05:00
Tim Mayberry
b5c9a92a58 Move Timers/Timeouts from ARDOUR_UI into functions in timers.h and use PBD::Timers 2015-01-01 19:04:14 +07:00
Paul Davis
64fa63212f move all (G)UI related configuration parameters into UIConfiguration, not RCConfiguration 2014-12-22 13:39:46 -05:00