MyGUI::RotatingSkin Class Reference

#include <MyGUI_RotatingSkin.h>

Inheritance diagram for MyGUI::RotatingSkin:

Inheritance graph
[legend]

Public Types

typedef RTTIBase Base
typedef RotatingSkin 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 ()

Static Public Member Functions

static const std::string & getClassTypeName ()

Protected Member Functions

void recalculateAngles ()

Detailed Description

Definition at line 35 of file MyGUI_RotatingSkin.h.


Member Typedef Documentation

Reimplemented from MyGUI::SubSkin.

Definition at line 37 of file MyGUI_RotatingSkin.h.

Reimplemented from MyGUI::SubSkin.

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 (  )  [inline, static]

Reimplemented from MyGUI::SubSkin.

Definition at line 37 of file MyGUI_RotatingSkin.h.

virtual const std::string& MyGUI::RotatingSkin::getTypeName (  )  const [inline, virtual]

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 [inline, virtual]

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:
_center Center point.
_local If 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:

Generated on Thu Dec 9 14:48:17 2010 for MyGUI by  doxygen 1.5.9