#include <MyGUI_RotatingSkin.h>
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 () |
Definition at line 35 of file MyGUI_RotatingSkin.h.
MyGUI::RotatingSkin::RotatingSkin | ( | ) |
Definition at line 31 of file MyGUI_RotatingSkin.cpp.
MyGUI::RotatingSkin::~RotatingSkin | ( | ) | [virtual] |
Definition at line 37 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::doRender | ( | ) | [virtual] |
Reimplemented from MyGUI::SubSkin.
Definition at line 60 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 55 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::recalculateAngles | ( | ) | [protected] |
Definition at line 98 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setAngle | ( | float | _angle | ) |
Set angle of rotation
Definition at line 41 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setCenter | ( | const IntPoint & | _center, | |
bool | _local = true | |||
) |
Set center of rotation
_center | Center point. | |
_local | If true - _center point calculated as point on SubWidget, else calculated as point on screen. |
Definition at line 47 of file MyGUI_RotatingSkin.cpp.