Mercurial > hg > svgui
comparison layer/WaveformLayer.h @ 1333:59f6830be8d8 zoom
A further refactor with range blocks
author | Chris Cannam |
---|---|
date | Fri, 21 Sep 2018 14:22:53 +0100 |
parents | 6dac67c3ed82 |
children | 0e4551fd7f14 |
comparison
equal
deleted
inserted
replaced
1332:6dac67c3ed82 | 1333:59f6830be8d8 |
---|---|
212 /// Return value is number of channels displayed | 212 /// Return value is number of channels displayed |
213 int getChannelArrangement(int &min, int &max, | 213 int getChannelArrangement(int &min, int &max, |
214 bool &merging, bool &mixing) const; | 214 bool &merging, bool &mixing) const; |
215 | 215 |
216 void paintChannel(LayerGeometryProvider *, QPainter *paint, int channel, | 216 void paintChannel(LayerGeometryProvider *, QPainter *paint, int channel, |
217 const RangeSummarisableTimeValueModel::RangeBlock *ranges, | 217 const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges, |
218 const RangeSummarisableTimeValueModel::RangeBlock *other, | |
219 int blockSize, int x0, int y0, int x1, int y1, | 218 int blockSize, int x0, int y0, int x1, int y1, |
220 sv_frame_t frame0, sv_frame_t frame1) const; | 219 sv_frame_t frame0, sv_frame_t frame1) const; |
221 | 220 |
222 int getYForValue(const LayerGeometryProvider *v, double value, int channel) const; | 221 int getYForValue(const LayerGeometryProvider *v, double value, int channel) const; |
223 | 222 |