Commit Graph

16613 Commits

Author SHA1 Message Date
Paul Davis
30d2d7824e selection-as-group is not an option 2023-08-02 14:11:06 -06:00
Paul Davis
1f5a9c4444 correctly redraw marker lanes
Old code just redrew them at the same timeline position (which may
or may not be a different pixel position). They need to be updated
with the underlying position of the marker they represent
2023-08-02 14:11:06 -06:00
darless
9f4a0b444e Fix #9421: F7 tied to velocity 96 but it was not present in the velocity menu 2023-08-01 22:19:24 +02:00
Paul Davis
1d31ace29d adjust GainMeter* API and design to handle stripables, not just routes for selection/group behavior 2023-07-31 21:12:00 -06:00
Paul Davis
200194b134 use identical logic for gain/trim controls as others when it comes to group/select stuff 2023-07-31 18:31:03 -06:00
Paul Davis
b338b946b8 remove ill-though assert() - VCAs have gain-faders too 2023-07-31 13:54:00 -06:00
Paul Davis
fa38a14120 GUI changes to support new selection/group logic 2023-07-31 13:36:25 -06:00
Paul Davis
d1fe9f2846 fold solo-safe and solo-isolate controls into selection-is-group logic 2023-07-31 10:58:56 -06:00
Paul Davis
2cf18120c6 use selection-as-group logic for monitoring choice control 2023-07-31 10:58:47 -06:00
Paul Davis
78e023fcc2 deselecting a grouped track no longer deselects the entire group
I believe this to be more useful behavior than the previous state of affairs
2023-07-28 17:13:29 -06:00
Paul Davis
16e1188a2f move logic for use-selection-as-group into ARDOUR_UI and use it everywhere 2023-07-28 09:50:23 -06:00
Paul Davis
639c206432 fix thinko with selection-as-group for GainMeter 2023-07-27 13:31:12 -06:00
Paul Davis
fe7c36c04b allow selection-as-group control of trim controls 2023-07-27 13:30:50 -06:00
Paul Davis
c4838f5d87 remove RouteGroup method from RouteUI::maybe_use_select_as_group()
No longer necessary, after logic change.
2023-07-27 13:28:51 -06:00
Paul Davis
8f70356b81 fix group action disposition for solo/mute/recenable 2023-07-27 11:44:11 -06:00
Paul Davis
f400c166cc change for logic for when to use selection-as-group 2023-07-27 11:43:43 -06:00
Paul Davis
c9a58bfae1 consolidate rules for selection-as-group and extend to solo/mute/recanable 2023-07-26 21:06:19 -06:00
Paul Davis
e0a491f0ee NO-OP: add braces mandated by coding style guide 2023-07-26 21:05:35 -06:00
Paul Davis
d79e0e9039 add preferences dialog item to control selection-as-group 2023-07-26 18:54:09 -06:00
Paul Davis
70e97e2724 move region information preferences into Appearance
This makes some space on the Editor tab/page, and they were more appearance
related anyway
2023-07-26 18:39:48 -06:00
Paul Davis
acac9ac006 add and use UI config variable to decide whether selection-as-group is allowed 2023-07-26 18:30:59 -06:00
Paul Davis
bc407151cd fix thinko with selection-based gain control 2023-07-26 18:15:42 -06:00
Paul Davis
5497c4e74e extend use-selection concept to solo control on mixer strip 2023-07-26 18:09:26 -06:00
Paul Davis
e60c1840cb remove modifier for use-selection on gain controls
The condition is now: use selection if route is not in a group that shares gain
2023-07-26 18:09:04 -06:00
Paul Davis
6ba69cfd57 gain slider: correctly new push/pop group for use selection 2023-07-26 16:42:12 -06:00
Paul Davis
d7ed491f75 gain controls: tenatively use new "use selection" feature 2023-07-26 13:39:05 -06:00
Paul Davis
3c2112abf5 widgets & GUI: Start/StopGesture signals should pass on GDK event state 2023-07-26 13:11:52 -06:00
darless
e28eaa843d Fix #8857: Remove snap from decision making about number of divisions 2023-07-25 08:51:35 -06:00
Robin Gareus
dfc52fd5fb Plugin analysis: cairo coordinate system fixes 2023-07-18 18:13:34 +02:00
Paul Davis
ec7d502959 cairo single pixel line offset fix, part 2
This will need careful visual inspection of the items drawn by the
affected code to make sure they are still precisely as intended
2023-07-17 20:55:13 -06:00
Paul Davis
b8af596a92 update all marker positions after a tempo map change 2023-07-15 11:08:45 -06:00
Paul Davis
460266de13 NOOP: whitespace fix 2023-07-15 11:08:45 -06:00
John Emmas
35c04d0ee7 Add a missing namespace specifier 2023-07-15 12:55:30 +01:00
Paul Davis
509efdb290 temporal: refactor ::get_grid() for performance reasons
the API now provides the option to call ::get_grid() with an iterator which may
be re-used on subsequent calls. This avoids unbounded O(N) "walks" from the
marker preceding the start point of the grid to the start point.

This commit also includes "fast-path" code for the common case of a single
tempo and single meter
2023-07-14 13:03:36 -06:00
Paul Davis
ae5755dbe5 do not mark sections of menu/action paths as translatable, since they are not 2023-07-14 13:03:36 -06:00
Paul Davis
ed869da97e reserve space for tempo map grid (GUI side) 2023-07-14 13:03:36 -06:00
Paul Davis
f41505a8c6 add Editor::count_bars() after removing it from libtemporal 2023-07-14 13:03:36 -06:00
Paul Davis
df52c39ce0 freehand line drawing: automation & velocity share the same basic code 2023-07-14 13:03:26 -06:00
Robin Gareus
2c48aabe08 Handle race condition when removing route before routeUI
This fixes a crash when removing the monitor section.
The monitor route goes away, but the GUI remains. The
IOButton may still process previously queued
cross-thread signals.

In many cases this was not an issue since the route's
memory was not immediately released or shared_ptr
destruction only happened a short time later.
2023-07-14 19:03:32 +02:00
Robin Gareus
bedab69338 Pin Dialog: hide send polarity invert 2023-07-14 16:59:54 +02:00
Robin Gareus
8145e92b43 Clarify Control point edit dialog messages, add tooltip 2023-07-11 01:16:58 +02:00
Robin Gareus
4c8b414fb6 Allow to numeric ctrl point edit to apply to all selected points 2023-07-11 00:53:48 +02:00
Paul Davis
ac68fcb880 automation drawing: fix right-to-left free drawing 2023-07-10 14:39:23 -06:00
Paul Davis
f6f1f3393d automation drawing: fatter line 2023-07-10 14:38:58 -06:00
Paul Davis
d12aa315fc automation drawn: ensure the right-to-left drawn lines are ordered correctly 2023-07-10 14:23:39 -06:00
Paul Davis
9d5b6a78d5 automation drawing: better line color 2023-07-10 14:16:59 -06:00
Paul Davis
25d17e857f when free-drawing straight lines, allow retrograde motion 2023-07-10 13:42:25 -06:00
Paul Davis
57167dafbe use configurable thinning factor, not a hard-coded constant 2023-07-10 13:42:06 -06:00
Paul Davis
67d9fa885a use mid-drag key events to allow Alt to force a line break 2023-07-10 12:22:16 -06:00
Paul Davis
a14c534d16 dragging: add possibility of handling key events mid-drag
Currently only called from a canvas automation track event handler.
2023-07-10 12:21:27 -06:00