MyGUI  3.2.0
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
MyGUI::SubSkin Class Reference

#include <MyGUI_SubSkin.h>

+ Inheritance diagram for MyGUI::SubSkin:

Public Types

typedef RTTIBase Base
typedef SubSkin RTTIBase
- Public Types inherited from MyGUI::ISubWidgetRect
typedef RTTIBase Base
typedef ISubWidgetRect RTTIBase
- Public Types inherited from MyGUI::ISubWidget
typedef RTTIBase Base
typedef ISubWidget RTTIBase
- Public Types inherited from MyGUI::IObject
typedef IObject 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 ()
virtual void setAlpha (float _alpha)
virtual void setVisible (bool _visible)
virtual void setStateData (IStateInfo *_data)
virtual void createDrawItem (ITexture *_texture, ILayerNode *_node)
virtual void destroyDrawItem ()
virtual void doRender ()
virtual void _updateView ()
virtual void _correctView ()
virtual void _setAlign (const IntSize &_oldsize)
virtual void _setUVSet (const FloatRect &_rect)
virtual void _setColour (const Colour &_value)
- Public Member Functions inherited from MyGUI::ISubWidgetRect
virtual ~ISubWidgetRect ()
- Public Member Functions inherited from MyGUI::ISubWidget
 ISubWidget ()
virtual ~ISubWidget ()
virtual void setAlign (Align _value)
virtual void doManualRender (IVertexBuffer *_buffer, ITexture *_texture, size_t _count)
- Public Member Functions inherited from MyGUI::ICroppedRectangle
 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
ICroppedRectanglegetCroppedParent ()
virtual void setPosition (const IntPoint &_value)
virtual void setSize (const IntSize &_value)
virtual void setCoord (const IntCoord &_value)
IntPoint getPosition () const
IntSize getSize () const
const IntCoordgetCoord () const
const IntPointgetAbsolutePosition () const
IntRect getAbsoluteRect () const
IntCoord getAbsoluteCoord () const
int getAbsoluteLeft () const
int getAbsoluteTop () const
int getLeft () const
int getRight () const
int getTop () const
int getBottom () const
int getWidth () const
int getHeight () const
bool _isMargin () const
int _getViewLeft () const
int _getViewRight () const
int _getViewTop () const
int _getViewBottom () const
int _getViewWidth () const
int _getViewHeight () const
void _setCroppedParent (ICroppedRectangle *_parent)
const IntRect_getMargin () const
int _getMarginLeft () const
int _getMarginRight () const
int _getMarginTop () const
int _getMarginBottom () const
- Public Member Functions inherited from MyGUI::IObject
template<typename Type >
Type * castType (bool _throw=true)
template<typename Type >
const Type * castType (bool _throw=true) const
 IObject ()
virtual ~IObject ()

Static Public Member Functions

static const std::string & getClassTypeName ()

Protected Attributes

FloatRect mRectTexture
bool mEmptyView
VertexColourType mVertexFormat
uint32 mCurrentColour
FloatRect mCurrentTexture
IntCoord mCurrentCoord
ILayerNodemNode
RenderItemmRenderItem
bool mSeparate

Additional Inherited Members

- Protected Member Functions inherited from MyGUI::ICroppedRectangle
bool _checkMargin ()
bool _checkOutside () const

Detailed Description

Definition at line 38 of file MyGUI_SubSkin.h.

Member Typedef Documentation

Definition at line 41 of file MyGUI_SubSkin.h.

Definition at line 41 of file MyGUI_SubSkin.h.

Constructor & Destructor Documentation

MyGUI::SubSkin::SubSkin ( )

Definition at line 35 of file MyGUI_SubSkin.cpp.

MyGUI::SubSkin::~SubSkin ( )
virtual

Definition at line 46 of file MyGUI_SubSkin.cpp.

Member Function Documentation

void MyGUI::SubSkin::_correctView ( )
virtual

Reimplemented from MyGUI::ISubWidget.

Definition at line 67 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::_setAlign ( const IntSize _oldsize)
virtual

Reimplemented from MyGUI::ISubWidget.

Reimplemented in MyGUI::MainSkin.

Definition at line 72 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::_setColour ( const Colour _value)
virtual

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 272 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::_setUVSet ( const FloatRect _rect)
virtual

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 208 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::_updateView ( )
virtual

Reimplemented from MyGUI::ISubWidget.

Definition at line 126 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::createDrawItem ( ITexture _texture,
ILayerNode _node 
)
virtual

Implements MyGUI::ISubWidget.

Definition at line 190 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::destroyDrawItem ( )
virtual

Implements MyGUI::ISubWidget.

Definition at line 199 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::doRender ( )
virtual

Implements MyGUI::ISubWidget.

Definition at line 241 of file MyGUI_SubSkin.cpp.

static const std::string& MyGUI::SubSkin::getClassTypeName ( )
inlinestatic

Reimplemented from MyGUI::ISubWidgetRect.

Reimplemented in MyGUI::MainSkin.

Definition at line 41 of file MyGUI_SubSkin.h.

virtual const std::string& MyGUI::SubSkin::getTypeName ( ) const
inlinevirtual

Get type name as string

Reimplemented from MyGUI::ISubWidgetRect.

Reimplemented in MyGUI::MainSkin.

Definition at line 41 of file MyGUI_SubSkin.h.

template<typename Type >
bool MyGUI::SubSkin::isType ( ) const
inline

Compare with selected type

Reimplemented from MyGUI::ISubWidgetRect.

Reimplemented in MyGUI::MainSkin.

Definition at line 41 of file MyGUI_SubSkin.h.

virtual bool MyGUI::SubSkin::isType ( const std::type_info &  _type) const
inlinevirtual

Compare with selected type

Reimplemented from MyGUI::ISubWidgetRect.

Reimplemented in MyGUI::MainSkin.

Definition at line 41 of file MyGUI_SubSkin.h.

void MyGUI::SubSkin::setAlpha ( float  _alpha)
virtual

Reimplemented from MyGUI::ISubWidget.

Definition at line 58 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::setStateData ( IStateInfo _data)
virtual

Reimplemented from MyGUI::ISubWidget.

Definition at line 282 of file MyGUI_SubSkin.cpp.

void MyGUI::SubSkin::setVisible ( bool  _visible)
virtual

Reimplemented from MyGUI::ISubWidget.

Definition at line 50 of file MyGUI_SubSkin.cpp.

Field Documentation

uint32 MyGUI::SubSkin::mCurrentColour
protected

Definition at line 73 of file MyGUI_SubSkin.h.

IntCoord MyGUI::SubSkin::mCurrentCoord
protected

Definition at line 76 of file MyGUI_SubSkin.h.

FloatRect MyGUI::SubSkin::mCurrentTexture
protected

Definition at line 75 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 78 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 79 of file MyGUI_SubSkin.h.

bool MyGUI::SubSkin::mSeparate
protected

Definition at line 81 of file MyGUI_SubSkin.h.

VertexColourType MyGUI::SubSkin::mVertexFormat
protected

Definition at line 72 of file MyGUI_SubSkin.h.


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