comparison 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
comparison
equal deleted inserted replaced
1301:e8368466fa34 1302:f3d3fab250ac
96 float m_monitorRight; 96 float m_monitorRight;
97 bool m_editable; 97 bool m_editable;
98 bool m_editing; 98 bool m_editing;
99 bool m_includeMute; 99 bool m_includeMute;
100 bool m_includeHalfSteps; 100 bool m_includeHalfSteps;
101 int m_pendingWheelAngle;
101 102
102 int clampNotch(int notch) const; 103 int clampNotch(int notch) const;
104 int clampPan(int pan) const;
103 105
104 int audioLevelToNotch(float audioLevel) const; 106 int audioLevelToNotch(float audioLevel) const;
105 float notchToAudioLevel(int notch) const; 107 float notchToAudioLevel(int notch) const;
106 108
107 int audioPanToPan(float audioPan) const; 109 int audioPanToPan(float audioPan) const;