diff layer/TimeValueLayer.h @ 701:084f65094203

Extend numerical and colour scales (and piano where applicable) to note and region layers
author Chris Cannam
date Wed, 04 Dec 2013 13:39:41 +0000
parents 1a1448f7beb2
children 1d526ba11a24
line wrap: on
line diff
--- a/layer/TimeValueLayer.h	Wed Dec 04 13:12:09 2013 +0000
+++ b/layer/TimeValueLayer.h	Wed Dec 04 13:39:41 2013 +0000
@@ -155,13 +155,13 @@
     }
 
     /// VerticalScaleLayer and ColourScaleLayer methods
-    virtual void getScaleExtents(View *, float &min, float &max, bool &log) const;
     virtual int getYForValue(View *, float value) const;
     virtual float getValueForY(View *, int y) const;
     virtual QString getScaleUnits() const;
     virtual QColor getColourForValue(View *v, float value) const;
 
 protected:
+    void getScaleExtents(View *, float &min, float &max, bool &log) const;
     bool shouldAutoAlign() const;
 
     SparseTimeValueModel::PointList getLocalPoints(View *v, int) const;