71 _buttons->setActive((
size_t) previousGender);
78 if (widget.
getTag() ==
"OkButton") {
84 if (widget.
getTag() ==
"CancelButton") {
89 _buttons->setActive(dynamic_cast<WidgetButton *>(&widget));
Common::ScopedPtr< ButtonsGroup > _buttons
CharSex(CharGenChoices &choices, ::Engines::Console *console=0)
#define TalkMan
Shortcut for accessing the talk manager.
uint32 _returnCode
The GUI's return code.
const Creature & getCharacter()
The gender chooser in CharGen.
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
WidgetButton * getButton(const Common::UString &tag, bool vital=false)
CharGenChoices * _choices
void load(const Common::UString &resref)
WidgetEditBox * getEditBox(const Common::UString &tag, bool vital=false)
void setGender(Gender gender)
Gender getGender() const
Get the creature's gender.
The global talk manager for Aurora strings.
A creature in a Neverwinter Nights area.
virtual void hide()
Hide the GUI.