OpenMW
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Member Functions | Private Attributes
MWGui::BirthDialog Class Reference

#include <birth.hpp>

List of all members.

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

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate0 MWGui::BirthDialog::EventHandle_Void

Member Enumeration Documentation

Enumerator:
GM_Male 
GM_Female 

Constructor & Destructor Documentation


Member Function Documentation

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)

Member Data Documentation

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]

The documentation for this class was generated from the following files: