Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
1334:0e4551fd7f14 | 1335:bc44b520405f |
---|---|
216 void paintChannel(LayerGeometryProvider *, QPainter *paint, QRect rect, | 216 void paintChannel(LayerGeometryProvider *, QPainter *paint, QRect rect, |
217 int channel, | 217 int channel, |
218 const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges, | 218 const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges, |
219 int blockSize, sv_frame_t frame0, sv_frame_t frame1) | 219 int blockSize, sv_frame_t frame0, sv_frame_t frame1) |
220 const; | 220 const; |
221 | |
222 void paintChannelScaleGuides(LayerGeometryProvider *, QPainter *paint, | |
223 QRect rect, int channel) const; | |
221 | 224 |
222 int getYForValue(const LayerGeometryProvider *v, double value, int channel) const; | 225 int getYForValue(const LayerGeometryProvider *v, double value, int channel) const; |
223 | 226 |
224 double getValueForY(const LayerGeometryProvider *v, int y, int &channel) const; | 227 double getValueForY(const LayerGeometryProvider *v, int y, int &channel) const; |
225 | 228 |