MyGUI
3.2.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) |
IntPoint | getCenter (bool _local=true) const |
virtual void | setAlpha (float _alpha) |
virtual void | setVisible (bool _visible) |
virtual void | setStateData (IStateInfo *_data) |
virtual void | createDrawItem (ITexture *_texture, ILayerNode *_node) |
virtual void | destroyDrawItem () |
virtual void | doRender () |
virtual void | _updateView () |
virtual void | _correctView () |
virtual void | _setAlign (const IntSize &_oldsize) |
virtual void | _setUVSet (const FloatRect &_rect) |
virtual void | _setColour (const Colour &_value) |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Protected Member Functions | |
void | _rebuildGeometry () |
Definition at line 18 of file MyGUI_RotatingSkin.h.
typedef RTTIBase MyGUI::RotatingSkin::Base |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
Definition at line 17 of file MyGUI_RotatingSkin.cpp.
MyGUI::RotatingSkin::~RotatingSkin | ( | ) | [virtual] |
Definition at line 28 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::_correctView | ( | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Definition at line 76 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::_rebuildGeometry | ( | ) | [protected] |
Definition at line 225 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::_setAlign | ( | const IntSize & | _oldsize | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Definition at line 84 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::_setColour | ( | const Colour & | _value | ) | [virtual] |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 190 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::_setUVSet | ( | const FloatRect & | _rect | ) | [virtual] |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 210 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::_updateView | ( | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Definition at line 137 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::createDrawItem | ( | ITexture * | _texture, |
ILayerNode * | _node | ||
) | [virtual] |
Implements MyGUI::ISubWidget.
Definition at line 147 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::destroyDrawItem | ( | ) | [virtual] |
Implements MyGUI::ISubWidget.
Definition at line 156 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::doRender | ( | ) | [virtual] |
Implements MyGUI::ISubWidget.
Definition at line 165 of file MyGUI_RotatingSkin.cpp.
float MyGUI::RotatingSkin::getAngle | ( | ) | const |
Get angle of rotation in radians
Definition at line 349 of file MyGUI_RotatingSkin.cpp.
IntPoint MyGUI::RotatingSkin::getCenter | ( | bool | _local = true | ) | const |
Get center of rotation
Definition at line 50 of file MyGUI_RotatingSkin.cpp.
static const std::string& MyGUI::RotatingSkin::getClassTypeName | ( | ) | [inline, static] |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
virtual const std::string& MyGUI::RotatingSkin::getTypeName | ( | ) | const [inline, virtual] |
Get type name as string
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
bool MyGUI::RotatingSkin::isType | ( | ) | const [inline] |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 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::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
void MyGUI::RotatingSkin::setAlpha | ( | float | _alpha | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Definition at line 67 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setAngle | ( | float | _angle | ) |
Set angle of rotation in radians
Definition at line 32 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setCenter | ( | const IntPoint & | _center | ) |
Set center of rotation
_center | Center point. |
Definition at line 41 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setStateData | ( | IStateInfo * | _data | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Definition at line 200 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setVisible | ( | bool | _visible | ) | [virtual] |
Reimplemented from MyGUI::ISubWidget.
Definition at line 55 of file MyGUI_RotatingSkin.cpp.