# HG changeset patch # User Chris Cannam # Date 1485465535 0 # Node ID de1792daae0753b8471bb01cd5fa20822157f6b3 # Parent ff97318e993cc33962e0eebd096c643f15c997e2 Move this function into cpp file diff -r ff97318e993c -r de1792daae07 layer/SpectrogramLayer.cpp --- 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() { diff -r ff97318e993c -r de1792daae07 layer/SpectrogramLayer.h --- 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;