Mercurial > hg > svgui
diff layer/SpectrogramLayer.cpp @ 1113:261a00010918 spectrogram-minor-refactor
Consts and willRenderOpaque
author | Chris Cannam |
---|---|
date | Tue, 19 Jul 2016 14:49:46 +0100 |
parents | d578b685d912 |
children | ee8e73dc5c8b |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Tue Jul 19 10:12:30 2016 +0100 +++ b/layer/SpectrogramLayer.cpp Tue Jul 19 14:49:46 2016 +0100 @@ -1089,13 +1089,13 @@ } double -SpectrogramLayer::getYForBin(LayerGeometryProvider *, double) const { +SpectrogramLayer::getYForBin(const LayerGeometryProvider *, double) const { //!!! not implemented throw std::logic_error("not implemented"); } double -SpectrogramLayer::getBinForY(LayerGeometryProvider *v, double y) const +SpectrogramLayer::getBinForY(const LayerGeometryProvider *v, double y) const { //!!! overlap with range methods above (but using double arg) //!!! tidy this