Paul Davis
1b9a69c90f
hack to hide some geometric oddity in pianorolls
...
the automation group rectangle, when set to use COORD_MAX as the rightmost x-coordinate
ends up sloping. use a very large number instead.
this ought to get fixed when it can be understood
2025-03-20 13:20:31 -06:00
Paul Davis
a8914cbb61
more logic improvements for managing active/visible state of pianoroll automation
2025-03-20 11:39:39 -06:00
Paul Davis
1911899d15
remove last of the remnants of "ardour-bindings" strings (library edition)
2025-03-19 20:19:24 -06:00
Paul Davis
d07710e847
remove last of the remnants of "ardour-bindings" strings
2025-03-19 20:19:08 -06:00
Paul Davis
9ef8d99892
bring order to the chaos of pianoroll automation visibility/editing
2025-03-19 20:18:52 -06:00
Paul Davis
05b8c6d2d3
some potential fixes for wierd note split/join behavior
...
the split_info for a MidiView would stick around across note selection
operations that really should act as a "boundary" or end of the
split op. This commit ends the split op any time selection is cleared
or notes are added to the selection (except when in the middle of a split
2025-03-19 17:34:33 -06:00
Robin Gareus
4bdd979df6
Fix index out of bounds when creating group (peek color)
2025-03-18 19:55:30 +01:00
Robin Gareus
7fcc048583
Show LAN button on master-bus (regardless of show_all)
2025-03-17 17:28:34 +01:00
Paul Davis
e8d4f5e06d
when a pianoroll shows an empty MIDI model, use the user prefs for the note range
2025-03-17 10:12:42 -06:00
Paul Davis
ef8f2579c1
if showing an empty model in a pianoroll, set the visible channel to 1
2025-03-17 10:00:44 -06:00
Paul Davis
dd3683bc06
fix another #warning from the pianorule refactoring
...
There is one single place in AutomationLine code where we need to callback
to its AutomationTimeAxisView, if it is part of one, regarding automation
state. This permits that to happen
2025-03-16 15:43:11 -06:00
Paul Davis
6af9d08f69
NO-OP: re-indent
2025-03-16 15:15:40 -06:00
Paul Davis
7bdb86b357
call a spade a spade (or rather, a MidiView a view)
2025-03-16 15:01:51 -06:00
Paul Davis
f3e5c7531e
remove one #warning (of several left from the pianorule refactoring)
2025-03-16 15:01:51 -06:00
Martin Vlk
1691d2cedb
Czech translation updates.
2025-03-16 19:07:35 +01:00
Paul Davis
d5f9375c98
rename CueMidiBackground to PianorollMidiBackground; fix channel used when clicking on pianoroll header notes
2025-03-16 10:21:10 -06:00
Robin Gareus
7f6f3d64f1
macOS/YDK: Fix crash when resizing windows
...
_gdk_window_process_updates_recurse() may recurse (duh),
and reenter drawRect. So `needs_display_region` needs
to be unset immediately, not at the end of the method.
2025-03-16 01:57:16 +01:00
Paul Davis
c7d307ba65
remove debugging output
2025-03-15 16:07:57 -06:00
Paul Davis
aae1e6a76e
no transport controls in pianoroll unless asked for
2025-03-15 16:07:39 -06:00
Paul Davis
75bc3ec77e
transport state tracking for pianoroll transport controls
2025-03-15 15:47:43 -06:00
Paul Davis
04a8fb1eb6
add mostly-function play/loop/solo buttons to pianoroll
...
These need to be hidden when working on cues
2025-03-15 10:56:47 -06:00
Paul Davis
68a93b3804
fix the construction of a reversible command to be HistoryOwner specific
2025-03-15 10:56:17 -06:00
Paul Davis
b60239c1dc
get playhead cursor in a timeline pianoroll operational
2025-03-14 17:25:05 -06:00
Paul Davis
4898f5a894
remove debug output
2025-03-14 16:45:31 -06:00
Paul Davis
0758ffe6d6
use the full passed-in parameter when dealing with velocity in a pianoroll
...
The channel matters, and is present in the argument, so don't just pick zero as a stupid
default
2025-03-14 16:37:48 -06:00
Robin Gareus
a83f28231f
Show properties of most recently selected strip
2025-03-14 23:29:45 +01:00
Robin Gareus
c2df0bd236
Fix layout of selection property box w/pianoroll
...
Shrink properties IFF pianroll is visible, expand pianroll
whenever it is visible.
2025-03-14 23:29:45 +01:00
Paul Davis
179fd25715
some fixes for sigc::connection mgmt and lifetime mgmt for EditingContext
2025-03-14 15:56:21 -06:00
Paul Davis
c509de6814
work on fixing/improving MIDI region/track scrolling behavior
2025-03-14 13:24:49 -06:00
Paul Davis
367800830d
in internal edit mode, a rubber-band select with no motion (i.e. click) selects region
2025-03-14 13:24:49 -06:00
Robin Gareus
f4b29e0efa
Use a shared route comment editor for all RouteUIs
2025-03-14 00:21:37 +01:00
Robin Gareus
d8b77aa719
Prepare for single comment-editor per route
...
Previously every RouteUI would create their own (Editor-mixer,
Mixer, Cue,..). Compare to StripableColorDialog.
2025-03-13 21:30:47 +01:00
Robin Gareus
b46f83a46a
Tweak clearlooks shadow-less frame border to 1px
2025-03-13 20:52:35 +01:00
Robin Gareus
24103bd7ab
Route name verification does not require a Route
2025-03-13 19:24:33 +01:00
Paul Davis
7e8286d9fb
zoom-to-selection is Editor-only
2025-03-13 09:08:14 -06:00
Robin Gareus
41f0fd20f1
Allow bypassed aux-panners of multi-channel sends
2025-03-13 13:32:46 +01:00
Paul Davis
49d9701aaf
cleanup a virtual method that is no longer relevant after the prior commit
2025-03-12 21:15:32 -06:00
Paul Davis
252be10a73
fix action group used for Editor/set-mouse-mode-object-range
2025-03-12 21:10:44 -06:00
Paul Davis
b403f7b8ed
fix typo in a DEBUG_TRACE message
2025-03-12 21:10:24 -06:00
Paul Davis
399e5bac9e
manual fixup after failed rebase merge
2025-03-12 17:59:56 -06:00
Paul Davis
56e587476e
continuing work managing bindings, actions and action groups
2025-03-12 17:59:24 -06:00
Paul Davis
0a918692c8
fix keybindings definitions to work with continually evolving Editor/Editing split
2025-03-12 17:58:35 -06:00
Paul Davis
90d5c82886
do not run ::associate() for bindings used as templates
...
This needs a better solution than this hack
2025-03-12 17:58:35 -06:00
Paul Davis
bfa39cd57a
change the renaming process in Bindings::relativize()
...
We used to strip the group name from an action name, then prepend the
Bindings object name.
Now we simply prepend the Bindings object name.
So if the named action was Zoom/temporal-zoom-in it becomes, for example,
MidiCueEditorZoom/temporal-zoom-in
2025-03-12 17:58:35 -06:00
Robin Gareus
3aaff8ff14
Delete region-editor of Pianoroll Window
...
This fixes `SessionHandleRef exists across session deletion! Dynamic type: ARDOUR::MidiRegion`
2025-03-12 23:20:35 +01:00
Robin Gareus
ba7fa1b33f
NO-OP: indent and fix linter warning
2025-03-12 23:19:01 +01:00
Robin Gareus
29a51abd28
Remove redundant item::remove call from previous commit
2025-03-12 22:50:39 +01:00
Robin Gareus
5cd7c1d6e5
Cleanup Pianoroll canvas
2025-03-12 22:30:16 +01:00
Paul Davis
83d2adfd67
remove current_editing_context concept
...
All bindings, actions and members of an EditingContext are now per-EditingContext,
and have no impact on others (other than cursors).
2025-03-12 12:36:34 -06:00
John Emmas
a4ee85c4a1
Some new gtkmm2ext functions need to be visible outside of gtkmm2ext
2025-03-12 11:10:47 +00:00