MyGUI  3.0.1
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes
MyGUI::TileRect Class Reference

#include <MyGUI_TileRect.h>

+ Inheritance diagram for MyGUI::TileRect:

Public Types

typedef RTTIBase Base
typedef TileRect 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
 TileRect ()
virtual ~TileRect ()
void setAlpha (float _alpha)
virtual void setVisible (bool _visible)
virtual void createDrawItem (ITexture *_texture, ILayerNode *_node)
virtual void destroyDrawItem ()
virtual void doRender ()
virtual void setStateData (IStateInfo *_data)
void _updateView ()
void _correctView ()
void _setAlign (const IntSize &_oldsize, bool _update)
void _setAlign (const IntCoord &_oldcoord, bool _update)
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
virtual ~ISubWidget ()
- Public Member Functions inherited from MyGUI::ICroppedRectangle
 ICroppedRectangle ()
virtual ~ICroppedRectangle ()
ICroppedRectanglegetCroppedParent ()
virtual void setCoord (const IntCoord &_value)
const IntCoordgetCoord () const
virtual void setPosition (const IntPoint &_value)
IntPoint getPosition () const
virtual void setSize (const IntSize &_value)
IntSize getSize () const
bool isVisible () const
const IntPointgetAbsolutePosition () const
IntRect getAbsoluteRect () const
IntCoord getAbsoluteCoord () const
int getAbsoluteLeft () const
int getAbsoluteTop () const
virtual void setAlign (Align _value)
Align getAlign () 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
void show ()
void hide ()
bool isShow ()
- 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
virtual ~IObject ()

Static Public Member Functions

static const std::string & getClassTypeName ()

Protected Attributes

FloatRect mRectTexture
bool mEmptyView
uint32 mCurrentColour
FloatRect mCurrentTexture
IntCoord mCurrentCoord
ILayerNodemNode
RenderItemmRenderItem
IntSize mTileSize
size_t mCountVertex
float mRealTileWidth
float mRealTileHeight
float mTextureHeightOne
float mTextureWidthOne
bool mTileH
bool mTileV

Additional Inherited Members

- Protected Member Functions inherited from MyGUI::ICroppedRectangle
bool _checkPoint (int _left, int _top)
bool _checkMargin ()
bool _checkOutside ()

Detailed Description

Definition at line 37 of file MyGUI_TileRect.h.

Member Typedef Documentation

Definition at line 39 of file MyGUI_TileRect.h.

Definition at line 39 of file MyGUI_TileRect.h.

Constructor & Destructor Documentation

MyGUI::TileRect::TileRect ( )

Definition at line 38 of file MyGUI_TileRect.cpp.

MyGUI::TileRect::~TileRect ( )
virtual

Definition at line 53 of file MyGUI_TileRect.cpp.

Member Function Documentation

void MyGUI::TileRect::_correctView ( )
virtual

Reimplemented from MyGUI::ICroppedRectangle.

Definition at line 73 of file MyGUI_TileRect.cpp.

void MyGUI::TileRect::_setAlign ( const IntSize _oldsize,
bool  _update 
)
virtual

Reimplemented from MyGUI::ICroppedRectangle.

Definition at line 83 of file MyGUI_TileRect.cpp.

void MyGUI::TileRect::_setAlign ( const IntCoord _oldcoord,
bool  _update 
)
virtual

Reimplemented from MyGUI::ICroppedRectangle.

Definition at line 78 of file MyGUI_TileRect.cpp.

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

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 371 of file MyGUI_TileRect.cpp.

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

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 192 of file MyGUI_TileRect.cpp.

void MyGUI::TileRect::_updateView ( )
virtual

Reimplemented from MyGUI::ICroppedRectangle.

Definition at line 139 of file MyGUI_TileRect.cpp.

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

Implements MyGUI::ISubWidget.

Definition at line 343 of file MyGUI_TileRect.cpp.

void MyGUI::TileRect::destroyDrawItem ( )
virtual

Implements MyGUI::ISubWidget.

Definition at line 352 of file MyGUI_TileRect.cpp.

void MyGUI::TileRect::doRender ( )
virtual

Implements MyGUI::ISubWidget.

Definition at line 198 of file MyGUI_TileRect.cpp.

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

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 39 of file MyGUI_TileRect.h.

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

Get type name as string

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 39 of file MyGUI_TileRect.h.

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

Compare with selected type

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 39 of file MyGUI_TileRect.h.

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

Compare with selected type

Reimplemented from MyGUI::ISubWidgetRect.

Definition at line 39 of file MyGUI_TileRect.h.

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

Reimplemented from MyGUI::ISubWidget.

Definition at line 65 of file MyGUI_TileRect.cpp.

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

Reimplemented from MyGUI::ISubWidget.

Definition at line 361 of file MyGUI_TileRect.cpp.

void MyGUI::TileRect::setVisible ( bool  _value)
virtual

Hide or show

Reimplemented from MyGUI::ICroppedRectangle.

Definition at line 57 of file MyGUI_TileRect.cpp.

Field Documentation

size_t MyGUI::TileRect::mCountVertex
protected

Definition at line 80 of file MyGUI_TileRect.h.

uint32 MyGUI::TileRect::mCurrentColour
protected

Definition at line 71 of file MyGUI_TileRect.h.

IntCoord MyGUI::TileRect::mCurrentCoord
protected

Definition at line 74 of file MyGUI_TileRect.h.

FloatRect MyGUI::TileRect::mCurrentTexture
protected

Definition at line 73 of file MyGUI_TileRect.h.

bool MyGUI::TileRect::mEmptyView
protected

Definition at line 69 of file MyGUI_TileRect.h.

ILayerNode* MyGUI::TileRect::mNode
protected

Definition at line 76 of file MyGUI_TileRect.h.

float MyGUI::TileRect::mRealTileHeight
protected

Definition at line 83 of file MyGUI_TileRect.h.

float MyGUI::TileRect::mRealTileWidth
protected

Definition at line 82 of file MyGUI_TileRect.h.

FloatRect MyGUI::TileRect::mRectTexture
protected

Definition at line 68 of file MyGUI_TileRect.h.

RenderItem* MyGUI::TileRect::mRenderItem
protected

Definition at line 77 of file MyGUI_TileRect.h.

float MyGUI::TileRect::mTextureHeightOne
protected

Definition at line 85 of file MyGUI_TileRect.h.

float MyGUI::TileRect::mTextureWidthOne
protected

Definition at line 86 of file MyGUI_TileRect.h.

bool MyGUI::TileRect::mTileH
protected

Definition at line 88 of file MyGUI_TileRect.h.

IntSize MyGUI::TileRect::mTileSize
protected

Definition at line 79 of file MyGUI_TileRect.h.

bool MyGUI::TileRect::mTileV
protected

Definition at line 89 of file MyGUI_TileRect.h.


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