Mercurial > hg > svgui
changeset 1232:de1792daae07
Move this function into cpp file
author | Chris Cannam |
---|---|
date | Thu, 26 Jan 2017 21:18:55 +0000 |
parents | ff97318e993c |
children | 1a7c2ca31579 |
files | layer/SpectrogramLayer.cpp layer/SpectrogramLayer.h |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/layer/SpectrogramLayer.cpp Thu Jan 26 21:18:28 2017 +0000 +++ b/layer/SpectrogramLayer.cpp Thu Jan 26 21:18:55 2017 +0000 @@ -1024,6 +1024,12 @@ } } +bool +SpectrogramLayer::isLayerScrollable(const LayerGeometryProvider *) const +{ + return false; +} + void SpectrogramLayer::cacheInvalid() {
--- a/layer/SpectrogramLayer.h Thu Jan 26 21:18:28 2017 +0000 +++ b/layer/SpectrogramLayer.h Thu Jan 26 21:18:55 2017 +0000 @@ -224,7 +224,7 @@ virtual void setLayerDormant(const LayerGeometryProvider *v, bool dormant); - virtual bool isLayerScrollable(const LayerGeometryProvider *) const { return false; } + virtual bool isLayerScrollable(const LayerGeometryProvider *) const; virtual int getVerticalZoomSteps(int &defaultStep) const; virtual int getCurrentVerticalZoomStep() const;