OpenMW
|
#include <birth.hpp>
Public Types | |
enum | Gender { GM_Male, GM_Female } |
typedef MyGUI::delegates::CMultiDelegate0 | EventHandle_Void |
Public Member Functions | |
BirthDialog () | |
const std::string & | getBirthId () const |
void | setBirthId (const std::string &raceId) |
void | setNextButtonShow (bool shown) |
virtual void | open () |
Public Attributes | |
EventHandle_Void | eventBack |
Protected Member Functions | |
void | onSelectBirth (MyGUI::ListBox *_sender, size_t _index) |
void | onOkClicked (MyGUI::Widget *_sender) |
void | onBackClicked (MyGUI::Widget *_sender) |
Private Member Functions | |
void | updateBirths () |
void | updateSpells () |
Private Attributes | |
MyGUI::ListBox * | mBirthList |
MyGUI::Widget * | mSpellArea |
MyGUI::ImageBox * | mBirthImage |
std::vector< MyGUI::Widget * > | mSpellItems |
std::string | mCurrentBirthId |
typedef MyGUI::delegates::CMultiDelegate0 MWGui::BirthDialog::EventHandle_Void |
const std::string& MWGui::BirthDialog::getBirthId | ( | ) | const [inline] |
void MWGui::BirthDialog::onBackClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::BirthDialog::onOkClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::BirthDialog::onSelectBirth | ( | MyGUI::ListBox * | _sender, |
size_t | _index | ||
) | [protected] |
void MWGui::BirthDialog::open | ( | ) | [virtual] |
Reimplemented from MWGui::WindowModal.
void MWGui::BirthDialog::setBirthId | ( | const std::string & | raceId | ) |
void MWGui::BirthDialog::setNextButtonShow | ( | bool | shown | ) |
void MWGui::BirthDialog::updateBirths | ( | ) | [private] |
void MWGui::BirthDialog::updateSpells | ( | ) | [private] |
Event : Back button clicked.
signature : void method()
MyGUI::ImageBox* MWGui::BirthDialog::mBirthImage [private] |
MyGUI::ListBox* MWGui::BirthDialog::mBirthList [private] |
std::string MWGui::BirthDialog::mCurrentBirthId [private] |
MyGUI::Widget* MWGui::BirthDialog::mSpellArea [private] |
std::vector<MyGUI::Widget*> MWGui::BirthDialog::mSpellItems [private] |