00001 #ifndef USER_CREATE_SCR_H 00002 #define USER_CREATE_SCR_H 00003 00004 /* 00005 ユーザ作成・削除画面の管理 00006 Satofumi KAMIMURA 00007 $Id$ 00008 */ 00009 00010 #include "resourceInitialize.h" 00011 00012 00016 class UserCreateScr : public ResourceInitialize { 00017 bool focus_changed; 00018 00019 DrawSurface* title; 00020 00021 DrawSurface* new_normal; 00022 DrawSurface* new_focused; 00023 DrawSurface* del_normal; 00024 DrawSurface* del_focused; 00025 DrawSurface* back_normal; 00026 DrawSurface* back_focused; 00027 FillSurface* list_back; 00028 00029 ButtonComponent* back_btn; 00030 ButtonComponent* new_btn; 00031 ButtonComponent* del_btn; 00032 MenuComponent* menu; 00033 00034 FillSurface* input_box; 00035 DrawSurface* delList_normal[UserMax]; 00036 DrawSurface* delList_focused[UserMax]; 00037 ButtonComponent* delList_btn[UserMax]; 00038 MenuComponent* del_menu; 00039 TextInputComponent* new_user; 00040 00041 void deleteObject(void); 00042 void recreate(void); 00043 void handleNewUserCreation(void); 00044 void handleUserDeleteMenu(void); 00045 void setFocusToMenu(void); 00046 00047 public: 00048 UserCreateScr(void); 00049 ~UserCreateScr(void); 00050 int Initialize(int argc, char *argv[]); 00051 int MainLoop(void); 00052 }; 00053 00054 #endif /* !USER_CREATE_SCR_H */ 00055