Mercurial > hg > svgui
diff layer/WaveformLayer.h @ 949:e3c7da3d896e osx-retina
Merge from default branch
author | Chris Cannam |
---|---|
date | Mon, 20 Apr 2015 11:00:48 +0100 |
parents | 4fe7a09be0fe e53a87a5efb2 |
children | a34a2a25907c |
line wrap: on
line diff
--- a/layer/WaveformLayer.h Mon Apr 20 11:00:39 2015 +0100 +++ b/layer/WaveformLayer.h Mon Apr 20 11:00:48 2015 +0100 @@ -202,6 +202,8 @@ virtual int getCurrentVerticalZoomStep() const; virtual void setVerticalZoomStep(int); + virtual bool canExistWithoutModel() const { return true; } + protected: int dBscale(double sample, int m) const;