diff widgets/AudioDial.h @ 374:64e84e5efb76 spectrogram-cache-rejig

* Merge from trunk
author Chris Cannam
date Wed, 27 Feb 2008 11:59:42 +0000
parents 1a49bd0d8375
children 4a578a360011
line wrap: on
line diff
--- a/widgets/AudioDial.h	Mon Nov 19 15:50:37 2007 +0000
+++ b/widgets/AudioDial.h	Wed Feb 27 11:59:42 2008 +0000
@@ -107,8 +107,12 @@
 
     void setValue(int value);
 
+    void setDefaultMappedValue(float mappedValue);
+
     void setMappedValue(float mappedValue);
 
+    void setToDefault();
+
 protected:
     void drawTick(QPainter &paint, float angle, int size, bool internal);
     virtual void paintEvent(QPaintEvent *);
@@ -129,6 +133,7 @@
     QColor m_meterColor;
     
     int m_defaultValue;
+    float m_defaultMappedValue;
     float m_mappedValue;
     bool m_noMappedUpdate;