diff layer/SpectrogramLayer.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 11021509c4eb
children e954c00cbe55
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Thu Jun 21 14:05:23 2007 +0000
+++ b/layer/SpectrogramLayer.h	Thu Jun 21 16:12:00 2007 +0000
@@ -188,8 +188,8 @@
     virtual bool isLayerOpaque() const { return true; }
     virtual bool isLayerColourSignificant() const { return true; }
 
-    float getYForFrequency(View *v, float frequency) const;
-    float getFrequencyForY(View *v, int y) const;
+    float getYForFrequency(const View *v, float frequency) const;
+    float getFrequencyForY(const View *v, int y) const;
 
     virtual int getCompletion(View *v) const;
 
@@ -200,7 +200,7 @@
 
     virtual bool setDisplayExtents(float min, float max);
 
-    virtual bool getYScaleValue(View *, int, float &, QString &) const;
+    virtual bool getYScaleValue(const View *, int, float &, QString &) const;
 
     virtual QString toXmlString(QString indent = "",
 				QString extraAttributes = "") const;