00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __RE_NTCursor__
00019 #define __RE_NTCursor__
00020
00021 #include "RE_API.h"
00022 #include "RE_Types.h"
00023 #include "RE_Cursor.h"
00024 #include "RE_NTServer.h"
00025
00026 class RE_API RE_NTCursor : public RE_Cursor {
00027 public:
00028 RE_NTCursor(const RE_Server *newserver, const char *name);
00029 virtual ~RE_NTCursor();
00030
00031 virtual RE_IDType getDeviceId(RE_IDType wid);
00032 virtual void unload();
00033
00034 private:
00035 void loadCursor(RE_IDType wid);
00036
00037 void loadOldCursor(const char *filename);
00038 void loadPNGCursor(const char *filename, int x, int y);
00039
00040 RE_NTServer *myServer;
00041 HCURSOR myCursorHandle;
00042 bool myCreatedCursor;
00043 };
00044 #endif