35 CharacterGenerationBaseMenu(
info, console) {
42 if (widget.
getTag() ==
"BTN_ACCEPT") {
47 if (widget.
getTag() ==
"BTN_CANCEL") {
52 if (widget.
getTag() ==
"BTN_ARRL") {
62 skin =
Skin(skin - 1);
82 if (widget.
getTag() ==
"BTN_ARRR") {
88 if (face == ((skin ==
kSkinH) ? 1 : 4)) {
92 skin =
Skin(skin + 1);
void load(const Common::UString &resref)
static const uint32 kReturnCodeAbort
A label widget for Star Wars: Knights of the Old Republic and Jade Empire.
uint32 _returnCode
The GUI's return code.
Skin getSkin() const
Get the skin type of the character.
The KotOR 2 character generation portrait menu.
void info(const char *s,...)
void setFace(uint8 face)
Set the face index of the character.
void setSkin(Skin)
Set the skin type of the Character.
WidgetLabel * getLabel(const Common::UString &tag, bool vital=false)
uint8_t getFace() const
Get the current face index of the character.
Common::UString getPortrait() const
Get the name of the portrait of this character.