95 if (widget.
getTag() ==
"OkButton") {
101 if (widget.
getTag() ==
"CancelButton") {
106 if (widget.
getTag() ==
"RecommendButton") {
110 _buttons->setActive(dynamic_cast<WidgetButton *>(&widget));
Common::ScopedPtr< ButtonsGroup > _buttons
Widget * getWidget(const Common::UString &tag, bool vital=false)
Return a widget in the GUI.
#define TalkMan
Shortcut for accessing the talk manager.
uint32 _returnCode
The GUI's return code.
const Creature & getCharacter()
Basic Neverwinter Nights type definitions.
The race chooser in NWN 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 setRace(uint32 race)
void load(const Common::UString &resref)
static const uint32 kRaceInvalid
WidgetEditBox * getEditBox(const Common::UString &tag, bool vital=false)
CharRace(CharGenChoices &choices, ::Engines::Console *console=0)
uint32 getRace() const
Return the creature's race value.
The global talk manager for Aurora strings.
A creature in a Neverwinter Nights area.
The character choices in the character generator.
virtual void hide()
Hide the GUI.