#include <MyGUI_SubSkin.h>
Public Types | |
typedef RTTIBase | Base |
typedef SubSkin | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
SubSkin () | |
virtual | ~SubSkin () |
void | setAlpha (float _alpha) |
virtual void | setVisible (bool _visible) |
virtual void | setStateData (IStateInfo *_data) |
virtual void | createDrawItem (const std::string &_texture, ILayerNode *_node) |
virtual void | destroyDrawItem () |
virtual void | doRender () |
void | _updateView () |
void | _correctView () |
void | _setAlign (const IntSize &_oldsize, bool _update) |
void | _setAlign (const IntCoord &_oldcoord, bool _update) |
virtual void | _setUVSet (const FloatRect &_rect) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Protected Attributes | |
FloatRect | mRectTexture |
bool | mEmptyView |
uint32 | mCurrentAlpha |
FloatRect | mCurrentTexture |
IntCoord | mCurrentCoord |
ILayerNode * | mNode |
RenderItem * | mRenderItem |
Definition at line 38 of file MyGUI_SubSkin.h.
typedef RTTIBase MyGUI::SubSkin::Base |
Reimplemented from MyGUI::ISubWidgetRect.
Reimplemented in MyGUI::MainSkin, MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 41 of file MyGUI_SubSkin.h.
typedef SubSkin MyGUI::SubSkin::RTTIBase |
Reimplemented from MyGUI::ISubWidgetRect.
Reimplemented in MyGUI::MainSkin, MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 41 of file MyGUI_SubSkin.h.
MyGUI::SubSkin::SubSkin | ( | ) |
Definition at line 34 of file MyGUI_SubSkin.cpp.
MyGUI::SubSkin::~SubSkin | ( | ) | [virtual] |
Definition at line 43 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::_correctView | ( | ) |
Definition at line 61 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::_setAlign | ( | const IntSize & | _oldsize, | |
bool | _update | |||
) |
Reimplemented in MyGUI::MainSkin.
Definition at line 71 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::_setAlign | ( | const IntCoord & | _oldcoord, | |
bool | _update | |||
) |
Definition at line 66 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::_setUVSet | ( | const FloatRect & | _rect | ) | [virtual] |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 207 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::_updateView | ( | ) |
Definition at line 125 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::createDrawItem | ( | const std::string & | _texture, | |
ILayerNode * | _node | |||
) | [virtual] |
Implements MyGUI::ISubWidget.
Definition at line 189 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::destroyDrawItem | ( | ) | [virtual] |
Implements MyGUI::ISubWidget.
Definition at line 198 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::doRender | ( | ) | [virtual] |
Implements MyGUI::ISubWidget.
Reimplemented in MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 240 of file MyGUI_SubSkin.cpp.
static const std::string& MyGUI::SubSkin::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::ISubWidgetRect.
Reimplemented in MyGUI::MainSkin, MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 41 of file MyGUI_SubSkin.h.
virtual const std::string& MyGUI::SubSkin::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::ISubWidgetRect.
Reimplemented in MyGUI::MainSkin, MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 41 of file MyGUI_SubSkin.h.
bool MyGUI::SubSkin::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetRect.
Reimplemented in MyGUI::MainSkin, MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 41 of file MyGUI_SubSkin.h.
virtual bool MyGUI::SubSkin::isType | ( | const std::type_info & | _type | ) | const [inline, virtual] |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetRect.
Reimplemented in MyGUI::MainSkin, MyGUI::RawRect, and MyGUI::RotatingSkin.
Definition at line 41 of file MyGUI_SubSkin.h.
void MyGUI::SubSkin::setAlpha | ( | float | _alpha | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::RawRect.
Definition at line 55 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::setStateData | ( | IStateInfo * | _data | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Reimplemented in MyGUI::RawRect.
Definition at line 271 of file MyGUI_SubSkin.cpp.
void MyGUI::SubSkin::setVisible | ( | bool | _visible | ) | [virtual] |
Definition at line 47 of file MyGUI_SubSkin.cpp.
uint32 MyGUI::SubSkin::mCurrentAlpha [protected] |
Definition at line 72 of file MyGUI_SubSkin.h.
IntCoord MyGUI::SubSkin::mCurrentCoord [protected] |
Definition at line 75 of file MyGUI_SubSkin.h.
FloatRect MyGUI::SubSkin::mCurrentTexture [protected] |
Definition at line 74 of file MyGUI_SubSkin.h.
bool MyGUI::SubSkin::mEmptyView [protected] |
Definition at line 70 of file MyGUI_SubSkin.h.
ILayerNode* MyGUI::SubSkin::mNode [protected] |
Definition at line 77 of file MyGUI_SubSkin.h.
FloatRect MyGUI::SubSkin::mRectTexture [protected] |
Definition at line 69 of file MyGUI_SubSkin.h.
RenderItem* MyGUI::SubSkin::mRenderItem [protected] |
Definition at line 78 of file MyGUI_SubSkin.h.