#include <practiceMenu.h>
Public Member Functions | |
int | Initialize (int argc, char *argv[]) |
初期化処理 | |
int | MainLoop (void) |
繰り返りループへの遷移 |
Definition at line 16 of file practiceMenu.h.
int PracticeMenu::Initialize | ( | int | argc, | |
char * | argv[] | |||
) | [virtual] |
初期化処理
argc | [i] main() の argc | |
argv | [i] main() の argv |
0 | 正常終了 | |
戻り値 | < 0 エラー |
Reimplemented from ResourceInitialize.
Definition at line 49 of file practiceMenu.cpp.
References ComboBoxComponent::activate(), MenuComponent::activate(), ComboBoxComponent::add(), MenuComponent::add(), WindowInterface::add(), MenuComponent::addIcon(), WindowInterface::clear(), TTF_Draw::createText(), WindowInterface::h, SurfaceInterface::h, ComboBoxComponent::setColor(), ButtonComponent::setFocusedSurface(), ComboBoxComponent::setFontSize(), MenuComponent::setIconOffset(), MenuComponent::setOffset(), ComponentInterface::setPosition(), ResourceInitialize::ttf, SurfaceInterface::w, WindowInterface::w, and GUI_ApplicationInterface::win.
int PracticeMenu::MainLoop | ( | void | ) | [virtual] |
繰り返りループへの遷移
0 | 正常終了 | |
戻り値 | < 0 エラー |
Reimplemented from ResourceInitialize.
Definition at line 131 of file practiceMenu.cpp.
References UserInput::getInputed(), ComboBoxComponent::getNowIndex(), MenuComponent::getNowIndex(), ComboBoxComponent::isDecided(), MenuComponent::isDecided(), UserInput::userInput_t::isPressedCode(), WindowInterface::lock(), UserInput::userInput_t::quit, WindowInterface::unlock(), and GUI_ApplicationInterface::win.