OpenMW
|
#include <race.hpp>
Public Types | |
enum | Gender { GM_Male, GM_Female } |
typedef MyGUI::delegates::CMultiDelegate0 | EventHandle_Void |
Public Member Functions | |
RaceDialog () | |
const ESM::NPC & | getResult () const |
const std::string & | getRaceId () const |
Gender | getGender () const |
void | setRaceId (const std::string &raceId) |
void | setGender (Gender gender) |
void | setNextButtonShow (bool shown) |
virtual void | open () |
virtual void | close () |
void | doRenderUpdate () |
Public Attributes | |
EventHandle_Void | eventBack |
Protected Member Functions | |
void | onHeadRotate (MyGUI::ScrollBar *_sender, size_t _position) |
void | onSelectPreviousGender (MyGUI::Widget *_sender) |
void | onSelectNextGender (MyGUI::Widget *_sender) |
void | onSelectPreviousFace (MyGUI::Widget *_sender) |
void | onSelectNextFace (MyGUI::Widget *_sender) |
void | onSelectPreviousHair (MyGUI::Widget *_sender) |
void | onSelectNextHair (MyGUI::Widget *_sender) |
void | onSelectRace (MyGUI::ListBox *_sender, size_t _index) |
void | onOkClicked (MyGUI::Widget *_sender) |
void | onBackClicked (MyGUI::Widget *_sender) |
Private Member Functions | |
void | updateRaces () |
void | updateSkills () |
void | updateSpellPowers () |
void | updatePreview () |
void | recountParts () |
void | getBodyParts (int part, std::vector< std::string > &out) |
Private Attributes | |
std::vector< std::string > | mAvailableHeads |
std::vector< std::string > | mAvailableHairs |
MyGUI::ImageBox * | mPreviewImage |
MyGUI::ListBox * | mRaceList |
MyGUI::ScrollBar * | mHeadRotate |
MyGUI::Widget * | mSkillList |
std::vector< MyGUI::Widget * > | mSkillItems |
MyGUI::Widget * | mSpellPowerList |
std::vector< MyGUI::Widget * > | mSpellPowerItems |
int | mGenderIndex |
int | mFaceIndex |
int | mHairIndex |
std::string | mCurrentRaceId |
float | mCurrentAngle |
MWRender::RaceSelectionPreview * | mPreview |
bool | mPreviewDirty |
typedef MyGUI::delegates::CMultiDelegate0 MWGui::RaceDialog::EventHandle_Void |
void MWGui::RaceDialog::close | ( | ) | [virtual] |
Reimplemented from MWGui::WindowModal.
void MWGui::RaceDialog::doRenderUpdate | ( | ) |
void MWGui::RaceDialog::getBodyParts | ( | int | part, |
std::vector< std::string > & | out | ||
) | [private] |
Gender MWGui::RaceDialog::getGender | ( | ) | const [inline] |
const std::string& MWGui::RaceDialog::getRaceId | ( | ) | const [inline] |
const ESM::NPC& MWGui::RaceDialog::getResult | ( | ) | const [inline] |
void MWGui::RaceDialog::onBackClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onHeadRotate | ( | MyGUI::ScrollBar * | _sender, |
size_t | _position | ||
) | [protected] |
void MWGui::RaceDialog::onOkClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectNextFace | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectNextGender | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectNextHair | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectPreviousFace | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectPreviousGender | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectPreviousHair | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::RaceDialog::onSelectRace | ( | MyGUI::ListBox * | _sender, |
size_t | _index | ||
) | [protected] |
void MWGui::RaceDialog::open | ( | ) | [virtual] |
Reimplemented from MWGui::WindowModal.
void MWGui::RaceDialog::recountParts | ( | ) | [private] |
void MWGui::RaceDialog::setGender | ( | Gender | gender | ) | [inline] |
void MWGui::RaceDialog::setNextButtonShow | ( | bool | shown | ) |
void MWGui::RaceDialog::setRaceId | ( | const std::string & | raceId | ) |
void MWGui::RaceDialog::updatePreview | ( | ) | [private] |
void MWGui::RaceDialog::updateRaces | ( | ) | [private] |
void MWGui::RaceDialog::updateSkills | ( | ) | [private] |
void MWGui::RaceDialog::updateSpellPowers | ( | ) | [private] |
Event : Back button clicked.
signature : void method()
std::vector<std::string> MWGui::RaceDialog::mAvailableHairs [private] |
std::vector<std::string> MWGui::RaceDialog::mAvailableHeads [private] |
float MWGui::RaceDialog::mCurrentAngle [private] |
std::string MWGui::RaceDialog::mCurrentRaceId [private] |
int MWGui::RaceDialog::mFaceIndex [private] |
int MWGui::RaceDialog::mGenderIndex [private] |
int MWGui::RaceDialog::mHairIndex [private] |
MyGUI::ScrollBar* MWGui::RaceDialog::mHeadRotate [private] |
bool MWGui::RaceDialog::mPreviewDirty [private] |
MyGUI::ImageBox* MWGui::RaceDialog::mPreviewImage [private] |
MyGUI::ListBox* MWGui::RaceDialog::mRaceList [private] |
std::vector<MyGUI::Widget*> MWGui::RaceDialog::mSkillItems [private] |
MyGUI::Widget* MWGui::RaceDialog::mSkillList [private] |
std::vector<MyGUI::Widget*> MWGui::RaceDialog::mSpellPowerItems [private] |
MyGUI::Widget* MWGui::RaceDialog::mSpellPowerList [private] |