35 GUI(console), _charGen(charGenMenu) {
53 if (widget.
getTag() ==
"BTN_CANCEL") {
58 if (widget.
getTag() ==
"BTN_BACK") {
64 if (widget.
getTag() ==
"BTN_STEPNAME1") {
69 if (widget.
getTag() ==
"BTN_STEPNAME2") {
74 if (widget.
getTag() ==
"BTN_STEPNAME3") {
CharacterGenerationMenu * _charGen
void load(const Common::UString &resref)
QuickCharPanel(CharacterGenerationMenu *charGenMenu, Console *console=0)
Widget * getWidget(const Common::UString &tag, bool vital=false)
Return a widget in the GUI.
A label widget for Star Wars: Knights of the Old Republic and Jade Empire.
uint32 _returnCode
The GUI's return code.
void setPosition(float x, float y, float z)
Set the GUI's position.
WidgetButton * getButton(const Common::UString &tag, bool vital=false)
The panel to customize a custom character.
WidgetLabel * getLabel(const Common::UString &tag, bool vital=false)
void callbackActive(Widget &widget)
Callback that's triggered when a widget was activated.
#define GfxMan
Shortcut for accessing the graphics manager.