diff options
Diffstat (limited to 'noatun/modules/kjofol-skin/kjbackground.h')
-rw-r--r-- | noatun/modules/kjofol-skin/kjbackground.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/noatun/modules/kjofol-skin/kjbackground.h b/noatun/modules/kjofol-skin/kjbackground.h new file mode 100644 index 00000000..502611c5 --- /dev/null +++ b/noatun/modules/kjofol-skin/kjbackground.h @@ -0,0 +1,21 @@ +#ifndef KJBACKGROUND_H +#define KJBACKGROUND_H + +#include "kjwidget.h" +//#include "kjloader.h" +class KJLoader; + +#include <qpainter.h> + +class KJBackground : public KJWidget +{ +public: + KJBackground(KJLoader *); + virtual void paint(QPainter *, const QRect &rect); + virtual bool mousePress(const QPoint &) {return false;} + virtual void mouseRelease(const QPoint &, bool) {} + +private: + QPixmap mBackground; +}; +#endif |