00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #ifndef __STARTMENU_H
00018 #define __STARTMENU_H
00019
00020 #include "gui/gui_common.h"
00021
00022 #ifdef __cplusplus
00023 extern "C"
00024 {
00025 #include "gui/graphics.h"
00026 }
00027 #else
00028 #include "gui/graphics.h"
00029 #endif
00030
00031 #define MENU_X_OFFSET 10
00032 #define MENU_Y_OFFSET 30
00033
00034
00035
00036 class startmenu
00037 {
00038 public:
00039 boolean start_opened;
00040 DW x, y, width, height;
00041 COLOR *bk_buf;
00042 COLOR skincolor;
00043 DW no_option;
00044
00045 void startmenu_init();
00046 void draw();
00047 SDB processClick(DW _x, DW _y);
00048
00049 };
00050
00051 #endif