41 load(
"optgraphicsadv");
52 getButton(
"BTN_ANTIALIASRIGHT",
true)->
setColor(0.0f, 0.658824f, 0.980392f, 1.0f);
54 getButton(
"BTN_ANISOTROPYLEFT",
true)->
setColor(0.0f, 0.658824f, 0.980392f, 1.0f);
56 getButton(
"BTN_ANISOTROPYRIGHT",
true)->
setColor(0.0f, 0.658824f, 0.980392f, 1.0f);
76 if (widget.
getTag() ==
"BTN_TEXQUALRIGHT") {
85 if (widget.
getTag() ==
"BTN_TEXQUALLEFT") {
94 if (widget.
getTag() ==
"BTN_ANTIALIASRIGHT") {
103 if (widget.
getTag() ==
"BTN_ANTIALIASLEFT") {
112 if (widget.
getTag() ==
"BTN_ANISOTROPYRIGHT") {
121 if (widget.
getTag() ==
"BTN_ANISOTROPYLEFT") {
130 if (widget.
getTag() ==
"BTN_DEFAULT") {
135 if (widget.
getTag() ==
"BTN_CANCEL") {
140 if (widget.
getTag() ==
"BTN_BACK") {
146 if (widget.
getTag() ==
"CB_FRAMEBUFF") {
151 if (widget.
getTag() ==
"CB_SOFTSHADOWS") {
156 if (widget.
getTag() ==
"CB_VSYNC") {
218 if (antiAliasing == 0)
219 text =
TalkMan.getString(47996);
220 else if (antiAliasing == 1)
221 text =
TalkMan.getString(47997);
222 else if (antiAliasing == 2)
223 text =
TalkMan.getString(47999);
224 else if (antiAliasing == 3)
225 text =
TalkMan.getString(49125);
void load(const Common::UString &resref)
static const Common::UString & kBackgroundTypeMenu
#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.
A checkbox widget for Star Wars: Knights of the Old Repulic and Jade Empire.
bool getCheckBoxState(const Common::UString &tag)
The advanced graphics menu.
WidgetButton * getButton(const Common::UString &tag, bool vital=false)
#define ConfigMan
Shortcut for accessing the config manager.
void addBackground(const Common::UString &background, bool front=false)
virtual void show()
Show the GUI.
The global talk manager for Aurora strings.
WidgetCheckBox * getCheckBox(const Common::UString &tag, bool vital=false)
T CLIP(T v, T amin, T amax)
void setCheckBoxState(const Common::UString &tag, bool state)