summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/saver.h
blob: 598808bcf3077b3517a67735f617b7bf8b537eb9 (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
  
public:
	kScreenSaver( Drawable drawable );
	virtual ~kScreenSaver();

protected:
	Drawable mDrawable;
	GC mGc;
	unsigned mWidth;
	unsigned mHeight;
};

#endif