comparison layer/WaveformLayer.h @ 1334:0e4551fd7f14 zoom

Another tidy
author Chris Cannam
date Fri, 21 Sep 2018 14:33:43 +0100
parents 59f6830be8d8
children bc44b520405f
comparison
equal deleted inserted replaced
1333:59f6830be8d8 1334:0e4551fd7f14
211 211
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, QRect rect,
217 int channel,
217 const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges, 218 const std::vector<RangeSummarisableTimeValueModel::RangeBlock> &ranges,
218 int blockSize, int x0, int y0, int x1, int y1, 219 int blockSize, sv_frame_t frame0, sv_frame_t frame1)
219 sv_frame_t frame0, sv_frame_t frame1) const; 220 const;
220 221
221 int getYForValue(const LayerGeometryProvider *v, double value, int channel) const; 222 int getYForValue(const LayerGeometryProvider *v, double value, int channel) const;
222 223
223 double getValueForY(const LayerGeometryProvider *v, int y, int &channel) const; 224 double getValueForY(const LayerGeometryProvider *v, int y, int &channel) const;
224 225