Commit graph

435 commits

Author SHA1 Message Date
Robin Gareus
c4cb9ef4d7
Tweak Mixer screenshot method, include VCA, master-bus 2019-07-18 00:05:32 +02:00
Robin Gareus
9cd1fd9e4a
Prepare screenshot of all mixer-strips
This will allow to create a PNG of all mixer-strips, even those currently
off-screen due to scrolling. It currently shows the main scroll-pane
page only (master-bus, VCAs are not included).

This method is not yet exposed.
2019-07-17 22:57:30 +02:00
Robin Gareus
90cf829f67
Use an explicit class-member for the mixer-strip container 2019-07-17 22:21:08 +02:00
Robin Gareus
12fd048358
On selection, move/scroll VCA into view 2019-03-14 01:29:10 +01:00
Robin Gareus
706f56cc52
Snap to VCA strips in the mixer when scrolling 2019-03-12 17:04:13 +01:00
Robin Gareus
7b96fa1c5e
Fix some Gtk::Menu memory leaks
A Gtk::manage()d widget will be deleted when its parent container
is destroyed. Top-level context menus are not inside a container and
hence need to be manually deallocated.

The solution here is to use a shared Gtk::Menu pointer that is
centrally de/re-allocated.

This works because the GUI is single-threaded and at most one
context menu is visible at a time.
2019-03-07 23:50:50 +01:00
Robin Gareus
9c1801fedb
Show VCA pane when a new VCA is created. 2019-03-01 19:02:38 +01:00
Robin Gareus
00934aec0d
Initialize per session instant state
Per session (instant.xml) GUI options do not have a sigc::slot<> backed
configuration interface to initialize the Actions.

This fixes a first-time start issue (no instant.xml) where GUI panes
may be visible (default) while the actions are "off" (default).

This is a tentative solution, instant.xml backed ToggleAction
initialization needs to be consolidated somehow.
2019-02-28 23:54:13 +01:00
Robin Gareus
c01ab83e1f
Kill the last remaining buses
In Ardour's world, the plural of a "Bus[Bar]" is "Busses".
(some day we may or may not search/replace 'em all to "buses")
2019-01-23 16:05:21 +01:00
Robin Gareus
df35d277f5
Only show user-presets in favorite sidebar
Plugins can have hundreds of factory presets, or in case of VST
useless "default" program/presets. Those just clutter up the favorite
plugin-list.
2018-12-18 14:13:20 +01:00
Robin Gareus
b94c9ef8e0
Fix Mixbus action fc83d044f8 & 65bda27d4 rebase ordering 2018-12-13 18:36:31 +01:00
Paul Davis
961870142d remove explicit use of ::cast_dynamic() from Gtk::Action to Gtk::ToggleAction 2018-12-11 23:43:22 -05:00
Paul Davis
fbab611a73 use syntactic sugar 2018-12-11 12:25:12 -05:00
Paul Davis
8a2c824659 do not reset session for MonitorSection just because monitor out was removed 2018-12-11 12:24:49 -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
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
12a88c9706 show-editor and show-mixer actions are now part of Common, not Window or Mixer action groups
This is a bit arbitary but they are supposed to be invokable from anywhere, and since they control Tabbables and note
pure windows, they are not part of WM::Manager's purview (Window/* actions). Thus ... Common
2018-12-10 18:39:14 -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
Robin Gareus
474d68c051
NO-OP: whitespace and some guaranteed assertion removal 2018-12-08 20:36:03 +01: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
4423945643 start using ActionMap in preference to ActionManager 2018-12-05 17:33:06 -05:00
Len Ovens
0140b24248 Change get_routes to get_routelist where appropriate. 2018-11-07 17:00:16 -08:00
Robin Gareus
b81fdeaa66 Work around tooltips in treeviews selection issue #7678
When tooltips are disabled, but a tooltip column is set for a treeview,
the treeview selection behaves inconsistently. It requires a 3rd click
after expanding any child-rows to select a child.
2018-11-01 23:21:23 +01:00
Robin Gareus
54f0f37c52 Fix context-menu item "bus" = audio and midi busses.
Hide/show logic uses "not track".
This results in matching both audio and midi busses.
2018-10-02 21:28:49 +02:00
Robin Gareus
67f733bb97 Restore mixer scroll offset after spill 2018-09-01 21:32:57 +02:00
Paul Davis
932eefad9f use new CoreSelection methods in editor and mixer 2018-08-24 14:04:18 -04:00
Paul Davis
c46cd91d0e provide mixer-specific bindings for Alt-(up|down) to match editor 2018-08-24 10:08:08 -04:00
Paul Davis
510a0314cf move select-all-tracks,deselect-all,invert-selection to be global actions (and bindings) 2018-08-24 10:08:08 -04:00
Robin Gareus
ef2abc35b9 Set VCA Pane toggle sensitivity 2018-08-09 18:52:20 +02:00
Robin Gareus
e42d1e49c7 Fix VCA pane being made visible when redisplaying tracks 2018-08-09 17:28:54 +02:00
Robin Gareus
00dcf4d571 Backport Mixbus' mixer shadow
This is incomplete, pending backporting of Mixbus mixer_ui.h changes,
but this way it won't be forgotten.

And it might be handy to also include the shadow in Ardour's theme?!
2018-08-09 17:10:22 +02:00
Ben Loftis
131c545a3c Plugin Ordering: PluginStatusChanged signal went missing. This fixes breakage in drag+drop and live status-updates from the Plugin Manager window. 2018-05-08 16:12:15 -05:00
Ben Loftis
811aed2be5 Remove debug printout. 2018-05-08 13:27:01 -05:00
Ben Loftis
f5bbbe321c Plugin Order: Use the new plugin_manager function to save plugin order. 2018-05-08 13:26:08 -05:00
Ben Loftis
c4208411db Tweak logic in master-bus packing to make it clearer; will also minimize conflicts with Mixbus. 2018-03-11 14:42:10 -05:00
Robin Gareus
ceac42cc03 NO-OP: whitespace
- remove trailing whitespace
- remove space after opening brackets and before closing brackets
- add space around operators
- do not use '//' for multi-line comments, do not use "//" on line-start
  to comment-out code breaking indenting (-Wmisleading-indent)
- do add a single space after comment-start /*{SPACE}... or //{SPACE}...
- reserve duplicate whitespace "  " for alignment, remove other duplicate
  whitespace
- use established "TODO" and "XXX" (highlighted keywords)
- remove equal-sign series "====" (those indicate merge conflicts)
2018-02-24 13:55:20 +01:00
Ben Loftis
b44b8b7111 Prevent mixer-add buttons from getting focus. 2018-02-19 08:15:18 -06:00
Ben Loftis
181b5e40d1 Dont delete&create add_vca_buton every time the vca list is updated. 2018-02-13 08:13:52 -06:00
Robin Gareus
17b6d71467 Fix mixer left/right scroll, snap to strip boundary.
Ignore add-button (packed at end, start of list) when iterating
over strip_packer.children.
2018-02-13 11:18:03 +01:00
Robin Gareus
7cf408e693 Remove cruft 2018-02-13 11:15:00 +01:00
Ben Loftis
870c046c4c Users struggle with Pane Dividers. Make them larger, and set a min-size on the mixer list pane. 2018-02-12 16:16:09 -06:00
Ben Loftis
c70aee50e0 ...and also for VCA strips. 2018-02-12 15:50:35 -06:00
Ben Loftis
b7f38bbb7a Remove track-adder button from the mixer-list, and add an obvious one at end of strips. 2018-02-12 15:29:38 -06:00
Ben Loftis
b69d818ce9 Further defer changes of plugin Tags+Status, and consolidate code to call PluginListChanged only once. 2018-02-02 19:25:01 -06:00
Robin Gareus
2b5ee5a963 Use new tag-search API
This fixes an issue where "By Tag" dropdown contained empty menu-items,
in case a hidden plugin is the only one with a given tag.
2018-01-31 14:04:14 +01:00
Robin Gareus
9e1acce333 Add plugin tag-filter to Mixer-favorites sidebar 2018-01-30 01:34:37 +01:00
Robin Gareus
8488dceeed Prepare for PluginStatusesChanged API change 2018-01-30 01:33:54 +01:00
Robin Gareus
231e25544b Tweak 842d758e: selection & move into view
Use separate editor + mixer flags for moving selected tracks into view.
Changing selection in the Editor will only pan the mixer-view and vice-
versa. This fixes an issue with the track that is being clicked-on to
be moved out of view (due to groups)
2017-10-21 21:07:18 +02:00
Paul Davis
ea5fa64c0b manually fix up various cases where Gtk:Frame foo_frame had been changed to foo_sample 2017-09-18 14:59:11 -04:00