summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas_events.cc
AgeCommit message (Collapse)Author
2020-05-05do not clear selection when clicking on canvas in internal modePaul Davis
2020-04-17Fix canvas scroll-event zoom-focusRobin Gareus
Unconditionally use the mouse-cursor as zoom-focus when holding <ctrl> while scrolling on the canvas. This is consistent with using ctrl + scroll in the ruler area.
2020-04-17Allow to override zoom-focus to mouseRobin Gareus
When Prefs > Editor > Zoom to mouse position... is disabled. Ctrl + Scroll now allows to override the current zoom-focus, and zoom in/out at the mouse-cursor position.
2020-03-25remove some additional debug outputPaul Davis
2020-03-25likely fix for cases where a button release event falls through from the ↵Paul Davis
canvas to the editor, during a drag The drag code expects coordinates in canvas coordinates, but we were not translating them at the editor level (canvas event handling does do this, but cannot affect the situation if the event falls through to the editor)
2020-03-25more playhead-drag/click locate debuggingPaul Davis
2019-08-03Update GPL boilerplate and (C)Robin Gareus
Copyright-holder and year information is extracted from git log. git history begins in 2005. So (C) from 1998..2005 is lost. Also some (C) assignment of commits where the committer didn't use --author.
2019-08-01(Source List) Revert to displaying whole-file Regions instead of Sources.Ben Loftis
This preserves the stereo-ness of files that were imported or recorded in stereo. ToDo (maybe someday): provide a disclosure triangle that exposes the individual channels in a multichannel region
2019-08-01(Source List) NOOP: whitespace cleanupPaul Davis
remove debug output
2019-08-01(Source List) Fix drag-n-drop.Ben Loftis
2019-08-01(Source List) Region Tags (gtk2 part)Ben Loftis
2019-08-01(Source List) Region List rewrite (gtk2 part)Ben Loftis
See: https://docs.google.com/document/d/1sI7p9RoRVZtNx2n67RvBa0_16fuZblV_lNkkKN2g93s/edit?usp=sharing
2019-04-09Another round of whitespace fixesRobin Gareus
2019-04-08Yet another "Rect frame" (not a sample)Robin Gareus
2017-09-18globally change all use of "frame" to refer to audio into "sample".Paul Davis
Generated by tools/f2s. Some hand-editing will be required in a few places to fix up comments related to timecode and video in order to keep the legible
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-05-05use CoreSelection for track selectionPaul Davis
2017-04-20Fix crash when clicking on the canvas while un/loading a session.Robin Gareus
GTK events are still handled while un/loading a session (e.g display "Loading" message or showing the splash triggers an event-loop run). Global canvas elements (e.g. Rulers) may respond to session-specific actions.
2017-02-27remove scroll wheel editing nonsense (tempo)nick_m
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-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-01-20GUI follow up for new-MIDI-track API changeRobin Gareus
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-11-11Add option to zoom using button press in the time rulers and dragging verticallyTim Mayberry
This is a common operation used for zooming in other DAWs like Ableton Live and Cubase. To support such a usage pattern without changing the existing behaviour of the ruler area I've made it an option that is false by default. The behaviour of RulerDragZoom is intentionally different than a CursorDrag that occurs in the rest of the ruler area in that it doesn't follow the snap to grid setting and no locate related stuff occurs until button release. There are some issues with responsiveness with more than a few hundred regions or a large amount of MIDI events/notes. Implements feature #6768
2016-07-14enough with umpteen "i18n.h" files. Consolidate on pbd/i18n.hPaul Davis
2016-07-06many changes associated with rationalizing selection flowPaul Davis
2016-05-31manually fix rebase/merge issues caused by addition of plugin presets to ↵Paul Davis
methods which add a new track/bus
2016-05-31first vaguely working version using PresentationInfoPaul Davis
remote control ID and "order keys" have been removed.
2016-05-27Tempo ramps - add visualtempo curve, dragging bbt or music rulers with ↵nick_m
constraint modifier dilates previous tempo.
2016-05-25fix region gain via range toolRobin Gareus
Moving the mouse over another region's gain line changed clicked_regionview. clicked_regionview is used along with range-time when initiating an AutomationRangeDrag.
2016-02-22remove all trace of SAE from source code.Paul Davis
This had become incoherent over time, and posed a development hazard and burden going forward
2016-01-25Make horizontal scroll increment consistent in ruler and track canvas areasTim Mayberry
In response to a comment in #6722, as there is little delineation between the ruler and track canvas areas it makes sense to keep the scrolling step the same to avoid unintended jumps in scrolling if mouse cursor moves between areas.
2016-01-21Bug #6722, Add UI config option to always use mouse position as zoom focus ↵Tim Mayberry
on scroll This means that mouse zoom scrolling behaviour is consistent on the ruler canvas area and track canvas area. The config option defaults to true so this means the behaviour of Mixbus will be unchanged but in Ardour the ruler area will now follow the option so by default will use the mouse position as zoom focus when zooming rather than the zoom focus setting.
2016-01-21Refactor code into Editor::temporal_zoom_step_mouse_focus methodTim Mayberry
2016-01-21Fix/implement #6292, Shift + scroll wheel Scrolling in the ruler areaTim Mayberry
Keep the same scrolling distance per event as when scroll left/right is used. Scrolling in the ruler area is different than the track canvas area which I'm not sure is a great idea as there is not much delineation between the two areas but as the ruler area has some other different behaviour it is probably acceptable/useful.
2016-01-21Refactor scrolling in Editor ruler canvas area into two utility methodsTim Mayberry
2016-01-21Remove goto in Editor::track_canvas_scrollTim Mayberry
2016-01-21Refactor scrolling track canvas in Editor class into two utility methodsTim Mayberry
2015-12-07Fix zooming via ctrl+scroll in midi regions when note is selected.André Nusser
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-09-16Move UIConfiguration Singleton into UIConfiguration headerTim Mayberry
This removes the direct dependence on ardour_ui.h from 39 files
2015-08-27Allow creation of region gain points by clicking on a line.nick_m
- Also fixes new AutomationLine points having huge offsets on creation via line click (window vs canvas event sample).
2015-07-23rename Marker classRobin Gareus
Classes are in the global namespace. OSX has a flat namespace and OSX32bit/Carbon has a Marker too.
2015-06-22Amend last commit.nick_m
2015-06-22Clicking an automation track line without a move adds a point on the line.nick_m
2015-03-27dropzone: honor AutoConnectMaster.Robin Gareus
2015-03-25Fix some strings incorrectly marked for translation.nick_m
My apologies to translators.
2015-03-25implement drags from off-canvas to the drop-zone.Robin Gareus
fixes #6195 #6205