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 Member Functions | Private Attributes | List of all members
MWGui::Widgets::MWSkill Class Reference

#include <widgets.hpp>

Inheritance diagram for MWGui::Widgets::MWSkill:
Collaboration diagram for MWGui::Widgets::MWSkill:

Public Types

typedef MWMechanics::Stat< float > SkillValue
 
typedef
MyGUI::delegates::CMultiDelegate1
< MWSkill * > 
EventHandle_SkillVoid
 

Public Member Functions

 MWSkill ()
 
void setSkillId (ESM::Skill::SkillEnum skillId)
 
void setSkillNumber (int skillId)
 
void setSkillValue (const SkillValue &value)
 
ESM::Skill::SkillEnum getSkillId () const
 
const SkillValuegetSkillValue () const
 

Public Attributes

EventHandle_SkillVoid eventClicked
 

Protected Member Functions

virtual ~MWSkill ()
 
virtual void initialiseOverride ()
 
void onClicked (MyGUI::Widget *_sender)
 

Private Member Functions

void updateWidgets ()
 

Private Attributes

ESM::Skill::SkillEnum mSkillId
 
SkillValue mValue
 
MyGUI::TextBox * mSkillNameWidget
 
MyGUI::TextBox * mSkillValueWidget
 

Member Typedef Documentation

typedef MyGUI::delegates::CMultiDelegate1<MWSkill*> MWGui::Widgets::MWSkill::EventHandle_SkillVoid

Constructor & Destructor Documentation

MWGui::Widgets::MWSkill::MWSkill ( )
MWGui::Widgets::MWSkill::~MWSkill ( )
protectedvirtual

Member Function Documentation

ESM::Skill::SkillEnum MWGui::Widgets::MWSkill::getSkillId ( ) const
inline

Here is the caller graph for this function:

const SkillValue& MWGui::Widgets::MWSkill::getSkillValue ( ) const
inline
void MWGui::Widgets::MWSkill::initialiseOverride ( )
protectedvirtual

Here is the call graph for this function:

void MWGui::Widgets::MWSkill::onClicked ( MyGUI::Widget *  _sender)
protected

Here is the caller graph for this function:

void MWGui::Widgets::MWSkill::setSkillId ( ESM::Skill::SkillEnum  skillId)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Widgets::MWSkill::setSkillNumber ( int  skillId)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Widgets::MWSkill::setSkillValue ( const SkillValue value)

Here is the call graph for this function:

Here is the caller graph for this function:

void MWGui::Widgets::MWSkill::updateWidgets ( )
private

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

EventHandle_SkillVoid MWGui::Widgets::MWSkill::eventClicked

Event : Skill clicked.
signature : void method(MWSkill* _sender)

ESM::Skill::SkillEnum MWGui::Widgets::MWSkill::mSkillId
private
MyGUI::TextBox* MWGui::Widgets::MWSkill::mSkillNameWidget
private
MyGUI::TextBox* MWGui::Widgets::MWSkill::mSkillValueWidget
private
SkillValue MWGui::Widgets::MWSkill::mValue
private

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