summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas_events.cc
AgeCommit message (Collapse)Author
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
2015-01-29in mixbus, treat the canvas rulers just like the canvas wrt mouse-wheel-zoomBen Loftis
2015-01-26ignore context menu click events, notably during drag but also for a couple ↵Paul Davis
of other purposes Conflicts: gtk2_ardour/editor_canvas_events.cc
2015-01-11Fix AutomationTrackItem rubberband click thinking it was unhandled.nick_m
Fix several other cases where a single mouse click could cause several (not nested) selection ops. Fix missing selection memento for midi notes and midi commands. Rename some variables. Fix random style issues.
2014-12-22move all (G)UI related configuration parameters into UIConfiguration, not ↵Paul Davis
RCConfiguration
2014-10-21remove mouse zoom mode; bind z to zoom-to-rangePaul Davis
2014-10-21fix region drag/drop from region listRobin Gareus
The canvas’ Y-offset (rulers & scroll) needs to be subtracted here.
2014-07-14vertical scroll events should move by tracksPaul Davis
2014-07-01give drop zone its own cursor-abilityPaul Davis
2014-06-30make canvas drop sensitive to scroll eventsPaul Davis
2014-06-26removed no-longer-used Editor::track_canvas_motion()Paul Davis
2014-06-25fix y-offset when drag-n-dropping regions from region listPaul Davis
2014-06-22button click (release, to be precise) within the canvas drop zone cancels ↵Paul Davis
all object and track selections
2014-06-18a whole slew of changes related to centralizing and rationalizing cursor ↵Paul Davis
management. Debugging output left in place to help address the reports that will come in as people test this more
2014-06-13disambiguate another use of Rect on OS XPaul Davis
2014-06-13fix scrolling behaviour in track headers (event was stolen by rulers because ↵Paul Davis
event coordinates made it look as if the event happened there)
2014-06-12fixed rulers stealing all canvas scroll events and corrected computation of ↵Paul Davis
correct track for track-height adjustment using alt-scroll
2014-06-12add canvas rulers event dispatch and reinstate scrolling behaviourPaul Davis
2014-06-09forward scroll events from track control headers to the canvas, to get ↵Paul Davis
consistent scroll behaviour (whatever that behaviour is)
2014-06-09rename Editor::_canvas_bottom_rect as Editor::_canvas_drop_zone; increase ↵Paul Davis
its size; remove debug message
2014-05-31towards region-trims preserving fade durationRobin Gareus
2014-04-16add a transparent rect that is always located at the bottom of the track canvasPaul Davis
This gives us an event/drag-n-drop/click target for things "at the bottom"
2014-02-26convert canvas_event_frame() and window_event_frame() to ↵Paul Davis
canvas_event_sample() and window_event_sample() to go along with the convention adopted in cairocanvas code re: frames+samples
2013-12-12tweak for regionview enter/exit handlingPaul Davis
2013-10-30notable changes to try to improve most of enter/leave handling for canvas itemsPaul Davis