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
|
|
#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
|
|
|