summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_mouse.cc
AgeCommit message (Collapse)Author
2009-07-28use DIST_LIBDIR to allow override of LIBDIR ; gcc4.4 patches from debian ↵Paul Davis
(once again, those guys don't send upstream, they think their own bug DB is where this stuff belongs, sigh ... thanks adi for the notice) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5429 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-21carl's patch for split/region-drag crashPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4880 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-21make context menu-driven stuff on ruler bars happen in the right place (e.g. ↵Paul Davis
new markers) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4877 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-03dragging without modifiers should still move the playheadBen Loftis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4726 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-02standardize some menu actions across CD and loop/punch rulers. also allow ↵Ben Loftis
right-click drag to create regions, which may be more discoverable than ctrl-click drag because the other rulers already use right-click for creating markers git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4725 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-02-17remove unneeded code in line_drag that was probably copy/pasted from ↵Ben Loftis
control_point_drag git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4618 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-25carl's fix to select objects when clicking in mouseGain mode, so that right ↵Paul Davis
click operations don't act on unexpected objects git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4252 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-17make step-mouse-mode work for SAE toosae-1Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4189 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-09Clicking canvas rulers mpves playhead, imicing behaviour of clicking gtk ↵Nick Mainsbridge
rulers. Create new markers/ranges with Primary modifier + left click/drag. Select/move markers with unmodified left click. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4114 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-03meta-fy handling of button2, to deal with apple's messed up design ↵Paul Davis
decisions; on gtk/osx, button2 is (currently) Ctrl-Option-Button1 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4087 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-11-01Ignore triple clicks for mute/solo/rec-enable (fixes long-standing ↵Nick Mainsbridge
insensitive to clicks bug), momentary solo/mute works for track headers, redraw some widgets when resizing editor-mixer (osx only), don't autoconnect physical inputs to busses (sae only), new sends active by default (sae only), some minor sae gui customizations using ardour2_ui_sae.conf. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4078 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-20Fix incorrect mouse cursor when moving pointer from canvas rulers to tracks.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3985 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-20fix up region gain line dragging; prevent press-drag-release from creating ↵Paul Davis
new region gain points, only click should do that git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3984 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14don't use canvas coords for region_drag_finished_callback x calculation ↵Nick Mainsbridge
(eliminates speed adjustment), prevent incorrect updates on dropped regions by updating canvas before placing region copies. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3970 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14Use clicked_regionview directly to calculate region movement. Using ↵Nick Mainsbridge
drag_info.data may result in the wrong regionbiew being used. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3964 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11remove debug outputPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3918 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-11fix dragging of region gain line, affected by coordinate system change ↵Paul Davis
caused by canvas merge (don't convert delta motion-computed coordinates back into item space) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3916 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29Relayer punch/loop range rects, fix display of punch-in with no punch-out, ↵Nick Mainsbridge
ensure range selection rect is hidden after single click, move the track canvas up one pixel now that headers are all one size. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3835 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-29Backport drobilla's tempo bar cache from 3.0, fix track display regression, ↵Nick Mainsbridge
rework canvas layers and region_motion_group, remove duplicate code, make track heights consistent (track zero is no longer different). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3831 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-22Set add route dialog non-resizeable so WMs size it more sensibly (looked ↵David Robillard
ridiculous in ion3). Tab cleanups. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3787 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19Fix a bunch of stupid warnings.David Robillard
Q: What's a lot harder than initializing a variable? A: Fixing future non-deterministic bugs that would have been deterministic if you initialized the damn variable :) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3767 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19fix range dragging post-multi-marker changesPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3759 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-19shift-click to extend marker selection; marker drag moves all selected markersPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3758 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-16Add a session file type icon for OSX, remove unused editor_mixer_button, use ↵Nick Mainsbridge
a constant offset for verbose time cursor, make tempo lines a bit smoother on OSX (idle? when?) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3734 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-07Fix disappearing regionviews during rapid mouse movement plus grab/copy ↵Nick Mainsbridge
grab, update canvas less on OSX, RegionView::get_canvas_group() returns a group, not an Item, clean up reparenting of moving regions a bit. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3709 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-03fix region copy thinko in last commit.Nick Mainsbridge
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3708 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-09-03Unify the canvases by moving groups around rather than using ↵Nick Mainsbridge
set_scrolling_region () (eliminates the double-draw during zoom on linux), fix verbose_time_cursor clamping, make fonts smaller on location dialog buttons, hopefully improve performance when dragging multiple regions on the same track, reduce some redrawing of clocks (still not done for samples clock), allow NLS=1 on OSX, other canvas performance improvements on OSX, build SAE-us.bindings (even though they are incomplete for now). git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3707 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-07move to scons Clone everywhere rather than Copy; add Session::micro_locate() ↵Paul Davis
for ongoing work on video sync; debugging output for export precision problem; minor clean up to IO::find_possible_connection(); fix up a few signed/unsigned issues; make "feature lines" always be the right height as tracks resize; change version to 2.5 git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3517 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-06-10(5) debugging with nowhiskey - remove stupid lack of scaling caused by ↵Paul Davis
redisplaying all regions for every source file removed; fix for illegal audio device selection in audio setup dialog; stuff related to drawing/dragging regionheights (disabled at present) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3458 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-16add GotoWallClock command; switch Editor class to use nframes64_t ↵Paul Davis
throughout; fix up some glitches in playhead/screen handling when locating ; never save keybindings to user's ~/.ardour2 dir unless the user changed them (well, nearly) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3361 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-15mike taht's patch to remove all use of gettimeofday() in favor of ↵Paul Davis
ARDOUR::get_microseconds() which now uses JACK's usec clock git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3355 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-11Fix compilation with GCC 4.3 (at least with SYSLIBS=1).David Robillard
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3334 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-05-02many changes related to region zooming; proto-visual state undo/redo stack; ↵Paul Davis
fill-tracks command steals "f" (follow-playhead now on shift-f git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3306 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-21prevent drags on rulers/bars from initiating vertical scrollingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3277 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-04-02fix problems with undo/redo and region dragging; fix dragging in lock edit modePaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3208 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-31minor mootcher fixes; change "Analyze .." to "Spectral Analysis" where ↵Paul Davis
applicable; make separate actions be appropriately sensitive to the edit point git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3198 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-26a big menu cleanup; vertical auto-scrolling; some code cleanups; an ↵Paul Davis
unfinished (and broken) attempt to get escape to break out of a drag-in-progress git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3185 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24more fixes for drag/lock/copy logicPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3174 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24fix specific copy-drag opsPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3173 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24don't try to automatically remove locked regions frm selection at end of dragPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3172 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24complete reorganization of logic in Editor::region_drag_finished_callback()Paul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3170 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-23more fixes for the intersection of Locked Edit mode and copy-draggingPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3165 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-21fix dragging that involves locked regions; auto-rebinding patch for people ↵Paul Davis
to experiment with (probably needs a little work) git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3164 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-26non-AA canvas support (not used by default); new SAE menus; fix ↵Paul Davis
locate-play-locate ; add toggle-punch ; use primary clock for verbose cursor mode at all the right times; minimize clock redrawing part one git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3123 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-17Remove beat entry from meter dialog (beats are not allowed in API), clean up ↵Nick Mainsbridge
some hardware monitoring code, new configuration vars: ADAT Monitor Mode (documented) and Rubberbanding Snaps to Grid (self explanitory I hope, defaults to off), add some monitoring documentation. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3076 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-15lock edit mode disallows sliding regions in time. override by holding 3rd ↵Ben Loftis
mouse button git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3060 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-12grabber edit point cursor improvements; do not allow align() to use entered ↵Paul Davis
regionview if there are selected regions git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3041 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-12fix up compile issues; add new grabber_edit_point cursorPaul Davis
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3040 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-12AU GUIs basically working, though unfinished; push up dialog for massive ↵Paul Davis
split operations (still in progress); fix problem where peakfile is slightly older than audio data even though it is ready to use (debugging output still present); move sync-menu code to libs/gtkmm2ext for linkage reasons; prevent flush_pending() calls from "top menu" items on OS X from locking the GUI; try to make adding lots of regions (e.g. from split-at-points) scale a bit better; SAE version has no timecode mode for audio clocks git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3038 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-05use a separate drag rect for cd marker bar, show cd marker details on load ↵Nick Mainsbridge
in location ui. git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3012 d708f5d6-7413-0410-9779-e7cbd77b26cf