Paul Davis
ee49c0a0c2
change placement of ruler divider so that the lower line is at the specified height, rather than the upper
2014-11-26 13:53:33 +02:00
Paul Davis
3551e2a066
change ruler rendering to change tick heights and move text down
2014-11-25 15:31:41 +02:00
Paul Davis
5fe8a7321f
add missing API
2014-11-24 19:29:22 +02:00
Paul Davis
ca506df094
add API to Ruler to optionally draw a divider (2 single pixel horizontal lines) at some position within the vertical extent of the ruler
2014-11-24 19:29:22 +02:00
Paul Davis
2c92680788
don't needlessly redraw ruler if new metric is the same as the old
2014-09-05 15:24:16 -04:00
Paul Davis
9b405de03d
add Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamically
2014-09-05 14:45:27 -04:00
Paul Davis
8c17bb0ca0
change Metric element of a Canvas::Ruler item into a pointer internally
2014-09-05 14:42:06 -04:00
Paul Davis
98aa604aa0
refactor Canvas so that all Items have children; add Container abstract base class; rename Group as "Layout" and retain only drawing semantics
2014-08-17 17:42:59 -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
1a3596b071
derive ArdourCanvas::Ruler from Rectangle
2014-08-17 15:08:33 -04:00
Paul Davis
a7a75f105a
remove hard-coded colors
2014-08-17 15:08:19 -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
76b9ad2294
add initial (untested) implementation of canvas ruler item
2014-08-17 15:05:48 -04:00