summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
AgeCommit message (Collapse)Author
2010-09-26correct version of: port cairo ARGB/BGRA -> pixbuf RGBA patch from recent ↵Paul Davis
2.X commit (restores text on canvas), in which i move some functions around, rename stuff and add comments git-svn-id: svn://localhost/ardour2/branches/3.0@7846 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22much craziness with canvas cursors; fix 0 beat cursor text when shortening ↵Paul Davis
notes; fix crash when trimming locked regions; don't show trim cursors when region is locked; partial version of enumwriter validation fix from 2.X (less necessary with 3.0; probably more ... git-svn-id: svn://localhost/ardour2/branches/3.0@7831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21Don't update region list during region trim. Fixes #3467.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7825 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21(1) remove almost-never used block/unlock_property_changes() methods from ↵Paul Davis
PBD::Stateful (2) hide used and path columns from region list (3) detect mouse position within MIDI notes and thus allow move or trim from the same mouse mode (object or trim; first & last 1/4 of each note is for trimming git-svn-id: svn://localhost/ardour2/branches/3.0@7823 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21Updating zoom mouse cursor on modifier press. Fixes #274.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21restore a moved placement of the assert taken out in the previous commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7818 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-21lincoln's patch that makes us pay attention to region copies w.r.t the ↵Paul Davis
region list, PLUS make region list insert drags work again by not insisting that the list of regionviews be non-empty as the drag is constructed PLUS the start of tracking mouse cursor position in MIDI notes PLUS a bit of leftover debugging info git-svn-id: svn://localhost/ardour2/branches/3.0@7817 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-18Disable region drags in internal edit mode. Fixes #3456.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7800 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17copy edit commentPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7797 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17fix reversed direction of MIDI note drag previewPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7796 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17fix errors in midi note drag preview (#3446)Paul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7793 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-17megaopus commit: (1) add __STD_(LIMIT|FORMAT)_MACROS to command line flags ↵Paul Davis
for cc and c++ builds, remove them from source (2) add new Property::midi_data used by MidiRegion to signal that its (MIDI) contents have changed (3) massive switch from nframes_t to framepos_t/framecnt_t including removal of ARDOUR::max_frames (replaced by ARDOUR::max_frame{pos,cnt} (lots more to do but this set was driven by changes to the Diskstream API to use framepos_t git-svn-id: svn://localhost/ardour2/branches/3.0@7791 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-15cleaner version of previous commitPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7783 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-15(optionally) play note(s) as they are moved around on the pitch axis ↵Paul Davis
(finishes #3446) git-svn-id: svn://localhost/ardour2/branches/3.0@7782 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-13restore "add MIDI region on click in MIDI track" functionalityPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7768 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09Allow drags of automation in time ranges where the automation is on a MIDI ↵Carl Hetherington
track and may span different regions. Fixes #3366. git-svn-id: svn://localhost/ardour2/branches/3.0@7765 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09Add some debugging code for mouse drags.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7763 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09nframes64_t -> frame{pos,cnt}_tCarl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-09Fix confusion with _pointer_frame_offset and snapping; makes e.g. playhead ↵Carl Hetherington
drag with grid snap to region bounds work. git-svn-id: svn://localhost/ardour2/branches/3.0@7758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-07Lincoln's patch to tidy up region fade visuals. Fixes #3437.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7748 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-06Cleanup of region drag code to be a bit more efficient and shorter. Fixes ↵Carl Hetherington
crashes when dragging regions to the wrong track type. git-svn-id: svn://localhost/ardour2/branches/3.0@7744 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-26some (unfinished) work on incorporating Ben's rev 6919 changes regarding ↵Paul Davis
track selection; make newly selected tracks show the current range selection; fix crashes related to meter display; remove "all" group from main group tab display and just put it down in its own button (totally incomplete); minor cleanups git-svn-id: svn://localhost/ardour2/branches/3.0@7696 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-26Fix crossfade undo using the stateful diff system. Fixes #3257.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-25clear_history -> clear_changes and some comments.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7685 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-25Snap to grid when drawing MIDI regions. Fixes #3412.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7679 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-24Tidy up region drag move code a bit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7672 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-22forward port of 7539 from 2.xPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7667 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-20Limit region-based automation to the edges of regions. Fixes #3201.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7662 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-20Allow drag when creating a MIDI region. Fixes #3363.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7657 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-19Fix drag from region list onto track.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-19Snap to note start rather than mouse pointer when dragging MIDI notes. ↵Carl Hetherington
Fixes #3187. git-svn-id: svn://localhost/ardour2/branches/3.0@7654 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-18Set cursor to hint that you can drag automation up and down in object/range ↵Carl Hetherington
link mode. git-svn-id: svn://localhost/ardour2/branches/3.0@7651 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-13Fix bug whereby region could not be dragged to the start of the session.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-10Improve ctrl-click behaviour of automation points. Should fix #3385.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09Allow markers to be glued to bar/beat time. Fixes #1815.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7573 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-09Update note name correctly during drag. Fixes #3382.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7572 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-06Fix up selection of automation points.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7556 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-05Clean up handling of track vs region automation a bit.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7544 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-04Allow rubberband selection of MIDI automation points. FixesCarl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7535 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-08-02Suspend transport timecode transmission during playhead drag. Should fix #3324.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7528 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-08Send MTC/MMC on the initial playhead grab as well as on subsequent movement.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7393 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-07Transmit MTC on playhead drag, as per #3239.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7389 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-06beat slicing patch #1 from lincoln spiteriPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7381 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-05Do MMC on playhead drag more efficiently by not doing an actual locate.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7370 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-07-04Locate during playhead drag, the primary motive being to get MMC to be sent ↵Carl Hetherington
during the drag, fixing #3239. git-svn-id: svn://localhost/ardour2/branches/3.0@7365 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-29Fix vertical canvas autoscroll when dragging track heights. Fixes #3240.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@7327 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-28Disable midi model updates during trim drags. Speeds the drags up at the ↵Carl Hetherington
cost of not updating notes in real-time. Fixes #3162. git-svn-id: svn://localhost/ardour2/branches/3.0@7315 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-17new fade in/fade out colors from chrisgPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@7272 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-17new fade in/out handle cursors from chrisg (maybe to be improved); show MIDI ↵Paul Davis
note velocities; try to show note length while dragging notes (in progress); some debugging output git-svn-id: svn://localhost/ardour2/branches/3.0@7271 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-06-17new trim cursors from chrisg, fix up hotspots for said cursors, make Editor ↵Paul Davis
cursors public; note draw mode now trims existing notes (but without trim cursor :( git-svn-id: svn://localhost/ardour2/branches/3.0@7270 d708f5d6-7413-0410-9779-e7cbd77b26cf