Mercurial > hg > svgui
diff layer/WaveformLayer.h @ 1335:bc44b520405f zoom
Factor out paintChannelScaleGuides
author | Chris Cannam |
---|---|
date | Fri, 21 Sep 2018 14:46:53 +0100 |
parents | 0e4551fd7f14 |
children | 43296804c473 |
line wrap: on
line diff
--- a/layer/WaveformLayer.h Fri Sep 21 14:33:43 2018 +0100 +++ b/layer/WaveformLayer.h Fri Sep 21 14:46:53 2018 +0100 @@ -218,6 +218,9 @@ const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges, int blockSize, sv_frame_t frame0, sv_frame_t frame1) const; + + void paintChannelScaleGuides(LayerGeometryProvider *, QPainter *paint, + QRect rect, int channel) const; int getYForValue(const LayerGeometryProvider *v, double value, int channel) const;