00001 00002 00003 00004 #ifndef CURSOR_H 00005 #define CURSOR_H 00006 00007 #include "Component.h" 00008 #include "Types.h" 00009 00010 namespace wkgl { 00011 00012 #define CUR_APPSTARTING 1 00013 #define CUR_ARROW 2 00014 #define CUR_CROSS 3 00015 #define CUR_HAND 4 00016 #define CUR_HELP 5 00017 #define CUR_IBEAM 6 00018 #define CUR_ICON 7 00019 #define CUR_NO 8 00020 #define CUR_SIZE 9 00021 #define CUR_SIZEALL 10 00022 #define CUR_SIZENESW 11 00023 #define CUR_SIZENS 12 00024 #define CUR_SIZENWSE 13 00025 #define CUR_SIZEWE 14 00026 #define CUR_UPARROW 15 00027 #define CUR_WAIT 16 00028 00039 class Cursor 00040 { 00041 protected: 00042 HCURSOR hcursor; 00043 String *fname; 00044 00045 public: 00049 Cursor( HCURSOR hcursor ); 00050 00054 Cursor( String *fname ); 00055 00059 Cursor( FLAG system ); 00060 00061 virtual ~Cursor(); 00062 00066 virtual HCURSOR getHandle(); 00067 00071 virtual String* getFileName(); 00072 }; 00073 } 00074 #endif
1.2.18