45 load(
"options_adv_vid");
104 if (tag ==
"CreatureWind")
109 if (widget.
getTag() ==
"AntiAliasSlider") {
123 if ((widget.
getTag() ==
"CancelButton") ||
124 (widget.
getTag() ==
"XButton")) {
131 if (widget.
getTag() ==
"OkButton") {
138 if (widget.
getTag() ==
"AntiAliasSlider") {
152 text =
TalkMan.getString(67539);
154 text =
TalkMan.getString(67540);
156 text =
TalkMan.getString(67542);
Widget * getWidget(const Common::UString &tag, bool vital=false)
Return a widget in the GUI.
static int intLog2(uint32 v)
The global graphics manager.
#define TalkMan
Shortcut for accessing the talk manager.
uint32 _returnCode
The GUI's return code.
A class holding an UTF-8 string.
The global config manager.
WidgetCheckBox * getCheckBox(const Common::UString &tag, bool vital=false)
virtual void show()
Show the GUI.
WidgetLabel * getLabel(const Common::UString &tag, bool vital=false)
static UString format(const char *s,...) GCC_PRINTF(1
Print formatted data into an UString object, similar to sprintf().
#define ConfigMan
Shortcut for accessing the config manager.
Utility templates and functions.
WidgetSlider * getSlider(const Common::UString &tag, bool vital=false)
void load(const Common::UString &resref)
The NWN advanced video options menu.
#define WindowMan
Shortcut for accessing the window manager.
The global talk manager for Aurora strings.
void addWidget(Widget *widget)
Add a widget.
#define GfxMan
Shortcut for accessing the graphics manager.