win32 screen saver now handled.

This commit is contained in:
crs
2002-06-23 21:53:31 +00:00
parent 7100e07d2b
commit 76db457830
9 changed files with 221 additions and 26 deletions

View File

@@ -7,6 +7,7 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
class CMSWindowsScreenSaver;
class CThread;
class CMSWindowsScreen {
@@ -61,6 +62,10 @@ protected:
// windows 95/98/me.
bool isCurrentDesktop(HDESK desk) const;
// get the screen saver object
CMSWindowsScreenSaver*
getScreenSaver() const;
// wait for and get the next message. cancellable.
void getEvent(MSG*) const;
@@ -91,6 +96,7 @@ private:
SInt32 m_x, m_y;
SInt32 m_w, m_h;
DWORD m_thread;
CMSWindowsScreenSaver* m_screenSaver;
static CMSWindowsScreen* s_screen;
};