Merge pull request #77 from LMMS/smooth-knob

UI: smoother knobs
This commit is contained in:
Tobias Doerffel
2014-01-21 15:19:40 -08:00
3 changed files with 13 additions and 38 deletions

View File

@@ -148,12 +148,11 @@ private:
QPixmap * m_knobPixmap;
BoolModel m_volumeKnob;
float m_mouseOffset;
QPoint m_mouseOffset;
QPoint m_origMousePos;
float m_origValue;
bool m_buttonPressed;
int m_magneticDecay;
float m_totalAngle;
int m_angle;
QImage m_cache;