b0b584c2a5
the basics of step editing, more details to follow
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5629 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-03 12:39:50 +00:00
Carl Hetherington
5cbfdb8bed
Remove some unnecessary code. Preserve selection when regions are dragged to new tracks.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5602 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-28 23:50:42 +00:00
Carl Hetherington
28af0265b5
When a track is in "stacked" mode, allow regions to be moved to different layers by dragging
...
and dropping. In stacked mode, the relayering by "recently added / moved etc. is higher" setting
is ignored, and regions are put on the layer that they are dropped to, unless:
1. they are dropped so that they overlap another region on the same layer, in which case they
are put on the layer above that one.
2. they are dropped such that they could be put on a lower layer with no audible difference, in
which case they are put on the lower layer.
git-svn-id: svn://localhost/ardour2/branches/3.0@5590 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-26 00:06:21 +00:00
Carl Hetherington
bc18abeba9
Slightly modified patch from lincoln to fix mantis 1636.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5588 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 23:52:33 +00:00
Carl Hetherington
df71243d6c
Alter snap modifier so that it turns the grid on when it's off as well as vice-versa.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 20:26:34 +00:00
Carl Hetherington
29fea7b61d
Don't use pointer_frame_offset for playhead cursor drags as it seems more intuitive without.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5583 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 19:23:01 +00:00
Carl Hetherington
27feb19897
Small cleanup.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5574 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-24 02:10:46 +00:00
Carl Hetherington
789949faf9
Fix crash on drag selection.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5569 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-22 19:54:32 +00:00
3162ffb4f4
move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode buttons when in internal/MIDI mode; arrow key control of note velocity, value and position - hey look ma, MIDI editing!
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5539 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-17 15:58:47 +00:00
Carl Hetherington
ce3ca76f96
Modified patch from drmoore to fix mantis 2808 (drag rectangle left behind after loop or punch range drag)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5487 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-08-04 18:18:57 +00:00
Carl Hetherington
b65f8073ba
Fix some unused parameter warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5403 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-21 15:55:17 +00:00
Carl Hetherington
402cc384ce
Back out big shared_ptr change. Moving to a branch. Apologies all.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5343 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 17:58:13 +00:00
Carl Hetherington
c3400bc877
Fix uninitialised variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5340 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 15:00:12 +00:00
Carl Hetherington
4297071b3f
Use shared_ptr for the TimeAxisView hierarchy.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5339 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-07-09 13:39:45 +00:00
Carl Hetherington
7b66abc7aa
Fix automation control point dragging.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5278 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-26 12:20:11 +00:00
Carl Hetherington
498afeb63e
Various adjustments to make more operations respect the Edit property on route groups.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5273 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-25 20:58:32 +00:00
Carl Hetherington
8cd536ab85
Patch from Lincoln to fix crashes on region trim.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5235 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-21 18:34:08 +00:00
Carl Hetherington
478bab5380
Prevent vertical autoscroll when dragging the playhead.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5186 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-14 13:32:17 +00:00
Carl Hetherington
804da56531
Various fixes and improvements to editor summary widget.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5179 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-13 17:52:51 +00:00
Carl Hetherington
8eb17211b5
Hopefully fix assertion failures in gnomecanvas when dragging track heights.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5175 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-12 19:05:16 +00:00
Carl Hetherington
dc6007cdb7
Cleanup to snap handling; fixes #2688
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5158 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 21:31:00 +00:00
cc8598b071
support scrubbing via new Drag abstraction (probably could be split off 100% from Editor)
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5152 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-10 13:58:22 +00:00
Carl Hetherington
9bd274bfde
Fix previous commit in debug mode.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5136 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 16:32:20 +00:00
Carl Hetherington
7f3e6769b3
Fix a drag crash and some warnings.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 15:46:33 +00:00
Carl Hetherington
a71daf6a06
Fix daft bugs causing crashes on dragging tempo markers.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5134 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-09 08:41:43 +00:00
Carl Hetherington
6475590847
Remove unused variable.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5130 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 22:15:40 +00:00
Carl Hetherington
ba0e0d390e
Fix oddities when dragging regions below the bottom visible track.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5129 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 22:10:27 +00:00
Carl Hetherington
fb83e8ef14
Fix dragging crash.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5128 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 21:53:45 +00:00
Carl Hetherington
0874426a5b
Further refactoring of drag code. Changes so that drags from the region list display a region view during the drag.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5127 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-08 19:28:51 +00:00
Carl Hetherington
27915ccdc0
Clean up use of first_move, move thresholding etc.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5116 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-02 00:39:57 +00:00
Carl Hetherington
ac8c034908
Some small cleanups to dragging.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-06-01 23:16:36 +00:00
Carl Hetherington
962efaf05e
Pull dragging code out of the Editor class into its own hierarchy.
...
git-svn-id: svn://localhost/ardour2/branches/3.0@5113 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-05-30 18:25:59 +00:00