blob: b531ed4b58c6d74565320c08ae70dd7ce1a9460f (
plain)
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
|
#ifndef __SAVER_H__
#define __SAVER_H__
#include <tqobject.h>
#include <X11/Xlib.h>
extern void startScreenSaver( Drawable d );
extern void stopScreenSaver();
extern int setupScreenSaver();
//-----------------------------------------------------------------------------
class kScreenSaver : public TQObject
{
Q_OBJECT
TQ_OBJECT
public:
kScreenSaver( Drawable drawable );
virtual ~kScreenSaver();
protected:
Drawable mDrawable;
GC mGc;
unsigned mWidth;
unsigned mHeight;
};
#endif
|