diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-11-03 21:34:57 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-11-03 21:34:57 +0000 |
| commit | 97c98d9d52c60bce1e70eb55dd807a21cbe32f04 (patch) | |
| tree | c57ee489faeb2c6b7eb4e5b2e05fcbb80b5df228 /src/ui/display.h | |
| parent | ee34c25e1f1e225d2527574abf2980afea9adf7d (diff) | |
| download | qmmp-97c98d9d52c60bce1e70eb55dd807a21cbe32f04.tar.gz qmmp-97c98d9d52c60bce1e70eb55dd807a21cbe32f04.tar.bz2 qmmp-97c98d9d52c60bce1e70eb55dd807a21cbe32f04.zip | |
added double size mode
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1353 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/display.h')
| -rw-r--r-- | src/ui/display.h | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/src/ui/display.h b/src/ui/display.h index ea2c6e53f..c776d01db 100644 --- a/src/ui/display.h +++ b/src/ui/display.h @@ -21,23 +21,14 @@ #define DISPLAY_H #include <QPixmap> - #include <qmmp/statehandler.h> #include "pixmapwidget.h" -/** - @author Ilya Kotov <forkotov02@hotmail.ru> -*/ -class QPushButton; -class QLabel; - class TimeIndicator; -class TitleBar; class PositionBar; -class Number; class Skin; class ToggleButton; -class OutputState; +class TitleBar; class NumberDisplay; class SymbolDisplay; class MonoStereo; @@ -46,7 +37,14 @@ class VolumeBar; class BalanceBar; class MainWindow; class SoundCore; +class Button; +class TextScroller; +class MainVisual; +class TitleBar; +/** + @author Ilya Kotov <forkotov02@hotmail.ru> +*/ class MainDisplay : public PixmapWidget { Q_OBJECT @@ -63,6 +61,8 @@ public: bool isShuffle()const; void setIsRepeatable(bool); void setIsShuffle(bool); + void setMinimalMode(bool b = TRUE); + void setActive(bool b); public slots: void setDuration(qint64); @@ -84,14 +84,20 @@ private slots: void setVolume(int left, int right); private: + void updatePositions(); + void updateMask(); QWidget* m_equlizer; QWidget* m_playlist; - QPixmap pixmap; - QPushButton *button; - QLabel *label; + bool m_shaded; Skin *m_skin; - TitleBar *titleBar; - PositionBar *posbar; + PositionBar *m_posbar; + Button *m_previous; + Button *m_play; + Button *m_pause; + Button *m_stop; + Button *m_next; + Button *m_eject; + TextScroller *m_text; ToggleButton *m_eqButton; ToggleButton *m_plButton; ToggleButton *m_shuffleButton; @@ -103,7 +109,9 @@ private: VolumeBar* m_volumeBar; BalanceBar* m_balanceBar; MainWindow* m_mw; + MainVisual* m_vis; TimeIndicator* m_timeIndicator; + TitleBar *m_titlebar; SoundCore *m_core; }; |
