33 #include "gui/viewport.h"
42 #include "resources/map/map.h"
62 _(
"Switch server"),
"quitdialog", false)),
65 _(
"Switch character"),
"quitdialog", false)),
71 mMyPointer(pointerToMe),
153 if (event.
getId() ==
"ok")
173 openBrowser(
"https://play.google.com/store/apps/details?"
174 "id=org.evolonline.beta.manaplus");
211 PRAGMA45(GCC diagnostic ignored
"-Wswitch-enum")
234 STD_VECTOR<RadioButton*>::const_iterator it =
mOptions.begin();
235 const STD_VECTOR<RadioButton*>::const_iterator
238 for (; it < it_end; ++it)
240 if ((*it)->isSelected())
250 else if (it ==
mOptions.begin() && dir < 0)
260 (*it)->setSelected(
true);
Net::CharServerHandler * charServerHandler
const std::string & getId() const
void setState(const StateT state)
void setValue(const std::string &key, const std::string &value)
static void closeDialogs()
void saveExtraLayer() const
virtual void switchCharacter() const =0
virtual bool isConnected() const =0
RadioButton * mSwitchAccountServer
RadioButton * mSwitchCharacter
void placeOption(ContainerPlacer &placer, RadioButton *const option)
void keyPressed(KeyEvent &event)
std::vector< RadioButton * > mOptions
void action(const ActionEvent &event)
QuitDialog(QuitDialog **const pointerToMe)
RadioButton * mLogoutQuit
void playGuiSound(const std::string &name)
ContainerPlacer getPlacer(const int x, const int y)
virtual void setVisible(Visible visible)
void reflowLayout(int w, int h)
virtual void scheduleDelete()
void setLocationRelativeTo(const Widget *const widget)
Configuration serverConfig
Net::GameHandler * gameHandler
PRAGMA45(GCC diagnostic push) PRAGMA45(GCC diagnostic ignored "-Wredundant-decls") PRAGMA45(GCC diagnostic pop) class TestMain
ItemOptionDb::OptionInfos mOptions
bool openBrowser(std::string url)
static const std::string SOUND_HIDE_WINDOW
static const std::string SOUND_SHOW_WINDOW
SoundManager soundManager