Mercurial > hg > svgui
diff layer/WaveformLayer.h @ 805:1d526ba11a24 warnfix_no_size_t
Remove size_t's and fix warnings in layer/
author | Chris Cannam |
---|---|
date | Tue, 17 Jun 2014 15:18:06 +0100 |
parents | def489f5ce92 |
children | b66fb15de477 |
line wrap: on
line diff
--- a/layer/WaveformLayer.h Tue Jun 03 11:10:52 2014 +0100 +++ b/layer/WaveformLayer.h Tue Jun 17 15:18:06 2014 +0100 @@ -208,15 +208,15 @@ const RangeSummarisableTimeValueModel *m_model; // I do not own this /// Return value is number of channels displayed - size_t getChannelArrangement(size_t &min, size_t &max, + int getChannelArrangement(int &min, int &max, bool &merging, bool &mixing) const; - int getYForValue(const View *v, float value, size_t channel) const; + int getYForValue(const View *v, float value, int channel) const; - float getValueForY(const View *v, int y, size_t &channel) const; + float getValueForY(const View *v, int y, int &channel) const; - bool getSourceFramesForX(View *v, int x, size_t modelZoomLevel, - size_t &f0, size_t &f1) const; + bool getSourceFramesForX(View *v, int x, int modelZoomLevel, + int &f0, int &f1) const; float getNormalizeGain(View *v, int channel) const;