MyGUI::RotatingSkin Class Reference

#include <MyGUI_RotatingSkin.h>

Inheritance diagram for MyGUI::RotatingSkin:
Inheritance graph
[legend]

Public Member Functions

 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 ()

Protected Member Functions

void recalculateAngles ()

Detailed Description

Definition at line 35 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.

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 Nov 17 15:31:19 2011 for MyGUI by  doxygen 1.6.3