82 if (widget.
getTag() ==
"OkButton") {
88 if (widget.
getTag() ==
"CancelButton") {
93 if (widget.
getTag() ==
"RecommendButton") {
98 _buttons->setActive(dynamic_cast<WidgetButton *>(&widget));
#define TalkMan
Shortcut for accessing the talk manager.
uint32 _returnCode
The GUI's return code.
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)
The spell school chooser in CharGen.
The global talk manager for Aurora strings.
uint8 getSpellSchool() const
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
Common::ScopedPtr< ButtonsGroup > _buttons
CharSchool(CharGenChoices &choices, ::Engines::Console *console=0)
void setSpellSchool(uint8 spellSchool)
virtual void hide()
Hide the GUI.