startmenu.h

00001 /***************************************************************************
00002                           startmenu.h  -  description
00003                              -------------------
00004     begin                : Sat Feb 28 2004
00005     copyright            : (C) 2004 by Dynacube Team
00006     email                : 
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
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

Generated on Thu Jul 27 23:52:27 2006 for Dynacube by  doxygen 1.4.7