diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-03-07 22:43:26 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-03-07 22:43:26 +0000 |
| commit | 0b46e2db06ec1bbfc3aee819787386ace9dad66c (patch) | |
| tree | 109f4bbf3a7227262a280f00731f0767d331a811 /src/ui/positionbar.h | |
| parent | 5896c5ae40726637cbfc5605f5f659791ff569c7 (diff) | |
| download | qmmp-0b46e2db06ec1bbfc3aee819787386ace9dad66c.tar.gz qmmp-0b46e2db06ec1bbfc3aee819787386ace9dad66c.tar.bz2 qmmp-0b46e2db06ec1bbfc3aee819787386ace9dad66c.zip | |
improved seeking accuracy
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@827 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/positionbar.h')
| -rw-r--r-- | src/ui/positionbar.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/ui/positionbar.h b/src/ui/positionbar.h index ea03ef14a..cbabab9aa 100644 --- a/src/ui/positionbar.h +++ b/src/ui/positionbar.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Ilya Kotov * + * Copyright (C) 2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -41,12 +41,12 @@ public: ~PositionBar(); public slots: - void setValue(int); - int value()const{return m_value;} - void setMax(int); + void setValue(qint64); + qint64 value()const{return m_value;} + void setMax(qint64); signals: - void sliderMoved (int); + void sliderMoved (qint64); private slots: void updateSkin(); @@ -54,11 +54,11 @@ private slots: private: Skin *m_skin; bool m_moving; - int press_pos; - int m_max, m_min, m_pos, m_value, m_old; + qint64 press_pos; + qint64 m_max, m_min, m_pos, m_value, m_old; QPixmap m_pixmap; MainWindow *mw; - int convert(int); // value = convert(position); + qint64 convert(qint64); // value = convert(position); void draw(bool pressed = TRUE); protected: |
