Mercurial > hg > svgui
diff layer/SliceLayer.h @ 265:a3a54632cd4c
* fixes to spectrum harmonic cursor etc
author | Chris Cannam |
---|---|
date | Fri, 15 Jun 2007 15:48:11 +0000 |
parents | a2ae3d93c645 |
children | 4ed1446ad604 |
line wrap: on
line diff
--- a/layer/SliceLayer.h Fri Jun 15 12:55:16 2007 +0000 +++ b/layer/SliceLayer.h Fri Jun 15 15:48:11 2007 +0000 @@ -105,8 +105,8 @@ void modelAboutToBeDeleted(Model *); protected: - float getXForBin(int bin, int totalBins, float w) const; - int getBinForX(float x, int totalBins, float w) const; + virtual float getXForBin(int bin, int totalBins, float w) const; + virtual int getBinForX(float x, int totalBins, float w) const; virtual QString getFeatureDescription(View *v, QPoint &, bool includeBinDescription,