Commit graph

140 commits

Author SHA1 Message Date
Robin Gareus
5a0b9a92a3
Update Mixbus Mon-section #ifdef 2019-04-12 18:29:23 +02:00
Robin Gareus
8dc883ebfa
Revert another sample/frame confusion 2019-04-12 02:44:23 +02:00
Robin Gareus
2bfe0c6ff7
Properly map MonitorSection state on session load 2019-03-06 00:47:59 +01:00
Robin Gareus
94d3da7e09
GUI updates to handle monitor-section changes
This fixes various MS related action sensitivity issues, as well
as action-states.

Also manually adding a monitor-section to a session now always
immediately shows it, regardless of prior ToggleMonitorSection
visibility.
2019-03-01 16:51:08 +01:00
Paul Davis
f4c1f237c9 fix mistaken action paths used in MonitorSection
(after recent changes to make some actions "global")
2019-02-16 13:04:16 -07:00
Paul Davis
308036b195 MonitorSection should only define global actions for mono/dim/cut (all channels)
If it defines local versions, we can end up with two (different) bindings for the same action, one
in global scope, one when MonitorSection has key focus. Bad.
2019-02-16 01:15:12 -07:00
Paul Davis
923d07be31 remove debug output 2018-12-27 17:18:21 -05:00
Paul Davis
c1f0f4eb7a more organized and coherent handling of route control connections in MonitorSection 2018-12-19 17:19:51 -05:00
Paul Davis
17a8a50e58 fix issue with ProcessorBox inside MonitorSection (session was not set correctly) 2018-12-15 11:58:58 -05:00
Paul Davis
69777d600f replace ::cast_dynamic() with relevant ActionManager::get_*_action() calls 2018-12-12 11:12:48 -05:00
Paul Davis
20c55065ab more changes flowing from a persistent MonitorSection object 2018-12-11 12:25:31 -05:00
Paul Davis
098b0f8a8b full (?) set of changes required to make MonitorSection an "always-there" component of the MixerUI
Obviously, it is not always shown, but it always exists, which means that its actions are always accessible
2018-12-11 10:28:47 -05:00
Paul Davis
685c4f8955 change action group owner pointer to be the relevant keybindings; reorder setting keybindings value and defining actions
The reorder is required so that the value of "bindings" has been set and is meaningful
2018-12-11 05:06:26 -05:00
Paul Davis
5981b7f1b8 add nominal owners for all action groups
Note: this is not yet correct. The owner (pointer) values passed in are not yet usable
2018-12-10 18:44:05 -05:00
Paul Davis
29eac8ee4e no longer delete and recreate MonitorSection when it is removed/added to a Session 2018-12-10 18:41:59 -05:00
Paul Davis
fc83d044f8 use ActionManager namespace, rather than ActionMap objects, and remove all per-context action maps 2018-12-10 08:34:01 -05:00
Ben Loftis
65bda27d42 Tweaks to Mixer and Monitor keybindings:
Add Mixer-specific view keybindings for list, vca, mon.  (thanks to: the_CLA)
Move monitor keybindings (mute, dim, mono) to be globally-accessible.

Implement new mixer-specific actions to show/hide monitor,vcas,mixbuses (the_CLA)
Move monitor funcs (mute,dim,mono) to globally-accessible actions.
Make a new Monitor group insted of using Transport group.
Allow use-monitor-section to be controlled by both menu and session-options dialog.
2018-12-07 12:57:26 -06:00
Paul Davis
30b087ab3d globally change all use of "frame" to refer to audio into "sample".
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode
and video in order to keep the legible
2017-09-18 12:39:17 -04:00
Robin Gareus
f9e5e4360e Move more Gtkmm2ext widgets into libwidget 2017-07-17 21:06:04 +02:00
Robin Gareus
b5e9451bc7 Remove unused sources & includes 2017-07-17 21:06:04 +02:00
Robin Gareus
5c92613698 Separate Ardour UI widgets into dedicated library 2017-07-17 21:06:04 +02:00
Paul Davis
dc0139d4af use CoreSelection for track selection 2017-05-05 18:56:25 +01:00
Robin Gareus
47ea6534d0 Add option to disable blinking alert buttons. 2017-03-26 21:42:01 +02:00
Robin Gareus
92115dc3ea Update monitor section controls when channelcount changes 2017-01-19 16:29:29 +01:00
Robin Gareus
259c47c2de Align mon-section bottom button 2016-12-21 03:53:45 +01:00
Robin Gareus
4499066f39 static MonitorSection Action -- fixes #7098
ActionManager registered actions are static global and cannot reference
an instance (this) directly.
2016-11-11 03:54:50 +01:00
Paul Davis
cf52d6e4b4 enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.h 2016-07-14 14:45:23 -04:00
Paul Davis
01812f53c3 use, or mostly use PresentationInfo for selection status of Routes.
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
2016-06-05 20:50:57 -04:00
Paul Davis
c31435b474 RouteUI is now also derived from SessionHandlePtr but NOT AxisView. Fix initialization.
Only "most derived" classes can initialize virtual base classes (SessionHandlePtr)
2016-06-05 16:33:01 -04:00
Paul Davis
d30266dfc3 use new record safe control in GUI 2016-05-31 15:30:45 -04:00
Paul Davis
653ae4acd6 universal change in the design of the way Route/Track controls are designed and used. The controls now own their own state, rather than proxy for state in their owners.
Massive changes all over the code to accomodate this. Many things are not finished. Consider this a backup safety commit
2016-05-31 15:30:40 -04:00
Paul Davis
c07bca3a62 fix capitalization of sections of key editor 2016-03-15 21:25:07 -04:00
Paul Davis
a06a5ecfd6 change the way the key editor gets populated; drop binding sets with no actions 2016-03-15 19:46:28 -04:00
Paul Davis
c541670a37 safety pointer resets in MonitorSection dtor. Not intended to fix any known bugs 2016-03-15 16:44:12 -04:00
Paul Davis
81f32cec1b add and remove monitor section bindings as MS is created/destroyed 2016-03-15 16:43:52 -04:00
Paul Davis
d46b0f5548 give monitor section its own bindings 2016-03-15 12:41:22 -04:00
Mathias Buhr
6a52dc3219 Implements review comments 2016-02-27 16:02:36 -05:00
Mathias Buhr
7ce373e6f0 Fixes a memory corruption upon closing the 2nd session 2016-02-27 16:02:36 -05:00
Paul Davis
e5ca1711bc restore monitor section visibility, broken after the merged with tabbed 2016-02-25 11:53:59 -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
ec65e351ac ensure that all callers of ARDOUR_UI_UTILS::relay_key_press() provide a window 2016-02-22 15:31:24 -05:00
Paul Davis
09f9020897 action maps now have names 2016-02-22 15:31:24 -05:00
Paul Davis
949163f806 more changes to Bindings, Keyboard APIs 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
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
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
Adrian Knoth
6fa88273aa Spelling correction patch from Debian
Patch taken (and forward-ported to HEAD) from
<https://anonscm.debian.org/cgit/pkg-multimedia/ardour.git/plain/debian/patches/0100-fix-typos.patch>
2016-02-22 15:13:01 -05:00
Paul Davis
e6b06597b7 remove all traces of "prolooks" and related classes 2016-02-11 13:03:24 -05:00
Paul Davis
9e5b7db89f first compiling, mostly working version of group controls changes 2016-01-22 11:58:31 -05:00
Robin Gareus
027ffb1b37 monitor-section: re-connect to static actions 2016-01-08 01:31:20 +01:00