Mercurial > hg > svgui
comparison 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 |
comparison
equal
deleted
inserted
replaced
1112:d578b685d912 | 1113:261a00010918 |
---|---|
1087 | 1087 |
1088 return true; | 1088 return true; |
1089 } | 1089 } |
1090 | 1090 |
1091 double | 1091 double |
1092 SpectrogramLayer::getYForBin(LayerGeometryProvider *, double) const { | 1092 SpectrogramLayer::getYForBin(const LayerGeometryProvider *, double) const { |
1093 //!!! not implemented | 1093 //!!! not implemented |
1094 throw std::logic_error("not implemented"); | 1094 throw std::logic_error("not implemented"); |
1095 } | 1095 } |
1096 | 1096 |
1097 double | 1097 double |
1098 SpectrogramLayer::getBinForY(LayerGeometryProvider *v, double y) const | 1098 SpectrogramLayer::getBinForY(const LayerGeometryProvider *v, double y) const |
1099 { | 1099 { |
1100 //!!! overlap with range methods above (but using double arg) | 1100 //!!! overlap with range methods above (but using double arg) |
1101 //!!! tidy this | 1101 //!!! tidy this |
1102 | 1102 |
1103 int h = v->getPaintHeight(); | 1103 int h = v->getPaintHeight(); |