You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
487 B
30 lines
487 B
15 years ago
|
|
||
|
#ifndef __SAVER_H__
|
||
|
#define __SAVER_H__
|
||
|
|
||
14 years ago
|
#include <tqobject.h>
|
||
15 years ago
|
#include <X11/Xlib.h>
|
||
|
|
||
|
extern void startScreenSaver( Drawable d );
|
||
|
extern void stopScreenSaver();
|
||
|
extern int setupScreenSaver();
|
||
|
|
||
|
//-----------------------------------------------------------------------------
|
||
13 years ago
|
class kScreenSaver : public TQObject
|
||
15 years ago
|
{
|
||
|
Q_OBJECT
|
||
13 years ago
|
|
||
15 years ago
|
public:
|
||
|
kScreenSaver( Drawable drawable );
|
||
|
virtual ~kScreenSaver();
|
||
|
|
||
|
protected:
|
||
|
Drawable mDrawable;
|
||
|
GC mGc;
|
||
|
unsigned mWidth;
|
||
|
unsigned mHeight;
|
||
|
};
|
||
|
|
||
|
#endif
|
||
|
|