MyGUI
3.2.1
|
#include <MyGUI_SkinItem.h>
Public Member Functions | |
SkinItem () | |
ISubWidgetText * | getSubWidgetText () |
ISubWidgetRect * | getSubWidgetMain () |
void | _setTextureName (const std::string &_texture) |
const std::string & | _getTextureName () const |
Public Member Functions inherited from MyGUI::LayerItem | |
LayerItem () | |
virtual | ~LayerItem () |
ILayer * | getLayer () const |
ILayerNode * | getLayerNode () const |
virtual void | attachItemToNode (ILayer *_layer, ILayerNode *_node) |
virtual void | detachFromLayer () |
virtual void | upLayerItem () |
void | setRenderItemTexture (ITexture *_texture) |
void | addChildItem (LayerItem *_item) |
void | removeChildItem (LayerItem *_item) |
void | addChildNode (LayerItem *_item) |
void | removeChildNode (LayerItem *_item) |
void | addRenderItem (ISubWidget *_item) |
void | removeAllRenderItems () |
void | saveLayerItem () |
void | restoreLayerItem () |
Public Member Functions inherited from MyGUI::ILayerItem | |
virtual | ~ILayerItem () |
virtual ILayerItem * | getLayerItemByPoint (int _left, int _top) const =0 |
virtual const IntCoord & | getLayerItemCoord () const =0 |
virtual void | resizeLayerItemView (const IntSize &_oldView, const IntSize &_newView)=0 |
Protected Member Functions | |
void | _createSkinItem (ResourceSkin *_info) |
void | _deleteSkinItem () |
void | _setSkinItemAlign (const IntSize &_size) |
void | _setSkinItemVisible (bool _value) |
void | _setSkinItemColour (const Colour &_value) |
void | _setSkinItemAlpha (float _value) |
void | _correctSkinItemView () |
void | _updateSkinItemView () |
bool | _setSkinItemState (const std::string &_state) |
void | _setSubSkinVisible (bool _visible) |
Protected Member Functions inherited from MyGUI::LayerItem | |
void | attachToLayerItemNode (ILayerNode *_node, bool _deep) |
void | detachFromLayerItemNode (bool _deep) |
Definition at line 19 of file MyGUI_SkinItem.h.
MyGUI::SkinItem::SkinItem | ( | ) |
Definition at line 16 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 52 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 80 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 117 of file MyGUI_SkinItem.cpp.
const std::string & MyGUI::SkinItem::_getTextureName | ( | ) | const |
Definition at line 141 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 24 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 46 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 36 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 64 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 30 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 146 of file MyGUI_SkinItem.cpp.
void MyGUI::SkinItem::_setTextureName | ( | const std::string & | _texture | ) |
Definition at line 133 of file MyGUI_SkinItem.cpp.
|
protected |
Definition at line 58 of file MyGUI_SkinItem.cpp.
ISubWidgetRect * MyGUI::SkinItem::getSubWidgetMain | ( | ) |
Get sub widget of first texture or nullptr if no sub widget with texture
Definition at line 160 of file MyGUI_SkinItem.cpp.
ISubWidgetText * MyGUI::SkinItem::getSubWidgetText | ( | ) |
Get text sub widget or nullptr if no text sub widget
Definition at line 155 of file MyGUI_SkinItem.cpp.