summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_canvas_events.cc
AgeCommit message (Collapse)Author
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
2013-06-25Merge branch 'master' into cairocanvasPaul Davis
2013-06-21Make scroll-wheel modifier keys consistent in main editor window.Colin Fletcher
Add constants for the keyboard modifiers that should be used for vertical zoom, horizontal zoom, and horizontal scrolling in the main editor window, and use these where appropriate rather than using Keyboard::PrimaryModifier and friends directly.
2013-05-02merge resolution with masterPaul Davis
2013-04-30forward port recent mixbus change so that side-scroll is now shift-wheel and ↵Paul Davis
height adjustment is alt-wheel, rather than vice versa, to match OS X convention
2013-04-12manual translate events in Editor::track_canvas_scroll() to canvas space, ↵Paul Davis
because the event arrives there directly, not via the canvas. no other similar eventhandler in that code uses the event coordinates
2013-04-12leftmost_position => leftmost_sample, current_page_frames => ↵Paul Davis
current_page_samples
2013-04-12remove all unit-based methods from (Public)Editor; rationalize ↵Paul Davis
Editor::event_frame() to clearly identify whether the passed-in GdkEvent has window units or canvas units (the latter will be true for all events that are handled by the canvas and then passed to Editor
2013-04-11Merge branch 'master' into cairocanvasRobin Gareus
Conflicts: gtk2_ardour/editor.h gtk2_ardour/editor_canvas.cc gtk2_ardour/wscript
2013-04-11enable videotimeline by defaultRobin Gareus
2013-04-04commit immediately post linkingPaul Davis
2013-04-04initial commit of hand merging, plus getting "ancient" waf script to work ↵Paul Davis
correctly
2013-03-29allow Drag-n-Drop onto the empty canvas (again); always import MIDI files ↵Paul Davis
since we consider them writable and so embedding isn't a safe option
2013-03-21honor CTRL modifier when drag/drop importing files (copy vs embed)Robin Gareus
2013-03-20fix an old bug introduced when cth tried (valiantly) to make region-list -> ↵Paul Davis
DnD -> canvas behave like a regular region drag. this doesnt' work because the RegionInsertDrag() grabs the mouse and breaks the DnD. in addition, the code failed to correctly indicate when a drop was possible (over a Track) and when it was not (over a Bus) - this has also been fixed. the actual code in Editor::drop_regions() could and should be simplified - no reason to use a RegionInsertDrag here, but it was fast
2013-03-13videotimlineRobin Gareus
squashed 694 commits from http://gareus.org/gitweb/?p=ardour3.git
2012-12-14mousing in a fade-out should fall through to the region, for now (this was ↵Ben Loftis
already done for fade-ins git-svn-id: svn://localhost/ardour2/branches/3.0@13668 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-12-13crossfade hack and slash. removed overlap checks, overlap mode, default ↵Ben Loftis
length, fade_is_xfade, fade_is_short, and other leftovers from previous crossfade models. Draw crossfade drags in realtime so fade_line is no longer needed. remove code for hiding crossfades during a drag. moved crossfade rect to top layer so crossfade lines dont grab mouse focus. drag-trim-with-fixed-fade-anchor is partially implemented and needs discussion git-svn-id: svn://localhost/ardour2/branches/3.0@13659 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-27mousehweel zoom should always operate like ZoomFocusMouseBen Loftis
git-svn-id: svn://localhost/ardour2/branches/3.0@13557 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-11-20Always Play Range is now Follow Edits, and is based on Mixbus ↵Ben Loftis
implementation. Added menu item. Follow Edits button replaces Auto Play; removed the connector between play and play-range. Some Smart Mode changes came along for the ride but will be cleaned up shortly git-svn-id: svn://localhost/ardour2/branches/3.0@13537 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-06-10Fix another place where regions can be inserted into aCarl Hetherington
playlist without also getting put into the master list. git-svn-id: svn://localhost/ardour2/branches/3.0@12646 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-24Remove over 500 unnecessary includes (including 54 of session.h).David Robillard
It's slightly possible that this causes trivial build failures on different configurations, but otherwise shouldn't cause any problems (i.e. no actual changes other than include/naming/namespace stuff). I deliberately avoided removing libardour-config.h since this can mysteriously break things, though a few of those do seem to be unnecessary. This commit only targets includes of ardour/*.h. There is also a very large number of unnecessary includes of stuff in gtk2_ardour; tackling that should also give a big improvement in build time when things are modified. git-svn-id: svn://localhost/ardour2/branches/3.0@12420 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-09skeleton for crossfade edge draggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12235 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-05-08framework for handling events on the xfade rectsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@12213 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-04-16Fairly major change to the way in which crossfades are handled;Carl Hetherington
they are now done with region fades, rather than separate objects. After this commit, Ardour will try to convert your session files to the new crossfade format, but will make a backup in your session folder first. If you have works in progress using Ardour 3 it is ***STRONGLY RECOMMENDED*** that you back up session files before updating to this commit. git-svn-id: svn://localhost/ardour2/branches/3.0@11986 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-02-02fix possible logic error and make logic line up with commentPaul Davis
git-svn-id: svn://localhost/ardour2/branches/3.0@11424 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-27promote Playlist::RegionList to ARDOUR::RegionList; fix timefx on multiple ↵Paul Davis
regions, even regions of mixed type. this mostly involved some trivial code changes but to make the code simpler and less error prone, the API switched away from using RegionSelection (list of regionviews that catches regionviews vanishing) and used RegionList (lists of regions, no semantics) instead. git-svn-id: svn://localhost/ardour2/branches/3.0@11362 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-01-04Use a few shared_ptrs to make things slightly neater.Carl Hetherington
git-svn-id: svn://localhost/ardour2/branches/3.0@11156 d708f5d6-7413-0410-9779-e7cbd77b26cf