OpenMW
|
#include <widgets.hpp>
Public Types | |
typedef MWMechanics::Stat< int > | AttributeValue |
typedef MyGUI::delegates::CMultiDelegate1 < MWAttribute * > | EventHandle_AttributeVoid |
Public Member Functions | |
MWAttribute () | |
void | setAttributeId (int attributeId) |
void | setAttributeValue (const AttributeValue &value) |
int | getAttributeId () const |
const AttributeValue & | getAttributeValue () const |
Public Attributes | |
EventHandle_AttributeVoid | eventClicked |
Protected Member Functions | |
virtual | ~MWAttribute () |
virtual void | initialiseOverride () |
void | onClicked (MyGUI::Widget *_sender) |
Private Member Functions | |
void | updateWidgets () |
Private Attributes | |
int | mId |
AttributeValue | mValue |
MyGUI::Widget * | mAttributeNameWidget |
MyGUI::Widget * | mAttributeValueWidget |
typedef MyGUI::delegates::CMultiDelegate1<MWAttribute*> MWGui::Widgets::MWAttribute::EventHandle_AttributeVoid |
MWGui::Widgets::MWAttribute::~MWAttribute | ( | ) | [protected, virtual] |
int MWGui::Widgets::MWAttribute::getAttributeId | ( | ) | const [inline] |
const AttributeValue& MWGui::Widgets::MWAttribute::getAttributeValue | ( | ) | const [inline] |
void MWGui::Widgets::MWAttribute::initialiseOverride | ( | ) | [protected, virtual] |
void MWGui::Widgets::MWAttribute::onClicked | ( | MyGUI::Widget * | _sender | ) | [protected] |
void MWGui::Widgets::MWAttribute::setAttributeId | ( | int | attributeId | ) |
void MWGui::Widgets::MWAttribute::setAttributeValue | ( | const AttributeValue & | value | ) |
void MWGui::Widgets::MWAttribute::updateWidgets | ( | ) | [private] |
Event : Attribute clicked.
signature : void method(MWAttribute* _sender)
MyGUI::Widget* MWGui::Widgets::MWAttribute::mAttributeNameWidget [private] |
MyGUI::Widget* MWGui::Widgets::MWAttribute::mAttributeValueWidget [private] |
int MWGui::Widgets::MWAttribute::mId [private] |