summaryrefslogtreecommitdiffstats
path: root/src/util/clientGUIUtils.h
blob: e797ea04ea12d311f7c4e9ce959b79756c036589 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#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;
};

# include <X11/Xlib.h>

class X11Info
{
public:
	static Display* display();
};

#endif