diff layer/SpectrogramLayer.h @ 20:1deb5f87a18c

* Add getXForFrame / getFrameForX in preference to using the zoom level everywhere
author Chris Cannam
date Mon, 30 Jan 2006 13:19:42 +0000
parents 0183ebb725ca
children dcdb21b62dbb
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Fri Jan 27 18:04:07 2006 +0000
+++ b/layer/SpectrogramLayer.h	Mon Jan 30 13:19:42 2006 +0000
@@ -217,9 +217,7 @@
 	size_t modelStart;
 	size_t modelEnd;
     };
-    /// LayerRange is only passed in to save lookup time
-    bool getXBinRange(int x, float &windowMin, float &windowMax,
-		      LayerRange *range = 0) const;
+    bool getXBinRange(int x, float &windowMin, float &windowMax) const;
 
     bool getYBinSourceRange(int y, float &freqMin, float &freqMax) const;
     bool getXBinSourceRange(int x, RealTime &timeMin, RealTime &timeMax) const;