diff widgets/LevelPanWidget.h @ 1302:f3d3fab250ac

Proper handling for wheel rotation distance
author Chris Cannam
date Fri, 22 Jun 2018 13:41:54 +0100
parents e8368466fa34
children 13f5f84fbfad
line wrap: on
line diff
--- a/widgets/LevelPanWidget.h	Thu Jun 21 15:36:29 2018 +0100
+++ b/widgets/LevelPanWidget.h	Fri Jun 22 13:41:54 2018 +0100
@@ -98,8 +98,10 @@
     bool m_editing;
     bool m_includeMute;
     bool m_includeHalfSteps;
+    int m_pendingWheelAngle;
 
     int clampNotch(int notch) const;
+    int clampPan(int pan) const;
 
     int audioLevelToNotch(float audioLevel) const;
     float notchToAudioLevel(int notch) const;