summaryrefslogblamecommitdiffstats
path: root/src/client/util/platform/blankscreen.h
blob: 8d8c9de50ea87c5eb8c570c567c492cb17c666e1 (plain) (tree)
1
2
3
4
5
6
7
8




                       
                 
 
                          




                                  




                                          

        


                                    


                               


      
#ifndef _BLANKSCREEN_H_
#define _BLANKSCREEN_H_

#include <QString>
#include <QDialog>
#include <QDebug>

struct BlankScreen_Sysdep;

class BlankScreen : public QDialog
{
	Q_OBJECT
public:
	BlankScreen();
	virtual ~BlankScreen();
	void draw(bool force = false);
	bool lock(const QString& message);
	bool unlock();

private:
	bool _locked;
	QString _message;
	BlankScreen_Sysdep* _sysdep;

private slots:
	void timer_moveToTop();
};

#endif