diff layer/SpectrogramLayer.h @ 1113:261a00010918 spectrogram-minor-refactor

Consts and willRenderOpaque
author Chris Cannam
date Tue, 19 Jul 2016 14:49:46 +0100
parents 67dd16e33a3d
children d930ff725f64
line wrap: on
line diff
--- a/layer/SpectrogramLayer.h	Tue Jul 19 10:12:30 2016 +0100
+++ b/layer/SpectrogramLayer.h	Tue Jul 19 14:49:46 2016 +0100
@@ -195,8 +195,8 @@
     double getFrequencyForY(const LayerGeometryProvider *v, int y) const;
 
     //!!! VerticalBinLayer methods. Note overlap with get*BinRange()
-    double getYForBin(LayerGeometryProvider *, double bin) const;
-    double getBinForY(LayerGeometryProvider *, double y) const;
+    double getYForBin(const LayerGeometryProvider *, double bin) const;
+    double getBinForY(const LayerGeometryProvider *, double y) const;
     
     virtual int getCompletion(LayerGeometryProvider *v) const;
     virtual QString getError(LayerGeometryProvider *v) const;