Commit graph

27 commits

Author SHA1 Message Date
Paul Davis
f81b700395 more work on midi cue editor automation line colors (when insensitive) 2025-01-06 20:41:02 -07:00
Paul Davis
25b830b032 fix event handling/routing from MidiView up to EditingContext
in particular, rename MidiView::canvas_group_event() to
avoid confusion with TimeAxisViewItem::canvas_group_event()
since a MidiRegionView inherits from both these classes.
2024-12-27 14:00:55 -07:00
Paul Davis
084a23a80d some work on being able to swap channels and have different MIDI automation displayed in pianoroll 2024-12-20 11:48:40 -07:00
Paul Davis
8486c5ba98 kind-of-sort-of get MIDI automation editing working in cue editor/pianoroll
Still lots of details required here but the basic idea of displaying multiple lines and only
editing one is now operational
2024-12-20 10:08:20 -07:00
Paul Davis
755aeb74b0 midi cue view can use midi view's canvas event method directly 2024-12-12 11:53:15 -07:00
Paul Davis
bbcacc586f midi cue view does not need a slot index 2024-12-12 11:53:15 -07:00
Paul Davis
d3272a6400 midi cue editor: don't allocate space for automation till asked to do so 2024-11-12 08:51:29 -07:00
Paul Davis
0622f26b2a redesign cue editor layout to use ArdourButton and GtkBoxen 2024-11-12 08:12:16 -07:00
Paul Davis
47db75b0d6 cleanup some aspects of midicue editor playhead behavior 2024-11-11 21:49:55 -07:00
Paul Davis
c08cfa8109 more work on multiple automation display 2024-11-08 12:16:09 -07:00
Paul Davis
bbdb6b0e63 more extensive automation display design for cue editor 2024-11-07 16:10:31 -07:00
Paul Davis
b3a22a024c add more buttons to midi cue editor and use Canvas::Box for packing 2024-11-05 14:59:20 -07:00
Paul Davis
19e4063b6b add a button bar and 1 button at the bottom of the MidiCueView 2024-11-05 13:27:22 -07:00
Paul Davis
d7e85de7c2 first somewhat version of show-clip-capture MIDI notes as they arrive 2024-10-17 07:44:33 -06:00
Paul Davis
01068fe306 further adventures in drag-refactoring do that LineDrag can be used in MidiCueEditor also 2024-10-17 07:44:32 -06:00
Paul Davis
2afdeb519f refactor rubberband drags to take a functor for the no-drag condition
Also move code for adding automation line control points into automation line, rather
than in AutomationTimeAxisView (some work still required to finalize this)
2024-10-17 07:44:32 -06:00
Paul Davis
b8fb779fa7 allow dragging in MIDI automation line in cue editor
Note: once this is cleaned up and checked with respect to snap and more,
the same should be done for MidiRegionView
2024-10-17 07:44:32 -06:00
Paul Davis
4b8c51574d refactor the "selectables" API to allow use within separate (e.g. cue) editors 2024-10-17 07:44:32 -06:00
Paul Davis
ca1583cdad the great onceification (gui)
Replace use of #ifndef header guards with #pragma once

Modern C++, baby!
2024-10-17 07:44:31 -06:00
Paul Davis
71d5b50a94 kinda-sorta get an automation line for modwheel in the cue editor 2024-10-17 07:44:31 -06:00
Paul Davis
fa993ec9f4 various fixes to get lollipops to display (cue editor only so far) 2024-10-17 07:44:31 -06:00
Paul Davis
0399cd9d02 initial use of refactored VelocityDisplay 2024-10-17 07:44:31 -06:00
Paul Davis
f80395fc2f use MidiModel::ContentsChanged to drive MIDI cue edit swaps (GUI version)
No need for a special method called post-edit
2024-10-17 07:44:31 -06:00
Paul Davis
fcfa4fecb4 more preparation for MIDI cue editing to propagate to the slot (trigger) 2024-10-17 07:44:30 -06:00
Paul Davis
044aec6563 basics of MIDI clip editing notification via model swap 2024-10-17 07:44:30 -06:00
Paul Davis
30a7f44c12 fix geometry calculations during NoteCreateDrags.
This also only uses the draw length parameter if no motion
occured during the NoteCreateDrag. Otherwise it uses the length that was
dragged (which is subjected to a threshold).
2024-10-17 07:44:30 -06:00
Paul Davis
fcf5bb88d5 cue editor/piano roll: starting to get mode buttons working and keybindings too 2024-10-17 07:44:30 -06:00