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