Mercurial > hg > svgui
diff widgets/AudioDial.h @ 344:832d246b327b
* better progress reporting in FileSource
* fix set-to-default for audio dials with mappers
author | Chris Cannam |
---|---|
date | Fri, 04 Jan 2008 17:08:10 +0000 |
parents | 1a49bd0d8375 |
children | 4a578a360011 |
line wrap: on
line diff
--- a/widgets/AudioDial.h Tue Dec 18 10:35:55 2007 +0000 +++ b/widgets/AudioDial.h Fri Jan 04 17:08:10 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;