OpenMW
|
#include <levelupdialog.hpp>
Public Member Functions | |
LevelupDialog () | |
virtual void | onOpen () |
Notify that window has been made visible. More... | |
Public Member Functions inherited from MWGui::WindowBase | |
WindowBase (const std::string &parLayout) | |
virtual MyGUI::Widget * | getDefaultKeyFocus () |
virtual void | setPtr (const MWWorld::Ptr &ptr) |
Open this object in the GUI, for windows that support it. More... | |
virtual void | onFrame (float duration) |
Called every frame if the window is in an active GUI mode. More... | |
virtual void | onClose () |
Notify that window has been hidden. More... | |
virtual bool | exit () |
Gracefully exits the window. More... | |
virtual void | setVisible (bool visible) |
Sets the visibility of the window. More... | |
bool | isVisible () |
Returns the visibility state of the window. More... | |
void | center () |
virtual void | clear () |
Clear any state specific to the running game. More... | |
virtual void | onResChange (int width, int height) |
Called when GUI viewport changes size. More... | |
Public Member Functions inherited from MWGui::Layout | |
Layout (const std::string &_layout, MyGUI::Widget *_parent=nullptr) | |
virtual | ~Layout () |
MyGUI::Widget * | getWidget (const std::string &_name) |
template<typename T > | |
void | getWidget (T *&_widget, const std::string &_name) |
void | setCoord (int x, int y, int w, int h) |
void | setText (const std::string &name, const std::string &caption) |
void | setTitle (const std::string &title) |
Private Member Functions | |
void | onOkButtonClicked (MyGUI::Widget *sender) |
void | onAttributeClicked (MyGUI::Widget *sender) |
void | assignCoins () |
void | resetCoins () |
void | setAttributeValues () |
std::string | getLevelupClassImage (const int combatIncreases, const int magicIncreases, const int stealthIncreases) |
Private Attributes | |
MyGUI::Button * | mOkButton |
MyGUI::ImageBox * | mClassImage |
MyGUI::TextBox * | mLevelText |
MyGUI::EditBox * | mLevelDescription |
MyGUI::Widget * | mCoinBox |
MyGUI::Widget * | mAssignWidget |
std::vector< MyGUI::Button * > | mAttributes |
std::vector< MyGUI::TextBox * > | mAttributeValues |
std::vector< MyGUI::TextBox * > | mAttributeMultipliers |
std::vector< MyGUI::ImageBox * > | mCoins |
std::vector< int > | mSpentAttributes |
unsigned int | mCoinCount |
Static Private Attributes | |
static const unsigned int | sMaxCoins = 3 |
Additional Inherited Members | |
Public Types inherited from MWGui::WindowBase | |
typedef MyGUI::delegates::CMultiDelegate1 < WindowBase * > | EventHandle_WindowBase |
Public Attributes inherited from MWGui::Layout | |
MyGUI::Widget * | mMainWidget |
Protected Attributes inherited from MWGui::Layout | |
std::string | mPrefix |
std::string | mLayoutName |
MyGUI::VectorWidgetPtr | mListWindowRoot |
MWGui::LevelupDialog::LevelupDialog | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
virtual |
Notify that window has been made visible.
Reimplemented from MWGui::WindowBase.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
staticprivate |