00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018 #ifndef __CURSOR_H
00019 #define __CURSOR_H
00020
00021 #include "common/ktypes.h"
00022 #include "gui/gui_common.h"
00023
00024 extern "C"
00025 {
00026 #include "gui/graphics.h"
00027 }
00028
00029 #define VISIBLE 0
00030 #define HIDDEN 1
00031
00032 #define CURSOR_HEIGHT 11
00033
00034
00035 class cursor
00036 {
00037 public:
00038 DW x,y;
00039 DW state;
00040 DB no_times;
00041
00042 void cursor_init();
00043 void setCursor(POINT pt);
00044 POINT getCursor();
00045
00046 void show();
00047 void hide();
00048 void paint();
00049 void erase();
00050 };
00051
00052 extern cursor csr;
00053
00054 #endif
00055
00056