Commit graph

6 commits

Author SHA1 Message Date
Paul Davis
08f77136b9 small class rearrangement for ViewBackground and derived classes related to geometry management 2025-06-04 20:43:18 -06:00
Paul Davis
1ed9876446 Change various positions and dimensions to integer from double
This includes note heights, note positions, contents height
for streamviews, positions of tracks. It makes zero sense to think of these as
having potentially fractional positions.

In addition, fractional note heights and positions lead to numerous
errors drawing MIDI stuff at the pixel level.
2025-06-02 19:28:10 -06:00
Robin Gareus
7a06524f79
Fix crash when loading session from a running instance
ViewBackground never unsubscribed from UIConfiguration
callbacks when it was destroyed. Loading another session
that can cause UIConfig change signals to be emitted
caused a heap-use-after-free.
2024-12-05 03:51:38 +01:00
Paul Davis
e11caf2dea various changes to get MIDI clip recording to display the post-capture region 2024-10-22 14:49:50 -06:00
Paul Davis
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
Paul Davis
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