Commit Graph

52 Commits

Author SHA1 Message Date
Ben Loftis af4e0359be Allow Separate to work on explicit range. Cleanup code by replacing mouse_edit_point_requires_canvas_actions with time_selection_sensitive_actions and consolidating some code in reset_canvas_action_sensitivity. Crop no longer works on all tracks if no tracks are selected
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@11652 d708f5d6-7413-0410-9779-e7cbd77b26cf
2012-03-12 18:36:57 +00:00
Paul Davis a6ca660d61 carl's patch for #3471
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7829 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-09-22 12:34:27 +00:00
Paul Davis ae8b97416a rename the last rename that renamed the previous one ...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7135 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-21 15:21:39 +00:00
Paul Davis 267129c1fc rename the last rename ...
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7132 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-21 14:38:24 +00:00
Paul Davis 39e953ecb2 rename overloaded-virtual method of TimeAxisView (::set_selected()) so as not to hide Selectable::set_selected()
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7131 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-05-21 14:15:25 +00:00
Paul Davis 44c2da3197 if selecting a range in mouse range mode and there is already a time selection, clear it so that the action can actually do something other than just reselect what is already selected
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@7015 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-28 22:54:09 +00:00
Ben Loftis 507f22c7cd change automation track selection model slightly so that auto tracks are highlighted as expected. only show range boxes when the automation will actually get edited. clicking an automation track should show the editor-mixer for the parent track
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6997 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-26 21:47:58 +00:00
Ben Loftis 05550ae584 rationalize track selection and range selection
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@6919 d708f5d6-7413-0410-9779-e7cbd77b26cf
2010-04-16 22:07:43 +00:00
Ben Loftis 6fbcc062b2 reinstate export-region which was lost, change keybindings to more closely match 3.0, and make zoom-to-region more straightforward.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@5656 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-09-11 22:32:09 +00:00
Paul Davis 6d7c725221 new options for moving playhead to next/previous region boundary
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@4801 d708f5d6-7413-0410-9779-e7cbd77b26cf
2009-03-12 02:44:48 +00:00
Paul Davis 71fecfd751 fix a few things related to fit-to-tracks and toggle-visual-state
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3966 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-10-14 14:14:49 +00:00
Doug McLain 181c4a163b Replaced some c includes with their c++ wrappers
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-07-10 18:37:26 +00:00
Paul Davis cd44c8241c add GotoWallClock command; switch Editor class to use nframes64_t 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-16 13:57:51 +00:00
Paul Davis c8616fde7e small change to logic for track selection when context/button clicking on a track header.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3177 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-03-24 19:49:21 +00:00
Paul Davis 770c39dce1 fix up meter thread management when JACK client starts/stops/is halted ; put focus in plugin search entry when plugin selector is shown ; add WINDOWS_KEY option to gtk2_ardour/SConscript, controlling what X modifier is used for LEVEL4 modifier/bindings ; fix up Keyboard object to properly support LEVEL4 bindings ; fix Playlist::partition_internal() to avoid acting on regions that should not be operated on given the range provided ; fix up more stuff relating to get_regions_for(), including cut/delete ops on edit range vs. regions
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3115 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-23 14:13:25 +00:00
Paul Davis cdf37e613b fix deadlock in playlist::partition(); new first idle model, including message about loading visual data; make h-faders use scroll up/down and be scalable-clickable; new track menu stuff (waveform scaling/shape); fix up ordering of ruler menus; fix initial sensitivity of region menu operations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3097 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-21 18:37:00 +00:00
Paul Davis 7321f25043 drop ruler_show[] in favor of specific editor actions; various new actions and menu support for new Tracks top level menu
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3089 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-20 19:49:43 +00:00
Paul Davis 15936ab6d9 a boatload of changes and fixes related to SAE menu redesign (several new operations, things set up as actions for use in the main menu; fix Editor::snap_to() since it was really severely broken for general use
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3079 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-17 22:41:34 +00:00
Paul Davis 1046be7549 make "Set Range Selection" in per-region context (sub)menu use all selected regions instead of just the first selected one (alternate behaviour could include using the clicked regionview, but that is to be generally avoided)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3020 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-06 15:24:40 +00:00
Paul Davis 9eb8d34ecf proper fix for stereo region wave drawing bug; make trackheight operations apply to all selected tracks
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3019 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-06 15:05:51 +00:00
Paul Davis c2ac101a10 rationalize all region selection for editor operations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3013 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-05 21:09:22 +00:00
Paul Davis 0170a7666a provide instructional hint for keyeditor; fix keybinding issues on OS X (needs current GTK patch); fix up packaging up OSX native to include VAMP plugins and put control surfaces in (mostly) the right places ; new (improved) arrow key bindings
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3007 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-04 22:37:57 +00:00
David Robillard 78cefc81fd Potential segfault fix (the "why" part I don't know).
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2989 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-02-02 05:54:18 +00:00
Paul Davis 2c3f54250d clever fixes to make keyboard-driven trimming work nicely
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2856 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-09 21:07:18 +00:00
Paul Davis 9c88023faf make separate work with/without selected tracks; make align-regions-*-relative work correctly; make waveform muted color show correctly
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2855 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-09 18:26:47 +00:00
Paul Davis d41f7a0a70 a few fixes for zoom, plus the results of unfinished work on zoom redrawing, plus cleanup of debugging code in DnDTreevew
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2827 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-04 17:23:51 +00:00
Paul Davis 4dedfa9eb4 fix problem with x-axis origin computation moving the origin at the wrong time
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2820 d708f5d6-7413-0410-9779-e7cbd77b26cf
2008-01-02 21:54:33 +00:00
Paul Davis bae8d50093 first pass at making shift-click to select region extend the selection vertically across tracks
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2809 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-21 20:34:55 +00:00
Paul Davis 6bcec5f820 new LocateRollLocate event, used to implement play-at-edit-point-and-return; other fixes from the OS X world
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2792 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-18 20:54:46 +00:00
Paul Davis 7d351e7e48 per-kbd-layout keybindings selection; initial pass at link-region-and-track-selection
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2779 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-12-12 21:42:25 +00:00
Paul Davis 577f1571f8 don't put NDF/DF in clocks if there is no DF/NDF alternative; make deselect-all and invert-selection operations work properly; fix bug in edit range determination with no selected marker; popup dialog when no range can be determined; add new WINDOW modifier to SConscript to allow different conventions on OS X and linux
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2730 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-30 22:12:27 +00:00
Paul Davis d9032350e0 add set loop/punch from edit-range; don't select track when propagating region list selection into tracks
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2723 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-28 22:18:01 +00:00
Paul Davis 1268bf8b45 more ongoing SAE-driven changes (too many too list here)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2715 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-26 17:20:34 +00:00
Paul Davis ed9bdd0894 a ton of changes based on discussions at SAE; to be documented later
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2694 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-19 01:53:39 +00:00
Paul Davis 85dbd75bb0 make edit clock do something useful again; do sensible guess work on how to define edit op range
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2615 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 22:16:55 +00:00
Paul Davis d79ff102e8 fix up botched marker management scheme; add Editor::get_edit_op_range(); make cut ops use get_edit_op_range() when there is no time/region selection. still a little in progress to get the details right
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2614 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 17:52:32 +00:00
Paul Davis 79ba996096 catch markers as they go away, to avoid selection corruption; add select-range-between-cursors (F3); add unimplemented select-all-within-cursors (different from select-all-between-cursors); make ctrl-x/delete delete a marker if the mouse is pointing at it
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2611 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 13:28:45 +00:00
Paul Davis 96fa1cd0b6 the edit cursor is dead, long live the edit point; plus a few fixes; plus location locking
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2610 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-09 03:36:24 +00:00
Paul Davis a80aaeba79 mouse zoom focus; mouse scrubbing becomes mouse shuttling; use nframes64_t more; add mouse_frame() method to get mouse position & whether its in one of the two canvases; add color_from_style() utility function (though its not used)
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2595 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-05 21:35:47 +00:00
Paul Davis 2ca6100c11 some small optimizations for track-selection process
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2584 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-11-02 17:28:39 +00:00
Carl Hetherington 9e9c7a8536 Backport fix from trunk for selection of regions that are in edit groups.
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2527 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-10-06 20:36:21 +00:00
Paul Davis 45199451e0 round one of import design changes (still not fully functional, but basic stuff works
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@2346 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-08-26 01:54:34 +00:00
Paul Davis 107426f354 make rubber band select act across all tracks, not the current selection
git-svn-id: svn://localhost/ardour2/trunk@1728 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-18 19:12:12 +00:00
Paul Davis 8883da6da0 new swedish gtk2_ardour translation; fix button release adds extra control point; fix click in automation track selects regions
git-svn-id: svn://localhost/ardour2/trunk@1697 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-04-10 21:34:22 +00:00
Paul Davis d6ef740e90 remove all lines to avoid recompiles after commits
git-svn-id: svn://localhost/ardour2/trunk@1488 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-22 18:36:03 +00:00
Paul Davis aa60114843 some fixes/improvements for track selection; add upload target to manual makefile; do not build peakfile for SilentFileSource
git-svn-id: svn://localhost/ardour2/trunk@1426 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-02-06 15:50:05 +00:00
Paul Davis 979dbf91b9 allow control points with the same x (pixel) coordinate, now that libart_lgpl does too
git-svn-id: svn://localhost/ardour2/trunk@1380 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-24 18:43:14 +00:00
Paul Davis d3187aa32a more region selection tweaks
git-svn-id: svn://localhost/ardour2/trunk@1379 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-24 17:22:34 +00:00
Paul Davis 14814f5469 minor selection tweak to avoid finding regions in an existing track selection under the wrong circumstances
git-svn-id: svn://localhost/ardour2/trunk@1378 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-24 13:45:08 +00:00
Paul Davis 00620a0d1a add GUI control for use-overlap-equivalency
git-svn-id: svn://localhost/ardour2/trunk@1377 d708f5d6-7413-0410-9779-e7cbd77b26cf
2007-01-24 01:56:20 +00:00