summaryrefslogtreecommitdiffstats
path: root/noatun/modules/kjofol-skin/kjbackground.h
blob: 502611c51537ece891b61c2d7ef54ff7564f8084 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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