44 _gameVersion(&gameVersion) {
46 load(
"options_pregame");
62 if (widget.
getTag() ==
"BuildNumber") {
68 dynamic_cast<WidgetLabel &
>(widget).setText(version);
69 dynamic_cast<WidgetLabel &
>(widget).setColor(0.6f, 0.6f, 0.6f, 1.0f);
75 if ((widget.
getTag() ==
"CloseButton") ||
76 (widget.
getTag() ==
"XButton")) {
81 if (widget.
getTag() ==
"GameButton") {
86 if (widget.
getTag() ==
"VideoOptsButton") {
91 if (widget.
getTag() ==
"SoundButton") {
96 if (widget.
getTag() ==
"ControlButton") {
uint32 _returnCode
The GUI's return code.
A class holding an UTF-8 string.
The NWN video options menu.
The NWN game options menu.
Neverwinter Nights installation version detection.
Common::UString getVersionString() const
Basic xoreos version information.
const char * getProjectNameVersion()
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 sound options menu.
The NWN controls options menu.
bool hasVersion() const
Did we detect a version?
void addWidget(Widget *widget)
Add a widget.