89 const int height = 450;
102 static const char *
const buttonNames[] =
116 for (
const char *
const * curBtn = buttonNames;
131 if (strcmp(*curBtn,
"Reset Windows") == 0)
188 const std::string &eventId =
event.getId();
190 if (eventId ==
"Apply")
198 else if (eventId ==
"Cancel")
202 else if (eventId ==
"Store")
209 else if (eventId ==
"Reset Windows")
219 (*it)->resetToDefaultSize();
242 (*it)->externalUpdated();
268 (*it)->externalUnloaded();
294 Window *
const window = *it;
295 if ((window !=
nullptr) && !window->
isSticky())
312 std::string tmp = gettext(name.c_str());
328 const int height = area.
height;
329 const int width = area.
width;
virtual void add(Widget *const widget)
int getIntValue(const std::string &key) const
const std::string & getName() const
void action(const ActionEvent &event)
void unregisterWindowForReset(const Window *const window)
void unloadAdditionalTabs()
void setVisible(Visible visible)
void activateTab(const std::string &name)
void registerWindowForReset(Window *const window)
void widgetResized(const Event &event)
std::list< SetupTab * > mTabs
std::vector< Button * > mButtons
void unloadTab(SetupTab *const page)
void setInGame(const bool inGame)
std::list< Window * > mWindowsToReset
void removeTab(Tab *const tab)
Widget * getTabContainer() const
void setSelectedTabByName(const std::string &name)
Tab * getTab(const std::string &name) const
Widget * getWidgetContainer() const
void setDimension(const Rect &dimension)
void addTab(Tab *const tab, Widget *const widget)
void enableScrollButtons(const bool enable)
void setTempHide(const bool b)
void setResizable(const bool resize)
virtual void setVisible(Visible visible)
void setContentSize(int width, int height)
int getOption(const std::string &name, const int def) const
void setMinHeight(const int height)
void setMinWidth(const int width)
void enableVisibleSound(bool b)
void widgetResized(const Event &event)
void setCloseButton(const bool flag)
void setStickyButtonLock(const bool sticky)
Configuration serverConfig
void delete_all(Container &c)
#define FOR_EACH(type, iter, array)
SetupWindow * setupWindow
StatusWindow * statusWindow
TouchManager touchManager