summaryrefslogtreecommitdiff
path: root/libs/canvas/ruler.cc
AgeCommit message (Collapse)Author
2016-07-25the endless quest to plug memory leaks -- episode 378Robin Gareus
2016-05-27Initial stab at tempo ramps.nick_m
Replaces the list of points in TempoMap with TempoSection functions, which compute tempo-at or tick-at time relative to tempo section start. TempoMap consults them additively to determine things like bbt_time(), frame_time() get_grid() etc. This has a marked effect on scrolling speed along with the code simplification in the places it has been attempted. Several things are broken here. Currently every ramp except the last one is an exponential ramp. this may be simple to fix :). Mouse-over midi grid doesn't match mouse click grid. should also be simple. Many things seem to work, but their accuracy should be in question until each area has been addressed.
2015-10-05NOOP, remove trailing tabs/whitespace.Robin Gareus
2015-10-04globally remove all trailing whitespace from ardour code base.Paul Davis
Paul Davis was responsible for introducing almost all of this.
2015-04-29change placement of ruler divider so that the lower line is at the specified ↵Paul Davis
height, rather than the upper
2015-04-29change ruler rendering to change tick heights and move text downPaul Davis
2015-04-29add missing APIPaul Davis
2015-04-29add API to Ruler to optionally draw a divider (2 single pixel horizontal ↵Paul Davis
lines) at some position within the vertical extent of the ruler
2014-09-07add Canvas::Ruler::set_metric() to allow ruler metrics to be changed dynamicallyPaul Davis
2014-09-07change Metric element of a Canvas::Ruler item into a pointer internallyPaul Davis
2014-06-21refactor Canvas so that all Items have children; add Container abstract base ↵Paul Davis
class; rename Group as "Layout" and retain only drawing semantics
2014-06-12change Canvas heirarchy and constructorsPaul Davis
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-12derive ArdourCanvas::Ruler from RectanglePaul Davis
2014-06-12remove hard-coded colorsPaul Davis
2014-06-11many fixes and improvements for a now-working ArdourCanvas::Ruler itemPaul Davis
2014-06-11add initial (untested) implementation of canvas ruler itemPaul Davis