OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Private Attributes | List of all members
MWGui::SelectSkillDialog Class Reference

#include <class.hpp>

Inheritance diagram for MWGui::SelectSkillDialog:
Collaboration diagram for MWGui::SelectSkillDialog:

Public Types

typedef
MyGUI::delegates::CMultiDelegate0 
EventHandle_Void
 
- Public Types inherited from MWGui::WindowBase
typedef
MyGUI::delegates::CMultiDelegate1
< WindowBase * > 
EventHandle_WindowBase
 

Public Member Functions

 SelectSkillDialog ()
 
 ~SelectSkillDialog ()
 
virtual bool exit ()
 Gracefully exits the window. More...
 
ESM::Skill::SkillEnum getSkillId () const
 
- Public Member Functions inherited from MWGui::WindowModal
 WindowModal (const std::string &parLayout)
 
virtual void onOpen () override
 Notify that window has been made visible. More...
 
virtual void onClose () override
 Notify that window has been hidden. 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 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)
 

Public Attributes

EventHandle_Void eventCancel
 
EventHandle_Void eventItemSelected
 
- Public Attributes inherited from MWGui::Layout
MyGUI::Widget * mMainWidget
 

Protected Member Functions

void onSkillClicked (Widgets::MWSkillPtr _sender)
 
void onCancelClicked (MyGUI::Widget *_sender)
 

Private Attributes

Widgets::MWSkillPtr mCombatSkill [9]
 
Widgets::MWSkillPtr mMagicSkill [9]
 
Widgets::MWSkillPtr mStealthSkill [9]
 
ESM::Skill::SkillEnum mSkillId
 

Additional Inherited Members

- Protected Attributes inherited from MWGui::Layout
std::string mPrefix
 
std::string mLayoutName
 
MyGUI::VectorWidgetPtr mListWindowRoot
 

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate0 MWGui::SelectSkillDialog::EventHandle_Void

Constructor & Destructor Documentation

MWGui::SelectSkillDialog::SelectSkillDialog ( )

Here is the call graph for this function:

MWGui::SelectSkillDialog::~SelectSkillDialog ( )

Member Function Documentation

bool MWGui::SelectSkillDialog::exit ( )
virtual

Gracefully exits the window.

Reimplemented from MWGui::WindowModal.

Here is the caller graph for this function:

ESM::Skill::SkillEnum MWGui::SelectSkillDialog::getSkillId ( ) const
inline

Here is the caller graph for this function:

void MWGui::SelectSkillDialog::onCancelClicked ( MyGUI::Widget *  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::SelectSkillDialog::onSkillClicked ( Widgets::MWSkillPtr  _sender)
protected

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

EventHandle_Void MWGui::SelectSkillDialog::eventCancel

Event : Cancel button clicked.
signature : void method()

EventHandle_Void MWGui::SelectSkillDialog::eventItemSelected

Event : Dialog finished, skill selected.
signature : void method()

Widgets::MWSkillPtr MWGui::SelectSkillDialog::mCombatSkill[9]
private
Widgets::MWSkillPtr MWGui::SelectSkillDialog::mMagicSkill[9]
private
ESM::Skill::SkillEnum MWGui::SelectSkillDialog::mSkillId
private
Widgets::MWSkillPtr MWGui::SelectSkillDialog::mStealthSkill[9]
private

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