Mercurial > hg > svgui
diff layer/TimeValueLayer.h @ 553:97e60a895211
* Add "plot derivatives" option to time value layer (scale is not always right)
author | Chris Cannam |
---|---|
date | Thu, 28 Jan 2010 16:46:04 +0000 |
parents | 2e8194a30f40 |
children | 5b72899d692b |
line wrap: on
line diff
--- a/layer/TimeValueLayer.h Thu Oct 22 15:54:21 2009 +0000 +++ b/layer/TimeValueLayer.h Thu Jan 28 16:46:04 2010 +0000 @@ -111,6 +111,9 @@ void setDrawSegmentDivisions(bool); bool getDrawSegmentDivisions() const { return m_drawSegmentDivisions; } + void setShowDerivative(bool); + bool getShowDerivative() const { return m_derivative; } + virtual bool isLayerScrollable(const View *v) const; virtual bool isLayerEditable() const { return true; } @@ -165,6 +168,7 @@ PlotStyle m_plotStyle; VerticalScale m_verticalScale; bool m_drawSegmentDivisions; + bool m_derivative; mutable float m_scaleMinimum; mutable float m_scaleMaximum;