diff widgets/Thumbwheel.h @ 165:793df5f0c6cb

* Make the thumbwheel widget much smoother to use, and fix a bug in positioning
author Chris Cannam
date Thu, 12 Oct 2006 15:47:38 +0000
parents 9e6b3e239b9d
children 42118892f428
line wrap: on
line diff
--- a/widgets/Thumbwheel.h	Thu Oct 12 14:56:28 2006 +0000
+++ b/widgets/Thumbwheel.h	Thu Oct 12 15:47:38 2006 +0000
@@ -61,6 +61,7 @@
     int m_max;
     int m_default;
     int m_value;
+    float m_rotation;
     Qt::Orientation m_orientation;
     float m_speed;
     bool m_tracking;
@@ -68,7 +69,7 @@
     bool m_clicked;
     bool m_atDefault;
     QPoint m_clickPos;
-    int m_clickValue;
+    float m_clickRotation;
 };
 
 #endif