Commit Graph

6787 Commits

Author SHA1 Message Date
Paul Davis
ea355bfe15 add canvas rulers event dispatch and reinstate scrolling behaviour 2014-06-12 15:58:05 -04:00
Paul Davis
551014240a drag handles no longer exist as distinct item types (failed experiment) 2014-06-12 14:51:51 -04:00
Paul Davis
887e75260d use new ArdourCanvas::Ruler constructor 2014-06-12 10:35:32 -04:00
Paul Davis
0762708d83 add new canvas vars for rulers 2014-06-12 10:32:34 -04:00
Paul Davis
79c30ab766 make rulers color-sensitive (e.g. theme manager editable, etc) 2014-06-12 01:07:58 -04:00
Paul Davis
b2ee6b4344 add new default colors for canvas rulers 2014-06-12 01:07:58 -04:00
Paul Davis
95fc5ab0a8 removed unused rule GTK widget style definition 2014-06-12 01:07:58 -04:00
Paul Davis
3d81944b1d remove unused GTK style 2014-06-12 01:07:58 -04:00
Paul Davis
0ab69cb8c7 OS X specific cleanup after canvas ruler introduction 2014-06-12 00:19:42 -04:00
Paul Davis
9461fcb271 remove header file includes of now-removed gtk custom ruler 2014-06-12 00:18:58 -04:00
Paul Davis
4b07d01532 remove header file includes of now-removed gtk custom ruler 2014-06-12 00:18:15 -04:00
Paul Davis
6c9f4e9598 final ruler file removal 2014-06-12 00:01:30 -04:00
Paul Davis
43e2baf54e remove gtk ruler widget implementation - no longer in use 2014-06-12 00:01:06 -04:00
Paul Davis
b73352880e use canvas rulers now instead of gtk widgets
Some bugs that exist in master are still present.
2014-06-11 23:54:28 -04:00
Paul Davis
18190eaa5e clamp zoom level to show 3 days on a 4000 pixel wide screen; comment unused variable for now 2014-06-11 23:54:28 -04:00
Paul Davis
22f45b5a78 Revert "do not allow canvas cursor changes while a drag is in progress". This
was a bad idea. There are lots of reasons to want to change cursors while
dragging, even if we don't do that yet.

This reverts commit 144033e55c.
2014-06-10 18:50:42 -04:00
Paul Davis
144033e55c do not allow canvas cursor changes while a drag is in progress 2014-06-10 16:46:09 -04:00
Paul Davis
b9f7aeb61e first pass an alternate cursor set (updates expected soon) 2014-06-10 14:40:10 -04:00
Paul Davis
c56d309bd7 make the icon set selector actually do something 2014-06-10 14:39:28 -04:00
Paul Davis
324ef3b085 add icon set selector to theme manager 2014-06-10 14:39:28 -04:00
Paul Davis
839a0063f2 add ::get_icon_sets() to utils 2014-06-10 14:39:28 -04:00
Paul Davis
d59d26b89a change ::get_icon_path() and ::get_icon() to accept an "icon set" name to provide ability to use different sets of icons; use when creating MouseCursors 2014-06-10 14:39:28 -04:00
Paul Davis
eca6c9f998 remove ambiguous use of Rect (on OS X) 2014-06-10 11:00:15 -04:00
Paul Davis
3f38a602cc remove instances of RGBA_TO_UINT() macro from region_view.cc 2014-06-09 23:42:12 -04:00
Paul Davis
96fbdd4bee remove instances of RGBA_TO_UINT() macro from audio_region_view.cc 2014-06-09 23:39:07 -04:00
Paul Davis
65ef1a8b8a remove more unusued color members from TimeAxisViewItem 2014-06-09 23:33:14 -04:00
Paul Davis
ce08ec0de0 substantial changes in color management, involving a reduction in the use of Gdk::Color and more consistent logic for region coloring.
Group tabs now also get the text drawn in an appropriately contrast-y color
2014-06-09 23:29:00 -04:00
Paul Davis
c8ab1aaf7d use Canvas::LineSet for tempolines rather than N different Canvas::Line items plus a cache 2014-06-09 15:39:57 -04:00
Paul Davis
9933a80dd4 allow a drag down over the drop zone to be "reversed" and the region moved back up into existing tracks 2014-06-09 10:55:37 -04:00
Paul Davis
d36afa6b8b forward scroll events from track control headers to the canvas, to get consistent scroll behaviour (whatever that behaviour is) 2014-06-09 10:02:38 -04:00
Paul Davis
95f2b4ba17 change height of canvas drop so last 20 pixels of bottom track is still visible when fully scrolled down 2014-06-09 09:12:42 -04:00
Paul Davis
b530e8649e rename Editor::_canvas_bottom_rect as Editor::_canvas_drop_zone; increase its size; remove debug message 2014-06-09 09:09:21 -04:00
Paul Davis
0c5dae881c fix up fit-selected-tracks so that we are filling the trackview area, not the entire canvas (which now includes rulers) 2014-06-09 09:08:51 -04:00
Paul Davis
92bb0e0d7f fix problem with calls to Editor::trackview_by_y_position() when using motion events. The coordinate passed in was in canvas space and the method expected trackview space
To handle any further issues like this, I generalized and added an optional argument specifying that the canvas=>trackview transform is required, thus
centralizing where this done.
2014-06-08 14:41:29 -04:00
Paul Davis
c22e96522d Merge branch 'waveview_caching_for_upstream' of https://github.com/nmains/ardour into cairocanvas 2014-06-08 13:01:47 -04:00
nick_m
e495577f98 Use global clip level from prefs. Restore clip colour, \ 2014-06-09 02:50:14 +10:00
Paul Davis
8487314069 introduce Drag::_trackview_only which indicates that all y-axis positions for the pointer during a drag should be relative to the top of the trackview group.
More or less all drags except for Cursor (playhead) and drags in the range marker bars have this true (which is the default value)
2014-06-08 11:26:32 -04:00
Paul Davis
ba8d0e32f7 fix crash caused by click-on-region-name if name highlights are not in use - such a click is not a trim operation under those conditions 2014-06-08 11:26:32 -04:00
Robin Gareus
34e2cf7913 fix 'use_latency_button' (broken in prev. commit) 2014-06-08 17:19:10 +02:00
Robin Gareus
eb289a76af basic Midi latency measurement GUI (re-use Audio latency notebook) 2014-06-08 14:48:10 +02:00
Robin Gareus
81182b5bf6 prepare MIDI latency measurement (backend) 2014-06-08 11:18:18 +02:00
Robin Gareus
5a41487a08 remove some 1920 tick constants and leave notes for some others. 2014-06-07 18:35:37 +02:00
nick_m
7a05dde39d Use a dumb cache for waveview ImageSurfaces. This halves the size of the
previous one, but usually ends up using three of them at the current
CACHE_HIGH_WATER setting.
Should result in a smaller memory footprint for sessions with
multiple copies of nearby audio segments (electronic style).
The downside is the larger memory footprint for linear recording
sessions if CACHE_HIGH_WATER > 1 (1 giving a max of two
half - sized cache entries per audio stream).
2014-06-08 01:47:38 +10:00
Robin Gareus
94fa927861 limit automation event density - fixes #5928
Constrain control points to one per tick (1/1920 beats).

Prior to this it was possible to set two values to the
same time (interpolation and iteration failed).
2014-06-07 17:43:12 +02:00
Robin Gareus
436eecbb3c check for xjadeo/xjremote >= 0.7.7 2014-06-07 17:28:46 +02:00
Robin Gareus
889f62328b update for xjadeo 0.7.7 (don't connect to jackd by default) 2014-06-07 17:28:46 +02:00
Tim Mayberry
7ba3e50e51 Fix paths in ardour.sh 2014-06-07 13:49:11 +10:00
Paul Davis
5285bb587f fix position where rubberband rect is drawn 2014-06-06 08:33:13 -04:00
Paul Davis
eec24b6287 fix up drawing and selection process for range selections (caused by subtle change in semantics of TimeAxisView::covered_by_y_range()) 2014-06-05 17:06:36 -04:00
Paul Davis
24e357ae19 fix issues with verbose canvas cursor because it was in a horizontally-only scroll group 2014-06-05 15:33:56 -04:00