diff layer/SliceLayer.h @ 195:4a3bdde1ef13

* beginnings of spectrum scales
author Chris Cannam
date Mon, 29 Jan 2007 18:11:20 +0000
parents 57c2350a8c40
children 6b023411087b
line wrap: on
line diff
--- a/layer/SliceLayer.h	Fri Jan 26 17:20:58 2007 +0000
+++ b/layer/SliceLayer.h	Mon Jan 29 18:11:20 2007 +0000
@@ -41,6 +41,9 @@
 
     virtual void paint(View *v, QPainter &paint, QRect rect) const;
 
+    virtual int getVerticalScaleWidth(View *v, QPainter &) const;
+    virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const;
+
     virtual PropertyList getProperties() const;
     virtual QString getPropertyLabel(const PropertyName &) const;
     virtual PropertyType getPropertyType(const PropertyName &) const;
@@ -104,6 +107,7 @@
     bool                              m_normalize;
     bool                              m_bias;
     float                             m_gain;
+    mutable std::vector<int>          m_scalePoints;
 };
 
 #endif