720a9b73a5
fixed rulers stealing all canvas scroll events and corrected computation of correct track for track-height adjustment using alt-scroll
2014-06-12 17:21:23 -04:00
6958409187
remove no-longer-used code
2014-06-12 16:18:38 -04:00
85e2c60673
add back click behaviour for canvas rulers, and also cursor enforcement
2014-06-12 16:06:31 -04:00
ea355bfe15
add canvas rulers event dispatch and reinstate scrolling behaviour
2014-06-12 15:58:05 -04:00
590882f3c8
change Canvas heirarchy and constructors
...
Items no longer need a parent group (they require a Canvas pointer instead), so all constructors have been rationalized
and have two variants, one with a parent and one with a canvas.
All Items now inherit from Fill and Outline, to banish diagonal inheritance and virtual base classes and all that.
There were zero changes to the Ardour GUI arising from these changes.
2014-06-12 14:53:44 -04:00
551014240a
drag handles no longer exist as distinct item types (failed experiment)
2014-06-12 14:51:51 -04:00
23d7893910
remove drag handle canvas object - it was just a stupid unfinished experiment
2014-06-12 10:40:43 -04:00
887e75260d
use new ArdourCanvas::Ruler constructor
2014-06-12 10:35:32 -04:00
87a6f633a1
derive ArdourCanvas::Ruler from Rectangle
2014-06-12 10:35:16 -04:00
0762708d83
add new canvas vars for rulers
2014-06-12 10:32:34 -04:00
79c30ab766
make rulers color-sensitive (e.g. theme manager editable, etc)
2014-06-12 01:07:58 -04:00
e1825361b5
remove hard-coded colors
2014-06-12 01:07:58 -04:00
b2ee6b4344
add new default colors for canvas rulers
2014-06-12 01:07:58 -04:00
95fc5ab0a8
removed unused rule GTK widget style definition
2014-06-12 01:07:58 -04:00
3d81944b1d
remove unused GTK style
2014-06-12 01:07:58 -04:00
0ab69cb8c7
OS X specific cleanup after canvas ruler introduction
2014-06-12 00:19:42 -04:00
9461fcb271
remove header file includes of now-removed gtk custom ruler
2014-06-12 00:18:58 -04:00
4b07d01532
remove header file includes of now-removed gtk custom ruler
2014-06-12 00:18:15 -04:00
6c9f4e9598
final ruler file removal
2014-06-12 00:01:30 -04:00
43e2baf54e
remove gtk ruler widget implementation - no longer in use
2014-06-12 00:01:06 -04:00
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
143f9509ea
many fixes and improvements for a now-working ArdourCanvas::Ruler item
2014-06-11 23:54:28 -04:00
f5fc4a6b09
add ruler.cc to canvas wscript
2014-06-11 23:54:28 -04:00
2cab65062d
add Ruler to Canvas fwd.h
2014-06-11 23:54:28 -04:00
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
5ee4f41925
add initial (untested) implementation of canvas ruler item
2014-06-11 23:54:28 -04:00
e1b82caeb9
delayline: properly hand-over the shared-pointer.
2014-06-12 02:10:37 +02:00
266953cb96
add latency callback to dummy backend
2014-06-11 22:01:21 +02:00
b6362a76a8
fix possible crash when setting delivery name w/o panshell
2014-06-11 20:21:14 +02:00
6003aea385
NOOP, re-indent using tabs
2014-06-11 17:14:31 +02:00
4d0e564fa7
align internal sends using delaylines
2014-06-11 17:14:26 +02:00
ca3c9cae6e
basic integration of delaylines (still un-nused)
2014-06-11 17:14:18 +02:00
626b2daa82
add delayline implementaion (in prep for latency compensation)
2014-06-11 16:31:29 +02:00
621e92f268
NOOP, re-indent & whitespace
2014-06-11 16:27:30 +02:00
33db3c854d
prepare midi buffer API for midi-delaylines
2014-06-11 16:27:23 +02:00
0400fa64da
fix midi buffer erase()
2014-06-11 16:26:27 +02:00
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
144033e55c
do not allow canvas cursor changes while a drag is in progress
2014-06-10 16:46:09 -04:00
b9f7aeb61e
first pass an alternate cursor set (updates expected soon)
2014-06-10 14:40:10 -04:00
c56d309bd7
make the icon set selector actually do something
2014-06-10 14:39:28 -04:00
324ef3b085
add icon set selector to theme manager
2014-06-10 14:39:28 -04:00
839a0063f2
add ::get_icon_sets() to utils
2014-06-10 14:39:28 -04:00
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
eca6c9f998
remove ambiguous use of Rect (on OS X)
2014-06-10 11:00:15 -04:00
107e0d6d02
fix crash recovery: add new constructors to SndFileSource, AudioFileSource, add a new SourceFactory method and finally tweak
...
AudioDiskstream::use_pending_capture_data() to create both the required whole-file and the in-playlist regions
2014-06-10 10:07:04 -04:00
3f38a602cc
remove instances of RGBA_TO_UINT() macro from region_view.cc
2014-06-09 23:42:12 -04:00
96fbdd4bee
remove instances of RGBA_TO_UINT() macro from audio_region_view.cc
2014-06-09 23:39:07 -04:00
65ef1a8b8a
remove more unusued color members from TimeAxisViewItem
2014-06-09 23:33:14 -04:00
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
438179d278
wrap MIDI timecode at 24h
2014-06-10 04:22:34 +02:00