summaryrefslogblamecommitdiffstats
path: root/src/backdrop.h
blob: b798a89563d6e1923959f972776ea9fd0076bfe9 (plain) (tree)

























                                                              
#ifndef BACKDROP_H_
#define BACKDROP_H_

#include <QWidget>

class QPixmap;

class Backdrop : public QWidget
{
	Q_OBJECT

private:
	const QPixmap * screenshot;
	QWidget * mainWindow;

protected:
	virtual void paintEvent(QPaintEvent * event);
	virtual void mouseReleaseEvent(QMouseEvent * event);

public:
	explicit Backdrop();
	virtual ~Backdrop();
	void setMainWindow(QWidget *win) { mainWindow = win; }
};

#endif /* BACKDROP_H_ */