menu.h

00001 /***************************************************************************
00002                           menu.h  -  description
00003                              -------------------
00004     begin                : Mon Mar 29 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 
00018  #ifndef __MENU_H
00019  #define __MENU_H
00020 
00021  extern "C"
00022  {
00023          #include "gui/graphics.h"
00024  }
00025 
00026         class menu
00027         {
00028                 public:
00029                         void *cnt_ptr;
00030                         DW x, y, width, height;
00031                         DB no_item;
00032                         DW __pid;
00033 
00034                         MENUITEM mnuitem[MN_MAX_ITEM];
00035                         COLOR *buf;
00036 
00037                         void paint();
00038                         void menu_init(void *_cnt_ptr, DB _no_item, MENUITEM *_mnuitem, DW _pid);
00039                         SDB process(DW,DW);
00040                         void menu_restore();
00041         };
00042 
00043  #endif

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