13
0
Commit Graph

39625 Commits

Author SHA1 Message Date
fcf5bb88d5 cue editor/piano roll: starting to get mode buttons working and keybindings too 2024-10-17 07:44:30 -06:00
009a0e6ffb stacktraces to help track down missing actions 2024-10-17 07:44:30 -06:00
59ed3d7138 cleanup canvas piano roll header so that it can exist with no current MidiView 2024-10-17 07:44:30 -06:00
d356cacb2a working and accessible canvas cursor setting 2024-10-17 07:44:30 -06:00
7899829a5e note range for midi * views API cleanup 2024-10-17 07:44:30 -06:00
9d8ddd814c expose ::set_note_range() as public in MidiView 2024-10-17 07:44:30 -06:00
a3491a13df fix drawing translation issue 2024-10-17 07:44:30 -06:00
df25386d2f basically functioning piano roll for midi cue editor 2024-10-17 07:44:30 -06:00
f7b6a3cac8 tentative beginnings for a canvas piano roll header 2024-10-17 07:44:30 -06:00
5acedc036a fix up event handling so that MIDI note drag works in cue editor 2024-10-17 07:44:30 -06:00
2b51e0ec24 prefer lambdas to stupid stub static functions 2024-10-17 07:44:30 -06:00
abf372ad46 and we have h-scrolling in the cue editor 2024-10-17 07:44:30 -06:00
f425a974d6 the continuing co-evolution of Editor,EditingContext & MidiCueEditor 2024-10-17 07:44:30 -06:00
10244c0360 tempo bar and BBT ruler in MIDI cue editor 2024-10-17 07:44:30 -06:00
a523551228 use SMF tempo map if available in MidiCueEditor 2024-10-17 07:44:29 -06:00
715ac5cd3a use new SMF::tempo_map() method when importing tempo map from SMF 2024-10-17 07:44:29 -06:00
b35b30c230 factor out code to extract a TempoMap from an SMF 2024-10-17 07:44:29 -06:00
f6b069d251 steps toward rulers for the MIDI cue editor 2024-10-17 07:44:29 -06:00
e3205bded0 do something to make MIDI bindings accessible in any EditingContext 2024-10-17 07:44:29 -06:00
bde4768734 move a bunch of MIDI editing into EditingContext 2024-10-17 07:44:29 -06:00
a2f04a3104 virtualize event handling methods for EditingContext 2024-10-17 07:44:29 -06:00
9dbdf0eb43 share code between MidiRegioNView and MidiView 2024-10-17 07:44:29 -06:00
0311bffed8 progrss with rubber band selection and event handling in MIDI cue editor 2024-10-17 07:44:29 -06:00
10b48d2cc4 lock in some major steps for the midi cue/pianoroll editor 2024-10-17 07:44:29 -06:00
549defc068 more work on fixing pianorule recomposition of objects 2024-10-17 07:44:29 -06:00
3bd2d39d51 fixes to get redraws when note range changes 2024-10-17 07:44:29 -06:00
3700f191cd fix some region-view level selection issues 2024-10-17 07:44:29 -06:00
182a24751b get standalone MidiView to display notes
This also removes an unused TriggerBoxWidget from each regular
MixerStrip.
2024-10-17 07:44:29 -06:00
a8895e50c7 Fix behavior of midi region when height changes
MidiView cares about the previous height, so call that first, before
RegionView::set_height() sets the member that controls height()
2024-10-17 07:44:29 -06:00
69d929b9d2 no more slice.h 2024-10-17 07:44:29 -06:00
db89647676 revert scope change for a local variable 2024-10-17 07:44:29 -06:00
5a55f04b16 fix group used as parent for a Midi(Region)View
this fixed the nesting of the _note_group and thus notes are drawn
in the correct place.
2024-10-17 07:44:29 -06:00
0eeb281bd6 remove debug output 2024-10-17 07:44:29 -06:00
8e4edd0c07 Revert "separate out all bounds/position info from Region into "Slice""
This reverts commit f3da2cfd8b9dc077ee35fc3bbaf133adec23d463.
2024-10-17 07:44:29 -06:00
7a5d7cfe69 Revert "add set_* methods to Slice; remove property additions"
This reverts commit 81eee23baab2817218c1766c7d3c37fb7435e619.
2024-10-17 07:44:29 -06:00
c39558471f remove current slice usage/members 2024-10-17 07:44:29 -06:00
659382ecd8 convert debug output from printf to type-safe iostreams 2024-10-17 07:44:29 -06:00
33298a0ba0 get region-create drags working and no crashes (nut also no note) for note-drags 2024-10-17 07:44:29 -06:00
27e9e19aac initial refactoring of MidiRegionView IS-A MidiView 2024-10-17 07:44:29 -06:00
38ebe95613 add missing files 2024-10-17 07:44:29 -06:00
54c41372cc fix a rebase error 2024-10-17 07:44:29 -06:00
2b997343a4 first working visual evidence of MIDI display/editing on cue page 2024-10-17 07:44:29 -06:00
ff962821ad NO-OP: comment fix 2024-10-17 07:44:29 -06:00
584d97bc2d NO-OP (whitespace) 2024-10-17 07:44:29 -06:00
e24d1d069d all streamviews are now ViewBackgrounds
This new inheritance heirarchy lets us share (a very small piece of) code
between streamviews in the Editor and the nascent piano roll object on the cue
page.
2024-10-17 07:44:29 -06:00
a550b6482f start using the now-compilable MidiView
Nothing yet derives from this, but MIDI display items and drags
do use it.
2024-10-17 07:44:29 -06:00
fb1dbb1e9c remove method decls no longer based in PublicEditor.h 2024-10-17 07:44:29 -06:00
a6e02d7a94 add set_* methods to Slice; remove property additions
Derived classes (currently only Region) just register the Slice properties
_start and _length.
2024-10-17 07:44:29 -06:00
e3be2c781f constification of EditingContext/{Public}Editor time+snap methods 2024-10-17 07:44:29 -06:00
9e5211e9b1 move 2 relative time methods from RegionView to EditingContext 2024-10-17 07:44:29 -06:00