00001 /* 00002 * PROPRIETARY INFORMATION. This software is proprietary to 00003 * Side Effects Software Inc., and is not to be reproduced, 00004 * transmitted, or disclosed in any way without written permission. 00005 * 00006 * Produced by: 00007 * Mike Taylor 00008 * Side Effects 00009 * 123 Front Street West, Suite 1401 00010 * Toronto, Ontario 00011 * Canada M5J 2M2 00012 * 416-504-9876 00013 * 00014 * NAME: RE_OSXCursor.h (C++) 00015 * 00016 * COMMENTS: 00017 * Mouse cursor access for OS X 00018 */ 00019 #ifndef __RE_OSXCursor__ 00020 #define __RE_OSXCursor__ 00021 00022 #include "RE_API.h" 00023 #include "RE_Types.h" 00024 #include "RE_Cursor.h" 00025 00026 class RE_Server; 00027 00028 class RE_API RE_OSXCursor : public RE_Cursor 00029 { 00030 public: 00031 RE_OSXCursor(RE_Server * newserver, const char *name); 00032 virtual ~RE_OSXCursor(); 00033 00034 virtual RE_IDType getDeviceId(RE_IDType wid); 00035 virtual void unload(); 00036 00037 private: 00038 00039 void loadCursor(); 00040 void loadOldCursor(const char *filename); 00041 void loadPNGCursor(const char *filename, int x, int y); 00042 00043 RE_IDType myNSCursor; 00044 }; 00045 #endif
1.5.9