65 if (widget.
getTag() ==
"BTN_ADVANCED") {
71 if (widget.
getTag() ==
"BTN_RESOLUTION") {
76 if (widget.
getTag() ==
"BTN_DEFAULT") {
81 if (widget.
getTag() ==
"BTN_BACK") {
87 if (widget.
getTag() ==
"CB_SHADOWS") {
92 if (widget.
getTag() ==
"CB_GRASS") {
void load(const Common::UString &resref)
static const Common::UString & kBackgroundTypeMenu
uint32 _returnCode
The GUI's return code.
The global config manager.
A checkbox widget for Star Wars: Knights of the Old Repulic and Jade Empire.
The graphics resolution menu.
bool getCheckBoxState(const Common::UString &tag)
The advanced graphics menu.
#define ConfigMan
Shortcut for accessing the config manager.
uint32 sub(GUI &gui, uint32 startCode=kStartCodeNone, bool showSelf=true, bool hideSelf=true)
Open up a sub GUI.
void addBackground(const Common::UString &background, bool front=false)
virtual void show()
Show the GUI.
WidgetCheckBox * getCheckBox(const Common::UString &tag, bool vital=false)
static const uint32 kStartCodeNone
void setCheckBoxState(const Common::UString &tag, bool state)