MyGUI  3.2.1
Public Member Functions | Protected Member Functions
MyGUI::SkinItem Class Reference

#include <MyGUI_SkinItem.h>

+ Inheritance diagram for MyGUI::SkinItem:

Public Member Functions

 SkinItem ()
ISubWidgetTextgetSubWidgetText ()
ISubWidgetRectgetSubWidgetMain ()
void _setTextureName (const std::string &_texture)
const std::string & _getTextureName () const
- Public Member Functions inherited from MyGUI::LayerItem
 LayerItem ()
virtual ~LayerItem ()
ILayergetLayer () const
ILayerNodegetLayerNode () 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 ILayerItemgetLayerItemByPoint (int _left, int _top) const =0
virtual const IntCoordgetLayerItemCoord () 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)

Detailed Description

Definition at line 19 of file MyGUI_SkinItem.h.

Constructor & Destructor Documentation

MyGUI::SkinItem::SkinItem ( )

Definition at line 16 of file MyGUI_SkinItem.cpp.

Member Function Documentation

void MyGUI::SkinItem::_correctSkinItemView ( )

Definition at line 52 of file MyGUI_SkinItem.cpp.

void MyGUI::SkinItem::_createSkinItem ( ResourceSkin _info)

Definition at line 80 of file MyGUI_SkinItem.cpp.

void MyGUI::SkinItem::_deleteSkinItem ( )

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.

void MyGUI::SkinItem::_setSkinItemAlign ( const IntSize _size)

Definition at line 24 of file MyGUI_SkinItem.cpp.

void MyGUI::SkinItem::_setSkinItemAlpha ( float  _value)

Definition at line 46 of file MyGUI_SkinItem.cpp.

void MyGUI::SkinItem::_setSkinItemColour ( const Colour _value)

Definition at line 36 of file MyGUI_SkinItem.cpp.

bool MyGUI::SkinItem::_setSkinItemState ( const std::string &  _state)

Definition at line 64 of file MyGUI_SkinItem.cpp.

void MyGUI::SkinItem::_setSkinItemVisible ( bool  _value)

Definition at line 30 of file MyGUI_SkinItem.cpp.

void MyGUI::SkinItem::_setSubSkinVisible ( bool  _visible)

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.

void MyGUI::SkinItem::_updateSkinItemView ( )

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.

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