Commit graph

462 commits

Author SHA1 Message Date
Paul Davis
3484f5f3e9 use different drags in upper and lower half of ruler, following PRD/Igor/manual etc. 2015-01-29 17:51:17 -05:00
Paul Davis
ebd3178809 ignore context menu click events, notably during drag but also for a couple of other purposes 2015-01-26 16:37:53 -05:00
Paul Davis
7940522eed add trim handles to range markers 2015-01-22 21:12:51 -05:00
GZharun
fe0ace14c8 [Summary] Next actions will now make a session dirty:
Toggling inspector
Toggling meter bridge
Toggling mixer bridge
Mouse tool change
2015-01-19 17:50:16 +02:00
GZharun
b2db044c88 [Summary] Fixed bug (not in TT) when MoseRange mode was not restored correctly after session save
[Reviewed by] Paul Davis
2015-01-19 17:48:40 +02:00
GZharun
36fb11c9a1 [Summary] Fixed defect 45772: Removed redundant shift+right click actions 2015-01-19 13:13:08 +02:00
Nikolay
bfc6294c48 [Summary] Bug fix #45356 "remove Time Stretch Audio menu"
[Reviewed] YPozdnyakov
2015-01-14 12:48:23 +02:00
Nikolay
02fa803486 [Summary] Deleted unused action and mouse mode for "set-mouse-mode-draw" (Finishing Bug Fix #44821).
[Reviewed] YPozdnyakov
2015-01-14 11:31:49 +02:00
GZharun
f499221b5b [Summary] Disabled header selection by context menu click (right click) on the empty canvas. 2015-01-09 16:23:02 +02:00
GZharun
09bdbed3ed [Summary] Made region selectable by right click no whatever tool is active 2015-01-09 16:08:33 +02:00
Paul Davis
885c4e762f changes to get closer to PRD for clicks in loop lane and on loop marker 2014-12-29 22:47:00 -05:00
Paul Davis
a94d70dbf3 if loop-play mode is disabled, drag on loop marker creates a new loop range, rather than adjusting the loop 2014-12-16 12:40:15 -05:00
Paul Davis
3a5e349c9c do not allow Primary-Shift-click to hide markers for Tracks, because there is no way to unhide them 2014-12-16 12:29:05 -05:00
YPozdnyakov
501ecd3392 [Summary]: region fade, trim area rework 2014-12-15 15:16:43 +02:00
Paul Davis
bf9981e143 use MouseCursors::invalid_cursor() to replace null cursor; redefine various cursors to meet PRD or get closer to them.
This includes the use of a null cursor to indicate "use parent window's cursor" - see comments in mouse_cursors.{cc,h} for more detail.
2014-12-14 09:32:10 -05:00
GZharun
4eb262f43f [Summary] Made range extension on shift+mouse down and range/regions deselection on mouse down with range and object tool.
Made track header non deselectable by empty canvas click
2014-12-12 12:51:06 +02:00
GZharun
727620ca00 [Summary] Changed cursor during range trimming to Range Tool cursor, made range trimming possible only if Shift key is pressed 2014-12-09 14:06:20 +02:00
GZharun
930b87d8e1 [Summary] Reworked range selection according to PRD
[Details] Eliminated range selection relation to track header selection
Made range drag with region cut/copy reversible
Fixed bugs

Still to do with range selection: shift+click support, Enable Group Edit operation
2014-12-04 15:44:17 +02:00
Paul Davis
84f302136e remove debug output 2014-11-26 12:47:48 +02:00
Paul Davis
c0b50a4768 better fix for mouse mode = range crash on marker bar click 2014-11-26 12:47:23 +02:00
Paul Davis
f8e606fea7 prevent crash when in mouse mode == range and clicking on marker bar 2014-11-26 12:38:54 +02:00
Paul Davis
2a04a082fd avoid crash during button press during shutdown of session 2014-11-24 19:29:22 +02:00
Paul Davis
c6d4c94d78 don't use Rectangle::vertical_fraction() to decide which part of the ruler a button press occurs in, use the ruler_divide_height 2014-11-24 19:29:22 +02:00
Paul Davis
b0e314a5b2 different drag objects used for drags in upper/lower part of ruler 2014-11-24 19:29:22 +02:00
Paul Davis
bd9d4be764 part two of removing loopbar 2014-11-24 19:29:22 +02:00
GZharun
048d03ecd8 [Summary] When range sellection covers multiple regions all of them will be processed by range drag 2014-10-01 17:56:06 +03:00
GZharun
e04c73415b [Summary] Made trackview_by_y_position calculate offset before getting track view for range drag 2014-09-30 17:53:36 +03:00
GZharun
cd1549a47b [Summary] Made range selection drag-able if object tool is active as well 2014-09-30 16:27:10 +03:00
Paul Davis
0e95ecfc2e do not force transport stop for click in ruler 2014-09-29 13:38:30 -04:00
GZharun
ea7ba3ed57 [Summary] Made correct region to be cut, when multiple rage selection are present. 2014-09-29 18:38:38 +03:00
GZharun
d006e75f43 [Summary] Implemented range drag functionality as required by PRD
[Details] Range cuts region when dragged, range copies region when dragged with Alt pressed
2014-09-25 17:55:07 +03:00
GZharun
496f3eb767 [Summary] Fixed issue when range selection could not be dragged to copy region when applied to the last two tracks 2014-09-25 14:50:56 +03:00
Paul Davis
935ee63ed3 make unmodified drag on a range/time selection do a separate first, then drag the new region.
This behaviour is only superficially similar to Logic's behaviour. It also operates only on the FIRST selected
range's new region (the one created by the separate), rather than all of them. Extending it to operate on
all ranges (across tracks) is theoretically possible but has some complications that go beyond this simple change.

Dragging the selection itself now occurs on Primary-drag.
2014-09-24 15:50:59 -04:00
GZharun
b213c096d1 [Summary] Made ranges to stay selected when another tool is chosen 2014-09-24 17:15:31 +03:00
Paul Davis
57552634c5 no context menu in Tracks for marker/ruler bars 2014-09-23 23:50:26 -04:00
Paul Davis
1492e7bb29 do playhead locate/drag for mouse drag on ruler 2014-09-23 22:58:34 -04:00
Paul Davis
c5883a8241 make drag bar for loop the correct height (to span loop bar + ruler); remove unused variables; don't initiate create loop drag on ruler 2014-09-23 22:56:09 -04:00
Paul Davis
33444e3d01 remove entered/exited color change for markers 2014-09-23 22:46:13 -04:00
Paul Davis
93cf0a7ccb more changes to get mouse interactions with markers + rulers closer to PRD 2014-09-23 16:54:54 -04:00
Paul Davis
0472453d94 many substantive changes in the handling of ARDOUR::Location, Markers and drags/clicks on Markers.
It would have been nice to split this commit into parts, but it is all very interconnected and was not possible to
subdivide.
2014-09-23 10:49:21 -04:00
Paul Davis
12e7de3f48 start moving responsibility for color management for Markers from Editor into Markers 2014-09-21 17:38:48 -04:00
Paul Davis
63abfea552 use new ARDOUR::Location signals in GUI 2014-09-19 22:50:50 -04:00
Paul Davis
a95ec7ca5b various changes to accomodate skip markers (which span the entire range of an ARDOUR::Location) and to add drag-to-create-skip 2014-09-17 21:42:33 -04:00
Paul Davis
c698b4e788 shift-drag on range marker bar creates skip ranges, for now 2014-09-17 16:29:37 -04:00
Paul Davis
a7aca1a849 escape should reset focus as well as abort drags/clear selection 2014-09-17 07:07:36 -04:00
Paul Davis
92491ebebb add new skip bar, to allow start on skip functionality 2014-09-05 16:07:07 -04:00
Paul Davis
ee1c8b1b60 renamed the transport-marker bar/ruler as punch-loop bar for more clarity in its purpose. 2014-09-05 15:54:58 -04:00
Paul Davis
9c24d10862 Merge branch 'master' into ardour-merge
Conflicts:
	gtk2_ardour/editor.cc
	gtk2_ardour/editor_mouse.cc
	gtk2_ardour/public_editor.h
	gtk2_ardour/time_axis_view_item.cc
	gtk2_ardour/time_axis_view_item.h
2014-08-28 10:58:49 -04:00
GZharun
c9c7a0961a [Summary] Reworked region view according to the PRD
[Details] Note: the code is promoted ahead without some cosmetic stuff
What is not finished: 1. Move rec color and name highlight color to the config.
2. Make region name displayed above the wave.
2014-08-28 10:20:21 +03:00
Paul Davis
199414f495 cut ops can start on automation tracks too 2014-08-17 20:44:53 -04:00