firstMenu.h

00001 #ifndef FIRST_MENU_H
00002 #define FIRST_MENU_H
00003 
00004 /*
00005   メニュー画面
00006   Satofumi KAMIMURA
00007   $Id$
00008 */
00009 
00010 #include "resourceInitialize.h"
00011 
00012 
00016 class FirstMenu : public ResourceInitialize {
00017   DrawSurface* version;
00018   DrawSurface* title;
00019 
00020   DrawSurface* practice_normal;
00021   DrawSurface* network_normal;
00022   DrawSurface* option_normal;
00023   DrawSurface* create_normal;
00024   DrawSurface* quit_normal;
00025   DrawSurface* practice_focused;
00026   DrawSurface* network_focused;
00027   DrawSurface* option_focused;
00028   DrawSurface* create_focused;
00029   DrawSurface* quit_focused;
00030 
00031   ButtonComponent* practice_btn;
00032   ButtonComponent* network_btn;
00033   ButtonComponent* option_btn;
00034   ButtonComponent* create_btn;
00035   ButtonComponent* quit_btn;
00036   MenuComponent* menu;
00037   ComboBoxComponent* users_cmb;
00038 
00039   void deleteObject(void);
00040   void recreate(void);
00041   void setFocus(bool menu_focused);
00042 
00043 public:
00044   FirstMenu(void);
00045   ~FirstMenu(void);
00046   int Initialize(int argc, char *argv[]);
00047   int MainLoop(void);
00048 };
00049 
00050 #endif /* !FIRST_MENU_H */
00051 

Generated on Mon Apr 13 22:52:03 2009 by  doxygen 1.5.7.1