diff layer/SpectrumLayer.h @ 267:4ed1446ad604

* more on measurement tool -- pull out some logic from pane to layer &c still more to do
author Chris Cannam
date Thu, 21 Jun 2007 16:12:00 +0000
parents a3a54632cd4c
children b9380f679f70
line wrap: on
line diff
--- a/layer/SpectrumLayer.h	Thu Jun 21 14:05:23 2007 +0000
+++ b/layer/SpectrumLayer.h	Thu Jun 21 16:12:00 2007 +0000
@@ -59,7 +59,7 @@
     virtual bool getValueExtents(float &min, float &max,
                                  bool &logarithmic, QString &unit) const;
 
-    virtual bool getXScaleValue(View *v, int x,
+    virtual bool getXScaleValue(const View *v, int x,
                                 float &value, QString &unit) const;
 
     virtual bool isLayerScrollable(const View *) const { return false; }