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

#include <MyGUI_RotatingSkin.h>

+ Inheritance diagram for MyGUI::RotatingSkin:

Public Types

typedef RTTIBase Base
typedef RotatingSkin RTTIBase
- Public Types inherited from MyGUI::SubSkin
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
 RotatingSkin ()
virtual ~RotatingSkin ()
void setAngle (float _angle)
float getAngle () const
void setCenter (const IntPoint &_center, bool _local=true)
IntPoint getCenter (bool _local=true) const
virtual void doRender ()
- Public Member Functions inherited from MyGUI::SubSkin
 SubSkin ()
virtual ~SubSkin ()
void setAlpha (float _alpha)
virtual void setVisible (bool _visible)
virtual void setStateData (IStateInfo *_data)
virtual void createDrawItem (ITexture *_texture, ILayerNode *_node)
virtual void destroyDrawItem ()
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 Member Functions

void recalculateAngles ()

Additional Inherited Members

- Protected Attributes inherited from MyGUI::SubSkin
FloatRect mRectTexture
bool mEmptyView
uint32 mCurrentColour
FloatRect mCurrentTexture
IntCoord mCurrentCoord
ILayerNodemNode
RenderItemmRenderItem

Detailed Description

Definition at line 35 of file MyGUI_RotatingSkin.h.

Member Typedef Documentation

Definition at line 37 of file MyGUI_RotatingSkin.h.

Definition at line 37 of file MyGUI_RotatingSkin.h.

Constructor & Destructor Documentation

MyGUI::RotatingSkin::RotatingSkin ( )

Definition at line 31 of file MyGUI_RotatingSkin.cpp.

MyGUI::RotatingSkin::~RotatingSkin ( )
virtual

Definition at line 43 of file MyGUI_RotatingSkin.cpp.

Member Function Documentation

void MyGUI::RotatingSkin::doRender ( )
virtual

Reimplemented from MyGUI::SubSkin.

Definition at line 66 of file MyGUI_RotatingSkin.cpp.

float MyGUI::RotatingSkin::getAngle ( ) const
inline

Get angle of rotation

Definition at line 46 of file MyGUI_RotatingSkin.h.

IntPoint MyGUI::RotatingSkin::getCenter ( bool  _local = true) const

Get center of rotation

Definition at line 61 of file MyGUI_RotatingSkin.cpp.

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

Reimplemented from MyGUI::SubSkin.

Definition at line 37 of file MyGUI_RotatingSkin.h.

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

Get type name as string

Reimplemented from MyGUI::SubSkin.

Definition at line 37 of file MyGUI_RotatingSkin.h.

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

Compare with selected type

Reimplemented from MyGUI::SubSkin.

Definition at line 37 of file MyGUI_RotatingSkin.h.

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

Compare with selected type

Reimplemented from MyGUI::SubSkin.

Definition at line 37 of file MyGUI_RotatingSkin.h.

void MyGUI::RotatingSkin::recalculateAngles ( )
protected

Definition at line 104 of file MyGUI_RotatingSkin.cpp.

void MyGUI::RotatingSkin::setAngle ( float  _angle)

Set angle of rotation

Definition at line 47 of file MyGUI_RotatingSkin.cpp.

void MyGUI::RotatingSkin::setCenter ( const IntPoint _center,
bool  _local = true 
)

Set center of rotation

Parameters
_centerCenter point.
_localIf true - _center point calculated as point on SubWidget, else calculated as point on screen.

Definition at line 53 of file MyGUI_RotatingSkin.cpp.


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