Commit graph

40213 commits

Author SHA1 Message Date
Paul Davis
97e55b0dcc improve default cursor choice inside pianoroll 2025-01-08 14:26:29 -07:00
Paul Davis
5d831ceb5e fix/improve pianoroll event handling
And add a long comment to try to explain how/why things work this way, which is
certainly odd at first sight.
2025-01-08 14:26:29 -07:00
Paul Davis
50e504af6e add possibly helpful comment 2025-01-08 14:26:29 -07:00
Paul Davis
0149d9700b if PianoRollMidiView doesn't handle a scroll event, let MidiView try 2025-01-08 14:26:28 -07:00
Paul Davis
77d2a45475 fix computation of ::covers() for clip start/end handles 2025-01-08 14:26:28 -07:00
Paul Davis
1ae5ea0e92 prwevent scroll-driven zoom in pianoroll from exceeding a reasonable level 2025-01-08 14:26:28 -07:00
Robin Gareus
85b637878d
Add action to create arrangement markers 2025-01-08 04:31:15 +01:00
Robin Gareus
c4d5a6b873
Consolidate Ruler area setup, prepare for interactive buttons 2025-01-08 04:31:15 +01:00
Robin Gareus
d877800a28
Indicate clock delta mode using Δ 2025-01-08 04:31:15 +01:00
Paul Davis
e206fd5863 share the full zoom button in EditingContexts 2025-01-07 17:11:08 -07:00
Paul Davis
44c5cf7841 switch back to default cursor when leaving pianoroll canvas 2025-01-07 17:10:34 -07:00
Paul Davis
bd9ab55fa0 move zoom in/out buttons to EditingContext and use on the pianoroll 2025-01-07 12:59:13 -07:00
Paul Davis
89c6c46f65 fix a few issues following the pianoroll renaming 2025-01-07 12:58:54 -07:00
Paul Davis
f5d15aac0b prefer #pragma once to #define header guards 2025-01-07 11:49:05 -07:00
Paul Davis
9e4c447c3a fix header guard names after pianoroll rename sed-ing 2025-01-07 11:47:06 -07:00
Paul Davis
0f43ad3376 pianoroll renaming 2025-01-07 11:45:58 -07:00
Paul Davis
b9c5927abb pianoroll renaming 2025-01-07 11:42:37 -07:00
Paul Davis
c9c6826154 pianoroll renaming 2025-01-07 11:40:22 -07:00
Paul Davis
e3ab5849d7 pianoroll renaming 2025-01-07 11:37:46 -07:00
Paul Davis
5635144e42 initial rename of MidiCueEditor -> Pianoroll 2025-01-07 11:30:26 -07:00
Paul Davis
96595669dc fix clip start/end drags with snap enabled 2025-01-07 10:37:56 -07:00
Robin Gareus
485457e439
Update Harrison URLs (use SSL) 2025-01-07 14:43:37 +01:00
Paul Davis
f81b700395 more work on midi cue editor automation line colors (when insensitive) 2025-01-06 20:41:02 -07:00
Paul Davis
6009abfa75 fix logical error when initializing automation display state 2025-01-06 20:41:02 -07:00
Paul Davis
848f3c494b new color aliases for insensitive automation lines in midi cue editor 2025-01-06 20:41:02 -07:00
Paul Davis
32f074bdd4 use colors for non-active automation lines in MidiCueEditor
Currently this just uses random ("nonexistent") colors; to be changed to
some palette next
2025-01-06 20:41:02 -07:00
Robin Gareus
e7ac13a834
Use dropdown instead of trigger-page sidebar notebook tabs 2025-01-06 22:53:54 +01:00
Robin Gareus
472fa58afe
Use dropdown instead of editor sidebar notebook tabs 2025-01-06 22:53:54 +01:00
Paul Davis
e42e7ab7af fix thinkos with parameter/button mapping in MidiCueEditor 2025-01-06 12:45:28 -07:00
Paul Davis
ebcbed53e6 change AutomationLine::_line_color to _line_color_name 2025-01-06 09:31:33 -07:00
Paul Davis
05476514c0 Add concept of insensitive automation lines for use in MIDI cue editor
This commit also includes auto-fication of several loops

It also includes a new concept: control points inherit line color. This is enabled
by default, so control points just take their color from their parent line. More
work is needed here to handle selection colors
2025-01-05 11:49:18 -07:00
Paul Davis
cee483a89c add new insensitive automation line color alias to all themes 2025-01-05 11:49:18 -07:00
Paul Davis
d0890abe9c bring in change from bf7d4f895e but also try to fix API ambiguity and bug in that commit and existing code
_grid_type is an EditingContext member; grid_type is a method parameter
2025-01-05 11:49:18 -07:00
Robin Gareus
a0413c525c
Do not save VCA automation in templates 2025-01-03 22:01:59 +01:00
Robin Gareus
f72fd08fb3
Immediately update clocks when switching delta-mode 2025-01-03 19:13:55 +01:00
Paul Davis
9139b0731b use icon for cue editor sound selected MIDI notes button and make it sensitive to the UIConfig parameter, and active 2025-01-03 09:14:26 -07:00
Paul Davis
ed54b8ee1f adjust how note mode button appears visually 2025-01-02 18:15:00 -07:00
Edgar Aichinger
731d6e4a88
one more typo fix in german translation 2025-01-03 02:14:04 +01:00
Robin Gareus
506a57251b
Fix PT Import when track name contains illegal chars
route_by_name() may not find a track created with a given
name, if that name contains illegal chars that were replaced,
or if the track-name was otherwise changed (number suffix) to
make it unique.
2025-01-03 02:02:36 +01:00
Robin Gareus
694d91f395
Use dedicated PT debug flag 2025-01-03 01:56:48 +01:00
Robin Gareus
31d567b20c
Add dedicated debug flag for PTimport 2025-01-03 01:49:33 +01:00
Robin Gareus
fe14044175
Prevent drumstick icon bleed 2025-01-02 21:09:56 +01:00
Robin Gareus
91b1eb9c72
Set colors for drum icon and fix drumstick length 2025-01-02 20:04:55 +01:00
Robin Gareus
772d14fca3
Add icon for cue/triggger page 2025-01-02 18:47:13 +01:00
Robin Gareus
1097108aee
Set monitor section action sensitivity
When showing monitor controls in the application bars
they can be always visible regardless if a monitor-section
exists or not. Furthermore, the main application session menu
unconditionally exposes these actions.

This makes the controls insensitive when no monitor sections
is present.
2025-01-02 17:55:15 +01:00
Robin Gareus
845ad12090
Ardour turns 26 2025-01-02 16:10:51 +01:00
Paul Davis
eafa09099a get cue editor "full zoom" button working 2024-12-30 21:48:20 -07:00
Robin Gareus
05a18b0cc6
Prefer std::map::erase over temporary iterator
While map::erase should not affected incremented iterators,
this is my best guess at
https://discourse.ardour.org/t/clean-up-does-not-end/111154

If not, at least the code is cleaner now :)
2024-12-31 00:21:45 +01:00
Paul Davis
de52eb644c ensure return value 2024-12-30 07:29:58 -07:00
Paul Davis
5c63a3a523 add tooltip for cue editor note mode button 2024-12-29 17:30:33 -07:00