summaryrefslogblamecommitdiffstats
path: root/src/util/clientGUIUtils.h
blob: 7f7ea471bd6e34a580eb8046d516eccfbe17f2e0 (plain) (tree)
1
2
3
4
5
6
7
8
9


                       
                                   




                   
                         
                         




                  
                           






                                  
                                

  


                      




                                  
                       
 
      
#ifndef _BLANKSCREEN_H_
#define _BLANKSCREEN_H_

#include "src/util/consoleLogger.h"
#include <assert.h>
#include <unistd.h>
#include <stdio.h>


#define REFRESH_RATE 0.15
class BlankScreen_Sysdep;

class BlankScreen
{
public:
    BlankScreen();
    virtual ~BlankScreen();
    void draw(bool force = false);
    bool lock();
    bool unlock();
    void setLogMsg(QString msg);
    bool lock_inputs();

private:
    BlankScreen_Sysdep* _sysdep;
};

#ifndef __WIN32__
# include <X11/Xlib.h>

class X11Info
{
public:
	static Display* display();
};
#endif /* !__WIN32__ */

#endif