diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-11-14 21:19:27 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2007-11-14 21:19:27 +0000 |
| commit | 5e26d3a305b8e2c193ef04681c3c00937505ce53 (patch) | |
| tree | 64d2d6c12dec706838f872e05f451a933b476fc0 /src/titlebar.h | |
| parent | bfabba0454037c8817ed192dc110c4237888bae8 (diff) | |
| download | qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.tar.gz qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.tar.bz2 qmmp-5e26d3a305b8e2c193ef04681c3c00937505ce53.zip | |
shaded mode for the main display
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@183 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/titlebar.h')
| -rw-r--r-- | src/titlebar.h | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/titlebar.h b/src/titlebar.h index 1589effc0..4428a188c 100644 --- a/src/titlebar.h +++ b/src/titlebar.h @@ -21,11 +21,12 @@ #define TITLEBAR_H #include <QMainWindow> -#include "pixmapwidget.h" +#include <QPoint> +#include "pixmapwidget.h" #include "playlist.h" -#include <QPoint> #include "mainwindow.h" + /** @author Ilya Kotov <forkotov02@hotmail.ru> */ @@ -34,7 +35,9 @@ class QMouseEvent; class Skin; class Button; - +class SymbolDisplay; +class TitleBarControl; +class ShadedVisual; class TitleBar : public PixmapWidget { @@ -45,10 +48,12 @@ public: ~TitleBar(); void setActive(bool); + void setInfo(const OutputState &st); private slots: void updateSkin(); void showMainMenu(); + void shade(); private: Skin *m_skin; @@ -57,9 +62,14 @@ private: Button *m_menu; Button *m_minimize; Button *m_shade; + Button *m_shade2; Button *m_close; - int x_diff, y_diff; - + SymbolDisplay *m_currentTime; + QString formatTime (int); + bool m_shaded; + bool m_align; + TitleBarControl *m_control; + ShadedVisual *m_visual; protected: void mousePressEvent(QMouseEvent*); |
