summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
AgeCommit message (Collapse)Author
2014-11-14Fix wonky note length when create-dragging notes backwards.David Robillard
Specifically, when pivoting from forwards to backwards (around the drag start point), the note length was too long. Setting both the start and end x coordinates of the rect every time to the right value does the right thing.
2014-11-13Fix crash when deleting overlapped regions.David Robillard
Use RegionSelection for MIDI regions as well, since the old dumb stub didn't do some things correctly. There's probably no reason to have a separate class for this at all, and some good ones for putting all regions in the same selection, so we should probably do that. For now they are still separate in the selection but use the same base class.
2014-10-21remove "canvasvar_" from all functions related to obtaining values from ↵Paul Davis
ARDOUR_UI::config()
2014-10-21remove mouse zoom mode; bind z to zoom-to-rangePaul Davis
2014-09-17new code to support creating skip markersPaul Davis
2014-09-15fix double-click-shows-region-properties in Ripple modeBen Loftis
2014-09-04Revert "cont'd work on automation-track headers (amend ba53af1c5)"Robin Gareus
This reverts commit beb5e3e777b0e92e8dde7ee12c324b32c679ff63.
2014-09-03cont'd work on automation-track headers (amend ba53af1c5)Robin Gareus
now that the separator line is at the top, offset region-contents y0 by 1px.
2014-08-05Initial steps towards usable range-based automation editing.Ben Loftis
TODO: needs undo. only works in top quarter of automation lane. selection model feels weird sometimes. needs to show gain curve when you are using Range tool
2014-07-14remove EditAtSelectedMarker for Mixbus, to match mb2. (also fix an existing ↵Ben Loftis
thinko in the edit point selection actions) (oops: also fix previous track selection fix so that it pays attention to the selection property of the group)
2014-07-09polish a few blemishes and add some commentsBen Loftis
2014-07-09fix range select so it picks up grouped tracksBen Loftis
2014-07-08call Canvas::re_enter() at the end of a RegionCutDrag so that ↵Paul Davis
entered_regionview *might* be set
2014-07-08cut cursor follows gridPaul Davis
2014-07-07fix build after copy-n-paste/code change collisionPaul Davis
2014-07-07some code shuffling to make sure that cut mode always operates at the mouse ↵Paul Davis
location, with (maybe) the right regions
2014-07-07use an EditorCursor when dragging in cut mode to indicate cut positionPaul Davis
2014-07-07add functionality for cut toolPaul Davis
2014-07-03if a Range end is trimmed, in follow-edits mode, locate to the range end so ↵Ben Loftis
it can be auditioned. (same as trimming a region end)
2014-07-03fix the naming and behavior of always-play-range to match the button, which ↵Ben Loftis
is follow-edits. when you select a range, the playhead should jump to the start of the range and begin to play the selection. BUT (unlike previous implementation) if the user wants to relocate the playhead, then that should be allowed. The user should always remain in charge of the playhead location. NOTE: your previous config setting will be invalidated. You must re-save a session to overwrite with the new config variable
2014-07-01Ripple mode: ripple all after start of first selected regionColin Fletcher
Ripple drags should affect all regions which start at or after the beginning of the first selected region, not just those which start after its end.
2014-07-01Ripple mode: remove debug outputColin Fletcher
Remove std::cerr output, and tidy up a couple of comments.
2014-07-01Merge branch 'ripple-mode-cc' into cairocanvasColin Fletcher
Fix up merge conflicts in gtk2_ardour/editor_mouse.cc gtk2_ardour/editor_ops.cc Also fix up compile errors.
2014-07-01Fixes for ripple mode dragColin Fletcher
Make undo of ripple mode dragging work a bit better, and hopefully prevent rippled regions from jumping about when being dragged.
2014-06-26use new TrackingText for verbose cursorPaul Davis
2014-06-25move utility functions into a dedicated namespaceRobin Gareus
2014-06-21use newly factored canvas in gtk2_ardourPaul Davis
2014-06-19modifications to region drag implementationPaul Davis
(1) if we're dragging over the drop zone, then x-axis motion is irrelevant for threshold-of-move (2) store original time axis view of a dragged region so that if we create a new track with the region drag, it can be the same height
2014-06-17a set of inter-related subtle changes to get vertical autoscrolling to work, ↵Paul Davis
or at least work better.
2014-06-13do most of the work related to adding new anchored trim cursors (but ↵Paul Davis
debugging/analysis continues)
2014-06-13rationalize and coordinate handle of region (time axis view item) opacity.Paul Davis
There are still some bugs with this because of the waveview image cache - fixes coming soon.
2014-06-10remove ambiguous use of Rect (on OS X)Paul Davis
2014-06-09substantial changes in color management, involving a reduction in the use of ↵Paul Davis
Gdk::Color and more consistent logic for region coloring. Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-09allow a drag down over the drop zone to be "reversed" and the region moved ↵Paul Davis
back up into existing tracks
2014-06-08introduce Drag::_trackview_only which indicates that all y-axis positions ↵Paul Davis
for the pointer during a drag should be relative to the top of the trackview group. More or less all drags except for Cursor (playhead) and drags in the range marker bars have this true (which is the default value)
2014-06-06fix position where rubberband rect is drawnPaul Davis
2014-06-05fix up drawing and selection process for range selections (caused by subtle ↵Paul Davis
change in semantics of TimeAxisView::covered_by_y_range())
2014-06-05remove needlessly-added methodPaul Davis
2014-06-05reinstate a canvas group where we reparent regions while dragging, so that ↵Paul Davis
they are always on top. I mistakenly removed this during the onecanvas changes.
2014-06-03merge onecanvas and cairocanvas branches, and manually resolve conflicts, ↵Paul Davis
including rounding in item_to_window() methods
2014-06-03more profound changes to canvas scrolling, in particular find appropriate ↵Paul Davis
ScrollGroup for Canvas::{window,canvas}_to_{canvas,window}()
2014-06-03remove timebar canvas and just use a single canvas instead. This is just ↵Paul Davis
part one - lots of minor fixes to be done
2014-06-03remove incorrect calls to Editor::maybe_autoscroll() from specific Drag ↵Paul Davis
classes (autoscroll is handled by the Drag manager)
2014-06-03non-copy region drag now creates a new track when a region is dragged to the ↵Paul Davis
drop zone
2014-06-03part one of allowing region drag to the bottom (drop-zone) rect of track canvasPaul Davis
2014-06-01disable snap fades to 'other' region (for now)Robin Gareus
2014-05-31towards region-trims preserving fade durationRobin Gareus
2014-05-19comment tweakPaul Davis
2014-05-19adding a new track via copy-region-drag now works (and shares code with the ↵Paul Davis
non-copy case
2014-05-19non-copy region drag now creates a new track when a region is dragged to the ↵Paul Davis
drop zone