Mercurial > hg > svgui
diff layer/TimeValueLayer.h @ 513:1341e95eeae9
* Make drawing segment divisions optional in segmentation plot style of
time value layer
* Don't follow playback when Alt is held down (complements use of Alt as
peek modifier)
author | Chris Cannam |
---|---|
date | Thu, 26 Feb 2009 16:58:25 +0000 |
parents | b3140e9e0665 |
children | ff1dc4f302bd |
line wrap: on
line diff
--- a/layer/TimeValueLayer.h Thu Feb 26 14:05:13 2009 +0000 +++ b/layer/TimeValueLayer.h Thu Feb 26 16:58:25 2009 +0000 @@ -103,6 +103,9 @@ void setVerticalScale(VerticalScale scale); VerticalScale getVerticalScale() const { return m_verticalScale; } + void setDrawSegmentDivisions(bool); + bool getDrawSegmentDivisions() const { return m_drawSegmentDivisions; } + virtual bool isLayerScrollable(const View *v) const; virtual bool isLayerEditable() const { return true; } @@ -156,6 +159,7 @@ int m_colourMap; PlotStyle m_plotStyle; VerticalScale m_verticalScale; + bool m_drawSegmentDivisions; mutable float m_scaleMinimum; mutable float m_scaleMaximum;