summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_drag.cc
AgeCommit message (Collapse)Author
2017-07-22Remove duplicated tempo curve colour change when draggingnick_m
2017-07-22Fix various issues wrt BBTRulerDragnick_m
If we've clicked on a tempo bar before the initial tempo, don't allow anything to happen. If it was just a click, ensure the tempo curve colour is restored.
2017-07-20Editor Summary: Don't require user to re-click to scroll + zoom.Ben Loftis
* Use conventions similar to those used in CursorDrag.
2017-07-20CursorZoomDrag rework:Ben Loftis
* If the use-time-rulers-to-zoom option is enabled, -all- cursor drags can zoom. * Behavior has been tweaked so it is easy to scroll without zooming, if you want to.
2017-07-01NO-OP whitespace (updated GH PR #357)Thomas Brand
2017-06-26Tweak/Change the zoom scale in RulerZoomDragTim Mayberry
This multiplier really should be based on the "responsiveness" of the canvas..or something. I think this is an improvement for more complex sessions with many regions.
2017-06-21Log-scale/relative automation point draggingRobin Gareus
2017-06-17Use Stripable::Sorter in GUI consistently.Robin Gareus
2017-06-10NoteCreateDrag - Fix incorrect note length due to use of region-relative ↵nick_m
position
2017-05-05use CoreSelection for track selectionPaul Davis
2017-04-22amend be62d335eeRobin Gareus
2017-04-21fix endless loop when clicking on the canvas w/o backendRobin Gareus
2017-03-07snapped pencil drawing of new midi regions cannot be zero (7271).nick_m
- fixes a couple of other oddities in the behaviour.
2017-03-07fix crash when dragging region from list.nick_m
2017-03-06more linked midi region trim drag fixes.nick_m
- freeze the correct playlists on fiorst move. - only update the start offset of linked regions once the drag has finished.
2017-03-06ensure no movement when draggin regions with x constrained.nick_m
- should fix 7260
2017-03-06fix undo if a midi region start trim changed the source offset.nick_m
- this diffs all playlists that use the same source. - the secons part hould be a no-op, but needs testing (trim drag undo on audio and midi regions)
2017-03-05tempo editing updatesnick_m
- a tempo marker may now be set to always continue (clamped) this means that the end tempo of the previous section will track the start tempo during tempo ops. it mimics the behaviour in 5.8, with the gui indicating the curves to be changed.
2017-03-05undoing a create note drag restores screen position.nick_m
2017-03-05rework percussive hit spraying.nick_m
- the spray is limited to the first entered note. - all new notes are selected (requires a selection change to MRV::create_note_at()
2017-03-05spraying percussive hits has one undo step per drag.nick_m
- should fix 7134
2017-02-27remove 'mouse:' verbose cursor when shift-dragging a curve.nick_m
2017-02-27back to using shift-ctrl for pinch drag. set colours of affected curves.nick_m
2017-02-27highlight the tempo curve that is to be altered, modify text to suit.nick_m
2017-02-27fix verbose cursor display when shift-dragging end tempo.nick_m
2017-02-27restore pinch tempo. it now operates via shift + alt drag on the curve.nick_m
2017-02-27remove tempo end drag (the control drag on the curve). a;ter tempo marker drag.nick_m
- holding down shift before initiating a tempo mark drag alters the end tempo of the previous one as before, but this is now a separate drag. - restore vertical dragging of the tempo mark to alter start/ end tempo. shift during the makrker drag alters start tempo. xontrol + shift during the drag alters end tempo.
2017-02-27fix formatting of bbtruler drag verbose cursor.nick_m
2017-02-27complete changes to tempo type.nick_m
- this implements in the intention behind the previous commit. a tempo mark is constant until its end has been changed by a shift-drag on the next marker.
2017-02-27rework tempo editing.nick_m
most changes are due to a new design where tempo discontinuities at the beginning of a ramped section may be set. this allows easier mapping of live performance, especially in the common case of a ramped ritard before the beginning of a new section. feature summary: holding constraint modifier (shift) while dragging the BBT ruler area drags the tempo lines by changing the start tempo (as before) holding copy modifier (control) while dragging the BBT ruler area drags the tempo lines by changing the end tempo (ahem. not quite there) dragging a tempo mark while holding constraint (shift) will change the previous end tempo to match the marker position *worth trying*. holding constraint and copy modifier (control + shift) while dragging the BBT ruler area attempts to'pinch' or twist the surrounding tempi sp that later ones are not repositioned (currently suffereng from rounding errors)
2017-02-19probable fix for crash while dragging playheadPaul Davis
2017-02-16fix constrained region drags across tracks (7242).nick_m
2017-02-08do NOT remove tracks from selection during drag selection on the basis of ↵Paul Davis
geometry alone. Membership of select-enabled route groups matters too.
2017-02-07hotfix for cross-track dragging bug with music-locked regions.nick_m
2017-02-07NoteDrag copy modifier detection is no longer explicit.nick_m
2017-02-05midi note drags are music-based.nick_m
- wysiwyg (during drag) when dragging more than one note across a tempo change. - introduces a muscal equivalent of snap_delta (only used for note drags atm) - split earliest note in selection into a separate function - MRV::copy_selection() returns the equivalent _primary note to avoid offset hell. - RV::snap_frame_to_frame returns a MusicFrame - prevent note drag moving before region start.
2017-02-04non-primary music-locked regions follow tempo changes while dragging.nick_m
- the contents still don't update but position is much more wysiwyg.
2017-02-04rework RegionMotionDrag so that we can actually drag a region to zero.nick_m
- did this ever work?
2017-02-04make dragging a region from the list not crash.nick_m
- its still a fake event, but we can at least get the snap correct. - playlist->add_region() parameters were whacky (for Playlist::add_region_internal()?)
2017-02-04fix thinko wrt Drag::adjusted_frame()nick_m
2017-02-04setup_snap_delta() need only take a framepos_t.nick_m
2017-02-04rework snapnick_m
snap now fills in a struct (MusicFrame) which contins a snapped frame along with a music divisor. this gives useful information wrt magnetic snap which may or may not have rounded to an exact musical position. region position may now be set musically (using quarter notes for now). this patch fixes several problems in the current code: - dragging a list of music-locked regions now maintains correct musical offsets within the list. - splitting regions using magnetic snap works correctly (#7192) - cut drag should now work correctly with magnetic snap. - musical length of split midi regions is no longer frame based.
2017-01-25improve range drag semanticsPaul Davis
If a track is selected during the drag (by moving the mouse pointer into a new track), but it was not selected at the start, and is then de-selected (by moving the mouse back out of it), then remove it from the selection.
2017-01-23implement copy-drag for MIDI notes.Paul Davis
Probably some corner cases to be fixed, but pretty functional and largely modelled on existing code (paste, drag, step add note etc.)
2017-01-20GUI follow up for new-MIDI-track API changeRobin Gareus
2017-01-10never remove tracks from selection during a range dragPaul Davis
2016-12-29allow all types of range location (loop, start, end etc.) to be glued to ↵nick_m
bars and beats.
2016-12-19Follow Edits => Follow RangeBen Loftis
* "Follow Edits" button had several behaviors that confused users. * "Follow Range" only has 2 behaviors: ** Click anywhere in Range mode (or Smart mode) to locate the playhead. ** When you select a Range, "Play" will play the selected range.
2016-12-19TempoMap - rename some methods.nick_m
gui_move_tempo -> gui_set_tempo_position gui_move_meter -> gui_set_meter_position gui_dilate_tempo -> gui_stretch_tempo
2016-12-19add frame parameter for Meter ctor and TempoMap::replace_meter(). allow for ↵nick_m
various failures.