597515140e
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7125 a95241bf-73f2-0310-859d-f6bbb57e9c96
32 lines
570 B
C++
32 lines
570 B
C++
#ifndef SCREEN_SAVER_THREAD_H
|
|
#define SCREEN_SAVER_THREAD_H
|
|
#include <SupportDefs.h>
|
|
#include <DirectWindow.h>
|
|
|
|
class BScreenSaver;
|
|
class BView;
|
|
class ScreenSaverPrefs;
|
|
|
|
int32 threadFunc(void *data);
|
|
|
|
class ScreenSaverThread
|
|
{
|
|
public:
|
|
ScreenSaverThread(BWindow *wnd, BView *vw, ScreenSaverPrefs *p);
|
|
void thread(void);
|
|
BScreenSaver *LoadAddOn(void) ;
|
|
void quit(void);
|
|
private:
|
|
BScreenSaver *saver;
|
|
BWindow *win;
|
|
BDirectWindow *dwin;
|
|
BView *view;
|
|
ScreenSaverPrefs *pref;
|
|
|
|
long frame;
|
|
int snoozeCount;
|
|
image_id addon_image;
|
|
};
|
|
|
|
#endif //SCREEN_SAVER_THREAD_H
|