Commit graph

37629 commits

Author SHA1 Message Date
Paul Davis
744208f556 lollis: no more channel-based choice, just a single check menu item like gain/pan/etc. 2023-06-26 14:18:18 -06:00
Paul Davis
60256282e3 lollis: make a single drag be represented by a single Command object (for undo/redo) 2023-06-26 14:18:18 -06:00
Paul Davis
006779d4c3 lollis: better selection algorithm during drag, plus drawn line 2023-06-26 14:18:18 -06:00
Paul Davis
91500795d8 canvas: extend PolyItem API with ::add_point() 2023-06-26 14:18:18 -06:00
Paul Davis
6ea7e8c8f4 improve button up/down tracking during velocity draw drag 2023-06-26 14:18:18 -06:00
Paul Davis
6d4bbae48c prototyping mouse-drag-paint velocity 2023-06-26 14:18:18 -06:00
Paul Davis
31de7e93bf lollis: show note selected status (using note selection outlien color) 2023-06-26 14:18:18 -06:00
Paul Davis
8a204bcf51 lollis: draw stems in fill color (optionally) 2023-06-26 14:18:18 -06:00
Paul Davis
f3e996bdb7 NOOP: remove unnecessary namespace qualifier
BTW, ColorMode needs to move from libardour into the GUI
2023-06-26 14:18:18 -06:00
Paul Davis
25bb43e285 lollis: color management during drag, and verbose cursor 2023-06-26 14:18:18 -06:00
Paul Davis
c75b9a11ef lollis: fix drawing and positioning glitches 2023-06-26 14:18:18 -06:00
Paul Davis
a6c1a3d9d0 lollis: potentially clip circle with a bounding parent 2023-06-26 14:18:18 -06:00
Paul Davis
62bb8ccbeb removed unnecessary files 2023-06-26 14:18:18 -06:00
Paul Davis
01381dad77 lollis: remove unnecessary drag object member 2023-06-26 14:18:18 -06:00
Paul Davis
2d9a2ad668 lollis: also adjust velocity bars during the drag 2023-06-26 14:18:18 -06:00
Paul Davis
96c9f2ee19 canvas: add velocity() method to Note 2023-06-26 14:18:18 -06:00
Paul Davis
f7130f5c02 lollipop drag: move all selected notes 2023-06-26 14:18:18 -06:00
Paul Davis
279e648a43 canvas: ArdourCanvas::Lollipop to not (mis)use _position 2023-06-26 14:18:18 -06:00
Paul Davis
077c5ba5d1 NO-OP: add helpful comment 2023-06-26 14:18:18 -06:00
Paul Davis
cf7ba80fc1 the basics of lollipop dragging 2023-06-26 14:18:18 -06:00
Paul Davis
2977205f3a add skeleton for lollipop drags 2023-06-26 14:18:18 -06:00
Paul Davis
0a530d3c18 manual fixes following rebase on master 2023-06-26 14:18:17 -06:00
Paul Davis
16f682110f local lollippop fix for newer canvas lollipop API 2023-06-26 14:18:17 -06:00
Paul Davis
2a8f275174 sort of no-op: change variable name for slightly better legibility 2023-06-26 14:18:17 -06:00
Paul Davis
4b155cb946 Revert "file deleted"
The files are back.

This reverts commit c7e3e824d10bf211367a62f69287f6076d36106e.
2023-06-26 14:18:17 -06:00
Paul Davis
178917e627 Revert "do not need these files"
Seems that we will have a use for them after all.

This reverts commit f9ec3a952553deefea0a17809a97dc92d5cf6db7.
2023-06-26 14:18:17 -06:00
Paul Davis
4305ef34f8 switching between lollis and line now allows lollipop events 2023-06-26 14:18:17 -06:00
Paul Davis
a7af6fc6f8 lollipops: just directly set _position member 2023-06-26 14:18:17 -06:00
Paul Davis
1ad0894618 lollipops should render child items (currently none) 2023-06-26 14:18:17 -06:00
Paul Davis
51e7584dee another use of auto iterators 2023-06-26 14:18:17 -06:00
Paul Davis
cfbe6b6048 another use of auto iterators 2023-06-26 14:18:17 -06:00
Paul Davis
5c03ffd6f5 fix assignment/comparison typo 2023-06-26 14:18:17 -06:00
Paul Davis
2de0e62695 for velocity automation lanes, make sure ghosts group is on top
otherwise, it's the streamview on top, and that prevents lollipops receiving
events.

this may have to change once the line becomes an option.
2023-06-26 14:18:17 -06:00
Paul Davis
60628a62be somewhat active lollipop event handling 2023-06-26 14:18:17 -06:00
Paul Davis
f7e97be115 canvas lollipops: object redesign and reimplementation 2023-06-26 14:18:17 -06:00
Paul Davis
0f611b4efa C++ auto iteration FTW 2023-06-26 14:18:17 -06:00
Paul Davis
7e4a3dce01 lollipop pixel pushing 2023-06-26 14:18:17 -06:00
Paul Davis
1a4ef77222 C++11 FTW 2023-06-26 14:18:17 -06:00
Paul Davis
9089694e36 pops visible and somewhat responsive to note changes 2023-06-26 14:18:17 -06:00
Paul Davis
805ba0442f file deleted 2023-06-26 14:18:17 -06:00
Paul Davis
b157132807 do not need these files 2023-06-26 14:18:17 -06:00
Paul Davis
4bafadc419 steps to an ecology of lollipops 2023-06-26 14:18:17 -06:00
Paul Davis
52f10ad2a8 velocity views will be ghost regions 2023-06-26 14:18:17 -06:00
Paul Davis
e54e8f3f4c tweaks to GhostRegion to prepare for possible inheritance 2023-06-26 14:18:17 -06:00
Paul Davis
ba2f9411e2 oops, remove typo 2023-06-26 14:18:17 -06:00
Paul Davis
59ccc9c5ee velocity region views: strip out existing event handling (avoids crash) 2023-06-26 14:18:17 -06:00
Paul Davis
9e071f70d7 remove debug output 2023-06-26 14:18:17 -06:00
Paul Davis
2797ea9666 remove unusued "MIDI underlay" cruft 2023-06-26 14:18:17 -06:00
Paul Davis
0b050c47e4 build lollipops.cc 2023-06-26 14:18:17 -06:00
Paul Davis
187569dcbc new Lollipop canvas item 2023-06-26 14:18:17 -06:00