52 std::list<Widget *> hideTiles;
53 hideTiles.push_back(
getWidget(
"NeverBox"));
54 hideTiles.push_back(
getWidget(
"AutoBox"));
55 hideTiles.push_back(
getWidget(
"AlwaysBox"));
84 if (tag ==
"DiffEdit")
89 if (widget.
getTag() ==
"DiffSlider") {
94 if (widget.
getTag() ==
"DiffEdit") {
101 if ((widget.
getTag() ==
"CancelButton") ||
102 (widget.
getTag() ==
"XButton")) {
109 if (widget.
getTag() ==
"OkButton") {
116 if (widget.
getTag() ==
"PasswordButton") {
121 if (widget.
getTag() ==
"FeedbackButton") {
126 if (widget.
getTag() ==
"DiffSlider") {
136 diffDesc.
setText(
"fnt_galahad14",
TalkMan.getString(67578 + difficulty), 1.0f);
140 else if (difficulty == 1)
142 else if (difficulty == 2)
144 else if (difficulty == 3)
Widget * getWidget(const Common::UString &tag, bool vital=false)
Return a widget in the GUI.
#define TalkMan
Shortcut for accessing the talk manager.
uint32 _returnCode
The GUI's return code.
A class holding an UTF-8 string.
WidgetListBox * getListBox(const Common::UString &tag, bool vital=false)
The global config manager.
The NWN game options menu.
The NWN violence/gore password options menu.
void declareGroup(const std::list< Widget *> &group)
Put these widgets together into a group.
virtual void show()
Show the GUI.
WidgetLabel * getLabel(const Common::UString &tag, bool vital=false)
#define ConfigMan
Shortcut for accessing the config manager.
Utility templates and functions.
WidgetSlider * getSlider(const Common::UString &tag, bool vital=false)
uint32 sub(GUI &gui, uint32 startCode=kStartCodeNone, bool showSelf=true, bool hideSelf=true)
Open up a sub GUI.
void load(const Common::UString &resref)
The NWN feedback options menu.
The global talk manager for Aurora strings.
void addWidget(Widget *widget)
Add a widget.
T CLIP(T v, T amin, T amax)