45 const std::string &selectButton,
51 mSelectButtonName(selectButton),
58 mAllowQuit(allowQuit),
85 "sell_background.xml");
141 const std::string &eventId =
event.getId();
143 if (eventId ==
"quit")
152 if (selectedItem == -1 ||
157 else if (eventId ==
"select")
const bool AllowQuit_true
#define fromBool(val, name)
void setRowHeight(const int n, const int h)
void setDistributeMousePressed(const bool b)
void addSelectionListener(SelectionListener *const selectionListener)
int getNumberOfElements()
void add(const std::string &str)
std::string getElementAt(int i)
void registerWindowForReset(Window *const window)
void valueChanged(const SelectionEvent &event)
void addText(const std::string &text)
void setVisible(Visible visible)
void action(const ActionEvent &event)
std::string mSelectButtonName
TextSelectDialog(const std::string &name, const std::string &selectButton, const AllowQuit allowQuit)
void updateButtonsAndLabels()
void setResizable(const bool resize)
ContainerPlacer getPlacer(const int x, const int y)
virtual void setVisible(Visible visible)
bool getOptionBool(const std::string &name, const bool def) const
void setWindowName(const std::string &name)
void setMinHeight(const int height)
void setMinWidth(const int width)
void enableVisibleSound(bool b)
void setCloseButton(const bool flag)
virtual void scheduleDelete()
void setStickyButtonLock(const bool sticky)
SetupWindow * setupWindow