Paul Davis
5b2a435e02
getting editor_drag.cc to compile
2021-08-13 12:51:29 -06:00
Paul Davis
9d69fa3820
another day or two's work on timeline type conversion
2021-08-13 12:51:29 -06:00
Paul Davis
7433bc27e0
intermediate, unfinished snapshot of ongoing timeline types work on GTK GUI
2021-08-13 12:51:29 -06:00
Paul Davis
311db08cc3
manual fixups for rebase-on-master issues
2021-08-13 12:51:28 -06:00
Paul Davis
0c77a35178
completely remove RegionRippleDrag, and merge Editor::add_region(_copy,}_drag() into one method
2021-08-13 12:51:27 -06:00
Paul Davis
9d54bb08e7
remove almost all of RegionRippleDrag, collapsing down to just collecting additional RegionViews that need to be moved during the drag
2021-08-13 12:51:27 -06:00
Paul Davis
77e67809f9
we removed Splice mode from the GUI 7 years ago; now remove all code related to Splice mode (GUI edition)
2021-08-13 12:51:27 -06:00
Paul Davis
636f1331e8
stop using ripple callback API, add Editor::should_ripple() and Editor::do_ripple() to manage rippling
2021-08-13 12:51:27 -06:00
Paul Davis
27456b93ad
initial addition of Ripple All edit mode to GUI
2021-08-13 12:51:27 -06:00
Ben Loftis
a1257beb23
Default_Play_Speed: prep work (gtk2)
...
* request_transport_speed should -never- set default_play_speed
2021-07-03 19:06:02 +02:00
Robin Gareus
83b9ab1bee
Temporarily revert ongoing varispeed development
...
This reverts bf88f3fe64
until 35813db0f4
in order to move development into a branch, until after the
upcoming 6.8 release
2021-06-26 18:58:24 +02:00
Ben Loftis
b4eba1a30b
Default_Play_Speed: prep work (gtk2)
...
* request_transport_speed should -never- set default_play_speed
2021-06-25 11:51:34 -05:00
Ben Loftis
45bd2c47d8
Brush Drag: refactor Brush-drag into its own Drag class (operation is still weird though)
2021-06-17 10:56:30 -05:00
Ben Loftis
295d9100ec
Slip Contents Drag: slip_contents should obey edit_mode:Locked, and locked regions
2021-06-17 10:56:30 -05:00
Ben Loftis
f281e7e3c3
Slip Contents Drag: disambiguate Slip Contents from prior Contents Trim
2021-06-17 10:56:30 -05:00
Ben Loftis
fea3fb9e71
Slip Contents Drag: add ContentsDrag
2021-06-17 10:56:22 -05:00
Paul Davis
ab2357dfa1
implement dragging for region/cue markers
2021-05-24 12:28:19 -06:00
Paul Davis
35a68ad324
remove unusued variables
2021-05-18 18:01:49 -06:00
Paul Davis
bd2d8b8c87
tweak Editor remove-marker APIs to set state for removing region cue markers
2021-05-18 16:50:55 -06:00
Paul Davis
91ec860b3b
redesign color mgmt when entering/leaving markers of various kinds
2021-05-18 16:17:37 -06:00
Paul Davis
48e5607f7c
use Session::request_roll() instead of request_transport_speed (1.0, ...)
2021-04-19 16:14:08 -06:00
Paul Davis
52b7e68102
use new Session transport API calls in GUI
2021-04-19 16:14:08 -06:00
Robin Gareus
0f63cba3c7
Fix audition-tool
...
* Don't set default speed when using audition
* Use actual engine speed, since v6
Session::transport_speed is {-1, 0, 1}
2021-02-27 23:12:15 +01:00
Robin Gareus
4769c387f3
Expose EditorCursor via public editor API
...
This is in preparation to subscribe to playhead cursor position
changes in the recorder-UI.
This change also clean up the API, replacing a public variable
with a const access method and follows #12 of
https://ardour.org/styleguide.html
2021-01-08 18:39:56 +01:00
Robin Gareus
e85ae7f9a6
Verbose cursor audio region peak display
...
https://discourse.ardour.org/t/is-it-possible-to-view-audio-levels-in-db-by-moving-cursor-over-a-waveform/105199
2020-12-30 13:42:42 +01:00
Paul Davis
1d33ed5aca
MIDI bindings etc. should work while in draw mode, not just internal edit
...
The only real difference is in what the mouse does, so keys should work the same
2020-05-05 17:58:32 -06:00
Paul Davis
575c818482
when a MIDI region has a note selected with none previously, cancel existing MIDI region/note selection
2020-05-01 17:39:13 -06:00
Paul Davis
e9e4792a99
only activate MIDI editing bindings if in actual internal edit mode.
...
Draw mode does not as internal editing for these purposes
2020-04-29 16:27:27 -06:00
Paul Davis
65f7a6a938
changes to deal with region/note selection when changing into/out of internal edit mode
...
Also, activate MIDI editing actions so that they are effective in internal edit mode
2020-04-16 17:48:12 -06:00
Paul Davis
3391fa0f51
NOOP: use braces as per style guide
2020-04-16 17:48:12 -06:00
Paul Davis
4151ec1907
remove accumulated debug output
2020-03-25 15:12:30 -06:00
Paul Davis
dbcd78cf71
more playhead-drag/click locate debugging
2020-03-25 13:18:58 -06:00
Paul Davis
04aebc920e
more playhead-drag/click locate debugging
2020-03-25 11:23:45 -06:00
Paul Davis
3c00048b0c
Session::request_locate() takes a tri-valued second argument for "roll-after-locate"
...
This allows callers to defer logic about auto-play/current rolling state and more to TransportFSM where it
can be cnentralized and is less ambiguous
2020-01-18 08:49:18 -07:00
Ben Loftis
85485d4832
Allow the Cut tool to appear in Mixbus.
2019-09-29 10:12:00 -05:00
Robin Gareus
4050ca5633
Update GPL boilerplate and (C)
...
Copyright-holder and year information is extracted from git log.
git history begins in 2005. So (C) from 1998..2005 is lost. Also some
(C) assignment of commits where the committer didn't use --author.
2019-08-03 15:53:15 +02:00
Robin Gareus
31815b5f26
NO-OP: whitespace
...
This fixes mostly <tab> after <space> and similar <tab> not used
for indenting as well as some related code alignment issues.
2019-04-13 17:57:46 +02:00
Robin Gareus
01a43c6b1e
Another round of whitespace fixes
2019-04-09 00:27:33 +02:00
Robin Gareus
37aaa2d11b
NO-OP: whitespace, alignment
2019-04-08 22:39:22 +02:00
Robin Gareus
50303d90bd
NO-OP: whitespace, indent
2019-04-08 20:58:18 +02:00
Robin Gareus
56047a094c
AutomationRangeDrag tweaks for stacked layer view
...
Use y-pos and height of given TAV *layer* where the drag was initiated.
2019-03-30 01:19:47 +01:00
Robin Gareus
d8571e2572
cont'd AutomationRangeDrag updates -- safety commit
...
This is work in progress towards fixing stacked region's region-gain
and multiple discontinuous regions spanning multiple tracks.
AutomationRangeDrag::setup() still does not collect all AutomationLine
points for certain overlap scenarios. There's more to come...
2019-03-29 15:57:07 +01:00
Robin Gareus
0eee891de9
NO-OP: remove unused variable
2019-03-29 14:54:15 +01:00
Robin Gareus
0ee6b03144
Implement multi-region AutomationRange drag/drop
2019-03-27 23:25:28 +01:00
Robin Gareus
8244026533
Consolidate ToggleAction cast, use new API
...
Furthermore we can assume that all Actions are registered and
Unregistered actions will ::abort() execution.
2019-02-28 23:54:42 +01:00
Robin Gareus
29db406512
Fix crash when pressing "Esc" without a session
...
Ardour's UI can process a key-binding or emit the Escape() signal
without a loaded session or when unloading a session.
2019-02-26 20:08:56 +01: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
9ba09caa9b
Likely fix for jittery snapped-cursor when dragging a region.
2018-08-10 10:43:57 -05:00
Ben Loftis
0883f02de9
new_grid: The Return of the snap_to_X functions.
...
We no longer assume that Snap always uses the visible ruler lines.
If you want to snap to the grid, and ignore the users zoom scale, use SnapPref::SnapToGrid_Unscaled
This fixes 2 (known) oversights: "snap region(s) to grid" and "regions whose start are left of the canvas edge".
2018-07-27 00:28:47 +02:00
Ben Loftis
0d32105a1e
new_grid: Add options for rulers_follow_grid and grid_follows_internal
2018-07-27 00:26:09 +02:00