practiceMenu.h

00001 #ifndef PRACTICE_MENU_H
00002 #define PRACTICE_MENU_H
00003 
00004 /*
00005   タイピング練習メニュー
00006   Satofumi KAMIMURA
00007   $Id$
00008 */
00009 
00010 #include "resourceInitialize.h"
00011 
00012 
00016 class PracticeMenu : public ResourceInitialize {
00017   DrawSurface* title;
00018   DrawSurface* user_name;
00019 
00020   DrawSurface* type_normal;
00021   DrawSurface* memorize_normal;
00022   DrawSurface* back_normal;
00023   DrawSurface* type_focused;
00024   DrawSurface* memorize_focused;
00025   DrawSurface* back_focused;
00026 
00027   ButtonComponent* type_btn;
00028   ButtonComponent* memorize_btn;
00029   ButtonComponent* back_btn;
00030   MenuComponent* menu;
00031 
00032   ComboBoxComponent* practice_num_cmb;
00033 
00034   void deleteObject(void);
00035   void recreate(void);
00036   void setFocus(bool menu_focused);
00037 
00038 public:
00039   PracticeMenu(void);
00040   ~PracticeMenu(void);
00041   int Initialize(int argc, char *argv[]);
00042   int MainLoop(void);
00043 };
00044 
00045 #endif /* !PRACTICE_MENU_H */
00046 

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