Mercurial > hg > svgui
changeset 724:5d3a6ecdf2db
Unclamped
author | Chris Cannam |
---|---|
date | Thu, 06 Feb 2014 15:31:46 +0000 |
parents | 67e6d518ac27 |
children | c27a3604fe6f |
files | layer/SpectrogramLayer.cpp |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Tue Jan 28 17:37:42 2014 +0000 +++ b/layer/SpectrogramLayer.cpp Thu Feb 06 15:31:46 2014 +0000 @@ -3459,6 +3459,11 @@ return n; } + + virtual int getPositionForValueUnclamped(float value) const { + // We don't really support this + return getPositionForValue(value); + } virtual float getValueForPosition(int position) const { @@ -3478,6 +3483,11 @@ return dist; } + virtual float getValueForPositionUnclamped(int position) const { + // We don't really support this + return getValueForPosition(position); + } + virtual QString getUnit() const { return "Hz"; } protected: