YPozdnyakov
29f710c9b4
[Summary]: fix bug #44057 (Select, Split, Zoom Tool icon changes view in wrong timeline-canvas positions)
2015-01-08 19:51:13 +02:00
YPozdnyakov
af3257199c
[Summary]: fix bug #44523 (Tools remain active out of canvas)
2015-01-08 18:39:36 +02:00
GZharun
d61e9b8c1e
[Summary] Fixed bug 44717: attempt to import midi file by DnD operation lead to crash
...
[Reviewed by QA] MKosharnyy
2014-12-18 13:34:22 +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
6e8bdd0192
[Summary] Fixed issue with incorrectly "remembered" zoom_in cursor.
...
[Reviwed by] Paul Davis
2014-12-10 17:17:27 +02:00
GZharun
f6591a130f
Revert "[Summary] Fixed issue with incorrectly "remembered" zoom_in cursor. The issue looks pretty old and appeared only if we use mouse wheel on zoom slider if zoom tool is enabled."
...
This reverts commit 2e55735887 .
2014-12-10 17:15:51 +02:00
GZharun
2e55735887
[Summary] Fixed issue with incorrectly "remembered" zoom_in cursor. The issue looks pretty old and appeared only if we use mouse wheel on zoom slider if zoom tool is enabled.
...
[Reviwed by] Paul Davis
2014-12-10 17:09:23 +02:00
GZharun
878320df4b
[Summary] Removed trim cursor when mouse pointer hovers above range edge. Reworked range selection cursor switching code to make it more logical
2014-12-09 14:06:19 +02:00
GZharun
b03ff427ed
[Summary] Restored logic
2014-12-09 13:12:48 +02:00
GZharun
f8125c9636
[Summary] Change cursor above range only if pointer or range tool is active
2014-12-09 12:43:53 +02:00
Paul Davis
c0a21ac0f8
tweak height of the rectangle drawn while dragging in the ruler/loop bar
2014-11-26 13:55:02 +02:00
Paul Davis
32d656560d
add Editor::ruler_divide_height to specify where the divide in the ruler is between the "upper" and "lower" section
2014-11-24 19:29:22 +02:00
Paul Davis
bd9d4be764
part two of removing loopbar
2014-11-24 19:29:22 +02:00
Paul Davis
37170e234f
remove loopbar as part one of refactoring ruler display and event management
2014-11-24 19:29:22 +02:00
Paul Davis
28b33da065
redraw entire canvas when ColorsChanged is emitted
2014-11-10 10:40:27 -05:00
Paul Davis
4e102a71ea
set canvas background color
2014-11-10 10:36:32 -05:00
Paul Davis
b7055e3837
fix note 15897 on #5589 - only use fader cursor for region gain line when in mouse gain mode
2014-10-22 09:14:53 -04:00
Paul Davis
a562e35919
fix note 0015900 on #5589 (cursor doesn't change when switching edit point
2014-10-16 10:37:34 -04:00
GZharun
ffffe8bd62
[Summary] Changed scrollbar increments according to PRD
2014-10-02 11:11:33 +03:00
GZharun
56ab71cf68
[Summary] Implemented horizontal scrollbar functionality
...
[Details] Boundaries are set by session start/end markers;
Made it's boundaries adjustable when session start/end markers change;
when session is actively recording to be able to follow the playhead;
when sample scale changes;
2014-10-02 04:46:38 +03:00
Paul Davis
cffd50766a
further pixel-by-pixel tweaks to deal with the fact that the skip bar is 1 pixel shorter than the marker bar
2014-09-24 12:38:29 -04:00
Paul Davis
01fa5ba3a2
use Waves' approach to GUI layout (pixel by pixel) to get vertical alignment in arrange area correct (or at least more correct)
2014-09-24 11:37:49 -04:00
GZharun
cd42fc86a3
[Summary] Made cursor correct when hovering above a range selection
2014-09-24 17:15:31 +03: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
2e1417fe45
split apart loop bar and ruler so that we can have different event processing on them naturally.
...
Checking mouse coordinates to decide what to do basically sucks. Plus expand explanatory comments a little.
2014-09-23 22:42:32 -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
998375bbfd
theme skip drag rect; remove some debug output
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
42809db01d
getting rulers/marker bars closer to PRD: add new ruler group, use new Marker API
2014-09-19 16:24:40 -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
GZharun
73709d1a04
[Summary] Added autoscroll support during track headers DnD operation
2014-09-09 17:20:44 +03:00
Paul Davis
7219e57c2a
add required action for skip bar, and make visible by default
2014-09-05 16:52:08 -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
a128e64e6e
tracks has only 1 ruler, and the metric it uses depends on the primary clock mode
2014-09-05 15:24:41 -04:00
Paul Davis
7ab04d944d
reinstate video timeline object but leave its constructor early because we don't need any of its services in Tracks
2014-09-03 16:03:18 -04:00
Paul Davis
6a00596fa5
don't create a videotimeline object in tracks
2014-09-03 15:35:12 -04:00
Paul Davis
0c326926ab
numerous small changes to get close to PRD spec for marker bar display
2014-09-03 14:45:53 -04:00
Paul Davis
9b240978a7
add Editor::trackviews_height() convenience function to determine height of trackview area of canvas; use to help fix set_visible_track_count(); don't consider hidden tracks in that function; add "Selected" to that selector menu
2014-08-18 12:30:22 -04:00
Paul Davis
90502b200d
scroll up/down by tracks uses top edge as "focal point"; fix some other nasty code details
2014-08-18 12:23:52 -04:00
Ben Loftis
6fa106d182
fix inconsistency in smart mode where it shows a trim cursor in the top half of the region edge, but a click is actually going to start a range. It is arguable that we _should_ allow trimming in the top half, but that is complicated. This change is small and makes it consistent for now
2014-08-17 20:43:12 -04:00
Paul Davis
b18b3b850b
add basics of Cut mouse mode, no functionality yet. Icon images are still required
...
Conflicts:
gtk2_ardour/editor.cc
gtk2_ardour/editor_actions.cc
2014-08-17 20:41:07 -04:00
Paul Davis
1a90d28aed
give drop zone its own cursor-ability
2014-08-17 20:32:08 -04:00
Paul Davis
88304ec448
remove canvas cursor debug output
2014-08-17 19:58:27 -04:00
Paul Davis
21c26c8688
replace old implementation of Editor::_ensure_time_axis_view_is_visible() with the guts of Editor::ensure_track_is_visible(), then remove the latter.
...
Also change all users of ensure_track_is_visible() to use _ensure_time_axis_view_is_visible()
2014-08-17 19:47:36 -04:00
Paul Davis
6c7cebe1e5
make verbose canvas cursor color be set in its constructor rather than explicitly
2014-08-17 19:46:02 -04:00
Paul Davis
50c5ba16b8
add ability to save current action sensitivities and restore them, and to disable all action sensitivity.
...
This is needed to be able to lock the application fully on OS X, where the global menu bar would still allow interaction
even when a modal dialog is displayed.
Conflicts:
gtk2_ardour/editor.h
gtk2_ardour/editor_ops.cc
gtk2_ardour/verbose_cursor.cc
2014-08-17 19:45:04 -04:00
Robin Gareus
a17616f1da
move utility functions into a dedicated namespace
...
Conflicts:
gtk2_ardour/about.cc
gtk2_ardour/editor_ops.cc
2014-08-17 18:51:22 -04:00
Paul Davis
28fdc71d70
more canvas refactoring.
...
Remove Canvas::Layout, use Canvas::Container for the same purpose, move child-rendering into Item::render_children() so that it
could theoretically be used by any derived type.
2014-08-17 17:44:17 -04:00
Paul Davis
3be5f658ea
use newly factored canvas in gtk2_ardour
2014-08-17 17:43:03 -04:00