MyGUI 3.0.1
|
#include <MyGUI_RotatingSkin.h>
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 () |
Definition at line 35 of file MyGUI_RotatingSkin.h.
typedef RTTIBase MyGUI::RotatingSkin::Base |
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.
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.
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.
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
_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.