MyGUI
3.0.1
|
#include <MyGUI_RotatingSkin.h>
Public Types | |
typedef RTTIBase | Base |
typedef RotatingSkin | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef SubSkin | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef ISubWidgetRect | RTTIBase |
![]() | |
typedef RTTIBase | Base |
typedef ISubWidget | RTTIBase |
![]() | |
typedef IObject | 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 () |
![]() | |
SubSkin () | |
virtual | ~SubSkin () |
void | setAlpha (float _alpha) |
virtual void | setVisible (bool _visible) |
virtual void | setStateData (IStateInfo *_data) |
virtual void | createDrawItem (ITexture *_texture, ILayerNode *_node) |
virtual void | destroyDrawItem () |
void | _updateView () |
void | _correctView () |
void | _setAlign (const IntSize &_oldsize, bool _update) |
void | _setAlign (const IntCoord &_oldcoord, bool _update) |
virtual void | _setUVSet (const FloatRect &_rect) |
virtual void | _setColour (const Colour &_value) |
![]() | |
virtual | ~ISubWidgetRect () |
![]() | |
virtual | ~ISubWidget () |
![]() | |
ICroppedRectangle () | |
virtual | ~ICroppedRectangle () |
ICroppedRectangle * | getCroppedParent () |
virtual void | setCoord (const IntCoord &_value) |
const IntCoord & | getCoord () const |
virtual void | setPosition (const IntPoint &_value) |
IntPoint | getPosition () const |
virtual void | setSize (const IntSize &_value) |
IntSize | getSize () const |
bool | isVisible () const |
const IntPoint & | getAbsolutePosition () const |
IntRect | getAbsoluteRect () const |
IntCoord | getAbsoluteCoord () const |
int | getAbsoluteLeft () const |
int | getAbsoluteTop () const |
virtual void | setAlign (Align _value) |
Align | getAlign () const |
int | getLeft () const |
int | getRight () const |
int | getTop () const |
int | getBottom () const |
int | getWidth () const |
int | getHeight () const |
bool | _isMargin () const |
int | _getViewLeft () const |
int | _getViewRight () const |
int | _getViewTop () const |
int | _getViewBottom () const |
int | _getViewWidth () const |
int | _getViewHeight () const |
void | _setCroppedParent (ICroppedRectangle *_parent) |
const IntRect & | _getMargin () const |
int | _getMarginLeft () const |
int | _getMarginRight () const |
int | _getMarginTop () const |
int | _getMarginBottom () const |
void | show () |
void | hide () |
bool | isShow () |
![]() | |
template<typename Type > | |
Type * | castType (bool _throw=true) |
template<typename Type > | |
const Type * | castType (bool _throw=true) const |
virtual | ~IObject () |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Protected Member Functions | |
void | recalculateAngles () |
Additional Inherited Members | |
![]() | |
FloatRect | mRectTexture |
bool | mEmptyView |
uint32 | mCurrentColour |
FloatRect | mCurrentTexture |
IntCoord | mCurrentCoord |
ILayerNode * | mNode |
RenderItem * | mRenderItem |
Definition at line 35 of file MyGUI_RotatingSkin.h.
typedef RTTIBase MyGUI::RotatingSkin::Base |
Definition at line 37 of file MyGUI_RotatingSkin.h.
Definition at line 37 of file MyGUI_RotatingSkin.h.
MyGUI::RotatingSkin::RotatingSkin | ( | ) |
Definition at line 31 of file MyGUI_RotatingSkin.cpp.
|
virtual |
Definition at line 43 of file MyGUI_RotatingSkin.cpp.
|
virtual |
Reimplemented from MyGUI::SubSkin.
Definition at line 66 of file MyGUI_RotatingSkin.cpp.
|
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.
|
inlinestatic |
Reimplemented from MyGUI::SubSkin.
Definition at line 37 of file MyGUI_RotatingSkin.h.
|
inlinevirtual |
Get type name as string
Reimplemented from MyGUI::SubSkin.
Definition at line 37 of file MyGUI_RotatingSkin.h.
|
inline |
Compare with selected type
Reimplemented from MyGUI::SubSkin.
Definition at line 37 of file MyGUI_RotatingSkin.h.
|
inlinevirtual |
Compare with selected type
Reimplemented from MyGUI::SubSkin.
Definition at line 37 of file MyGUI_RotatingSkin.h.
|
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.