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

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

#endif