37 CharacterGenerationBaseMenu(
info, console),
38 _humanFirst(
info.getGender() ==
kGenderMale ?
"humanm" :
"humanf"), _humanLast(
"humanl"),
39 _name(_info.getName()) {
45 _nameLabel = getLabel(
"NAME_BOX_EDIT");
46 _nameLabel->setText(_info.getName() +
"_");
53 if (widget.
getTag() ==
"BTN_RANDOM") {
60 if (widget.
getTag() ==
"BTN_BACK") {
67 if (widget.
getTag() ==
"END_BTN") {
A label widget for Star Wars: Knights of the Old Republic and Jade Empire.
uint32 _returnCode
The GUI's return code.
A class holding an UTF-8 string.
Keyboard key was pressed.
Common::UString generateRandomName(size_t maxLetters) const
Generate a random name from the ltr file.
The global events manager.
void info(const char *s,...)
bool empty() const
Is the string empty?
#define EventMan
Shortcut for accessing the events manager.
size_t size() const
Return the size of the string, in characters.
EventType
Custom event types.
The menu for modifying the name of the character.
void erase(iterator from, iterator to)
Erase the character within this range.
void setName(const Common::UString &name)
Set the name of the Character.
The class for storing character information for generation.
static const Common::UString & kBackgroundTypeMenu