diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-18 18:33:23 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-09-18 18:33:23 +0000 |
| commit | a09f7ea6f41f0744e9d34361aa146652e94cf74a (patch) | |
| tree | e3e14fc23d1ee7035fd08353bea1daecea0669f1 /src/ui/textscroller.h | |
| parent | 136f634c6c334fe1f1b77c9640fe49c8204d011f (diff) | |
| download | qmmp-a09f7ea6f41f0744e9d34361aa146652e94cf74a.tar.gz qmmp-a09f7ea6f41f0744e9d34361aa146652e94cf74a.tar.bz2 qmmp-a09f7ea6f41f0744e9d34361aa146652e94cf74a.zip | |
text scroller: added scrolling with mouse (patch by Erik Ölsar)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1233 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/textscroller.h')
| -rw-r--r-- | src/ui/textscroller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/textscroller.h b/src/ui/textscroller.h index bab7b5998..895796ca1 100644 --- a/src/ui/textscroller.h +++ b/src/ui/textscroller.h @@ -57,8 +57,12 @@ protected: void showEvent (QShowEvent *); void paintEvent (QPaintEvent *); void mousePressEvent (QMouseEvent *); + void mouseReleaseEvent (QMouseEvent *); + void mouseMoveEvent (QMouseEvent *); private: + bool m_pressing; + int press_pos; bool m_update; static TextScroller *pointer; QPixmap m_pixmap; |
