Paul Davis
01b84f0ad0
remove no-longer-used code
2014-08-17 15:09:15 -04:00
Paul Davis
835e2fe109
add back click behaviour for canvas rulers, and also cursor enforcement
2014-08-17 15:09:10 -04:00
Paul Davis
f28348ea91
add canvas rulers event dispatch and reinstate scrolling behaviour
2014-08-17 15:09:05 -04:00
Paul Davis
452cf1db35
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-08-17 15:08:56 -04:00
Paul Davis
eb69fd17fd
drag handles no longer exist as distinct item types (failed experiment)
2014-08-17 15:08:50 -04:00
Paul Davis
3cec76834e
remove drag handle canvas object - it was just a stupid unfinished experiment
2014-08-17 15:08:46 -04:00
Paul Davis
dbd35440aa
use new ArdourCanvas::Ruler constructor
2014-08-17 15:08:39 -04:00
Paul Davis
1a3596b071
derive ArdourCanvas::Ruler from Rectangle
2014-08-17 15:08:33 -04:00
Paul Davis
a401962539
add new canvas vars for rulers
2014-08-17 15:08:28 -04:00
Paul Davis
f35de8c953
make rulers color-sensitive (e.g. theme manager editable, etc)
2014-08-17 15:08:24 -04:00
Paul Davis
a7a75f105a
remove hard-coded colors
2014-08-17 15:08:19 -04:00
Paul Davis
5617432962
add new default colors for canvas rulers
2014-08-17 15:08:13 -04:00
Paul Davis
0ac4dfaa35
removed unused rule GTK widget style definition
2014-08-17 15:08:08 -04:00
Paul Davis
6d08de0233
remove unused GTK style
2014-08-17 15:08:02 -04:00
Paul Davis
2b99520451
OS X specific cleanup after canvas ruler introduction
2014-08-17 15:07:56 -04:00
Paul Davis
1776e12f26
remove header file includes of now-removed gtk custom ruler
2014-08-17 15:07:49 -04:00
Paul Davis
e02dac67b5
remove header file includes of now-removed gtk custom ruler
2014-08-17 15:07:44 -04:00
Paul Davis
0bf68bf76c
final ruler file removal
2014-08-17 15:07:39 -04:00
Paul Davis
7979265724
remove gtk ruler widget implementation - no longer in use
2014-08-17 15:07:27 -04:00
Paul Davis
59ccbc8774
use canvas rulers now instead of gtk widgets
...
Some bugs that exist in master are still present.
Conflicts:
gtk2_ardour/editor.cc
gtk2_ardour/editor.h
2014-08-17 15:07:20 -04:00
Paul Davis
473bcc3fa6
many fixes and improvements for a now-working ArdourCanvas::Ruler item
2014-08-17 15:06:11 -04:00
Paul Davis
126a293ab9
add ruler.cc to canvas wscript
2014-08-17 15:06:06 -04:00
Paul Davis
def1f12164
add Ruler to Canvas fwd.h
2014-08-17 15:05:59 -04:00
Paul Davis
cd29e0b7cc
clamp zoom level to show 3 days on a 4000 pixel wide screen; comment unused variable for now
2014-08-17 15:05:53 -04:00
Paul Davis
76b9ad2294
add initial (untested) implementation of canvas ruler item
2014-08-17 15:05:48 -04:00
Robin Gareus
494515ee16
delayline: properly hand-over the shared-pointer.
2014-08-17 15:05:38 -04:00
Robin Gareus
1501726cd5
add latency callback to dummy backend
2014-08-17 15:05:31 -04:00
Robin Gareus
65671fd59e
fix possible crash when setting delivery name w/o panshell
2014-08-17 15:05:24 -04:00
Robin Gareus
a5eacb7552
NOOP, re-indent using tabs
2014-08-17 15:05:18 -04:00
Robin Gareus
d59eaca690
align internal sends using delaylines
2014-08-17 15:05:13 -04:00
Robin Gareus
8ba99446ef
basic integration of delaylines (still un-nused)
2014-08-17 15:05:03 -04:00
Robin Gareus
ca7ceed890
add delayline implementaion (in prep for latency compensation)
2014-08-17 15:04:58 -04:00
Robin Gareus
d84788d310
NOOP, re-indent & whitespace
2014-08-17 15:04:52 -04:00
Robin Gareus
dacf51c299
prepare midi buffer API for midi-delaylines
2014-08-17 15:04:47 -04:00
Robin Gareus
d048c8e4a6
fix midi buffer erase()
2014-08-17 15:04:40 -04:00
Paul Davis
89b7b77fdc
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-08-17 15:04:33 -04:00
Paul Davis
ce95944e5b
do not allow canvas cursor changes while a drag is in progress
2014-08-17 15:04:29 -04:00
Paul Davis
a6f89ce443
first pass an alternate cursor set (updates expected soon)
2014-08-17 15:04:23 -04:00
Paul Davis
5fea87ead6
make the icon set selector actually do something
...
Conflicts:
gtk2_ardour/editor.cc
2014-08-17 15:04:16 -04:00
Paul Davis
8d27a1436a
add icon set selector to theme manager
2014-08-17 15:03:34 -04:00
Paul Davis
d1e36a2fcc
add ::get_icon_sets() to utils
2014-08-17 15:03:29 -04:00
Paul Davis
7e317e7ad8
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-08-17 15:03:22 -04:00
Paul Davis
d89dd8e73a
remove ambiguous use of Rect (on OS X)
2014-08-17 15:03:17 -04:00
Paul Davis
aefe0a4953
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-08-17 15:03:01 -04:00
Paul Davis
895f4ccb16
remove instances of RGBA_TO_UINT() macro from region_view.cc
2014-08-17 15:02:56 -04:00
Paul Davis
9199b9fc6e
remove instances of RGBA_TO_UINT() macro from audio_region_view.cc
2014-08-17 15:02:50 -04:00
Paul Davis
cbea95b43d
remove more unusued color members from TimeAxisViewItem
2014-08-17 15:02:45 -04:00
Paul Davis
72d9c38702
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
Conflicts:
gtk2_ardour/region_view.cc
gtk2_ardour/time_axis_view_item.cc
2014-08-17 15:02:28 -04:00
Robin Gareus
28306d0b06
wrap MIDI timecode at 24h
2014-08-17 15:00:48 -04:00
Robin Gareus
8875cd5a5a
really fix sending MIDI timecode.
2014-08-17 15:00:43 -04:00