Commit graph

13479 commits

Author SHA1 Message Date
Paul Davis
684d45c0cc restored track height adjustment using alt-scroll on track headers 2014-06-12 17:21:41 -04:00
Paul Davis
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
Paul Davis
6958409187 remove no-longer-used code 2014-06-12 16:18:38 -04:00
Paul Davis
85e2c60673 add back click behaviour for canvas rulers, and also cursor enforcement 2014-06-12 16:06:31 -04:00
Paul Davis
ea355bfe15 add canvas rulers event dispatch and reinstate scrolling behaviour 2014-06-12 15:58:05 -04:00
Paul Davis
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
Paul Davis
551014240a drag handles no longer exist as distinct item types (failed experiment) 2014-06-12 14:51:51 -04:00
Paul Davis
23d7893910 remove drag handle canvas object - it was just a stupid unfinished experiment 2014-06-12 10:40:43 -04:00
Paul Davis
887e75260d use new ArdourCanvas::Ruler constructor 2014-06-12 10:35:32 -04:00
Paul Davis
87a6f633a1 derive ArdourCanvas::Ruler from Rectangle 2014-06-12 10:35:16 -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
e1825361b5 remove hard-coded colors 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
143f9509ea many fixes and improvements for a now-working ArdourCanvas::Ruler item 2014-06-11 23:54:28 -04:00
Paul Davis
f5fc4a6b09 add ruler.cc to canvas wscript 2014-06-11 23:54:28 -04:00
Paul Davis
2cab65062d add Ruler to Canvas fwd.h 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
5ee4f41925 add initial (untested) implementation of canvas ruler item 2014-06-11 23:54:28 -04:00
Robin Gareus
e1b82caeb9 delayline: properly hand-over the shared-pointer. 2014-06-12 02:10:37 +02:00
Robin Gareus
266953cb96 add latency callback to dummy backend 2014-06-11 22:01:21 +02:00
Robin Gareus
b6362a76a8 fix possible crash when setting delivery name w/o panshell 2014-06-11 20:21:14 +02:00
Robin Gareus
6003aea385 NOOP, re-indent using tabs 2014-06-11 17:14:31 +02:00
Robin Gareus
4d0e564fa7 align internal sends using delaylines 2014-06-11 17:14:26 +02:00
Robin Gareus
ca3c9cae6e basic integration of delaylines (still un-nused) 2014-06-11 17:14:18 +02:00
Robin Gareus
626b2daa82 add delayline implementaion (in prep for latency compensation) 2014-06-11 16:31:29 +02:00
Robin Gareus
621e92f268 NOOP, re-indent & whitespace 2014-06-11 16:27:30 +02:00
Robin Gareus
33db3c854d prepare midi buffer API for midi-delaylines 2014-06-11 16:27:23 +02:00
Robin Gareus
0400fa64da fix midi buffer erase() 2014-06-11 16:26:27 +02: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
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
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