MyGUI 3.4.1
|
#include <MyGUI_RotatingSkin.h>
Public Types | |
typedef RTTIBase | Base |
typedef RotatingSkin | RTTIBase |
Public Types inherited from MyGUI::ISubWidgetRect | |
typedef RTTIBase | Base |
typedef ISubWidgetRect | RTTIBase |
Public Types inherited from MyGUI::ISubWidget | |
typedef RTTIBase | Base |
typedef ISubWidget | RTTIBase |
Public Types inherited from MyGUI::IObject | |
typedef IObject | RTTIBase |
Public Member Functions | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
RotatingSkin () | |
void | setAngle (float _angle) |
float | getAngle () const |
void | setCenter (const IntPoint &_center) |
IntPoint | getCenter (bool _local=true) const |
void | setAlpha (float _alpha) override |
void | setVisible (bool _visible) override |
void | setStateData (IStateInfo *_data) override |
void | createDrawItem (ITexture *_texture, ILayerNode *_node) override |
void | destroyDrawItem () override |
void | doRender () override |
void | _updateView () override |
void | _correctView () override |
void | _setAlign (const IntSize &_oldsize) override |
void | _setUVSet (const FloatRect &_rect) override |
void | _setColour (const Colour &_value) override |
Public Member Functions inherited from MyGUI::ISubWidgetRect | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
virtual void | _setUVSet (const FloatRect &_rect) |
virtual void | _setColour (const Colour &_value) |
Public Member Functions inherited from MyGUI::ISubWidget | |
virtual const std::string & | getTypeName () const override |
virtual bool | isType (const std::type_info &_type) const override |
template<typename Type > | |
bool | isType () const |
ISubWidget () | |
virtual void | createDrawItem (ITexture *_texture, ILayerNode *_node)=0 |
virtual void | destroyDrawItem ()=0 |
virtual void | setAlpha (float _alpha) |
virtual void | setStateData (IStateInfo *_data) |
virtual void | doRender ()=0 |
virtual void | setAlign (Align _value) |
virtual void | setVisible (bool _value) |
virtual void | _updateView () |
virtual void | _correctView () |
virtual void | _setAlign (const IntSize &_oldsize) |
virtual void | doManualRender (IVertexBuffer *_buffer, ITexture *_texture, size_t _count) |
Public Member Functions inherited from MyGUI::ICroppedRectangle | |
ICroppedRectangle () | |
virtual | ~ICroppedRectangle () |
ICroppedRectangle * | getCroppedParent () |
virtual void | setPosition (const IntPoint &_value) |
virtual void | setSize (const IntSize &_value) |
virtual void | setCoord (const IntCoord &_value) |
IntPoint | getPosition () const |
IntSize | getSize () const |
const IntCoord & | getCoord () const |
const IntPoint & | getAbsolutePosition () const |
IntRect | getAbsoluteRect () const |
IntCoord | getAbsoluteCoord () const |
int | getAbsoluteLeft () const |
int | getAbsoluteTop () 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 |
Public Member Functions inherited from MyGUI::IObject | |
virtual const std::string & | getTypeName () const |
virtual bool | isType (const std::type_info &_type) const |
template<typename Type > | |
bool | isType () const |
template<typename Type > | |
Type * | castType (bool _throw=true) |
template<typename Type > | |
const Type * | castType (bool _throw=true) const |
IObject ()=default | |
virtual | ~IObject ()=default |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::ISubWidgetRect | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::ISubWidget | |
static const std::string & | getClassTypeName () |
Static Public Member Functions inherited from MyGUI::IObject | |
static const std::string & | getClassTypeName () |
Protected Member Functions | |
void | _rebuildGeometry () |
Protected Member Functions inherited from MyGUI::ICroppedRectangle | |
bool | _checkMargin () |
bool | _checkOutside () const |
Additional Inherited Members | |
Protected Attributes inherited from MyGUI::ISubWidget | |
Align | mAlign |
bool | mVisible |
Protected Attributes inherited from MyGUI::ICroppedRectangle | |
IntRect | mMargin |
IntCoord | mCoord |
IntPoint | mAbsolutePosition |
bool | mIsMargin |
ICroppedRectangle * | mCroppedParent |
Definition at line 18 of file MyGUI_RotatingSkin.h.
typedef RTTIBase MyGUI::RotatingSkin::Base |
Definition at line 21 of file MyGUI_RotatingSkin.h.
Definition at line 21 of file MyGUI_RotatingSkin.h.
MyGUI::RotatingSkin::RotatingSkin | ( | ) |
Definition at line 17 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 72 of file MyGUI_RotatingSkin.cpp.
|
protected |
Definition at line 209 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 80 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 174 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 194 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 121 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Implements MyGUI::ISubWidget.
Definition at line 131 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Implements MyGUI::ISubWidget.
Definition at line 140 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Implements MyGUI::ISubWidget.
Definition at line 149 of file MyGUI_RotatingSkin.cpp.
float MyGUI::RotatingSkin::getAngle | ( | ) | const |
Get angle of rotation in radians
Definition at line 334 of file MyGUI_RotatingSkin.cpp.
IntPoint MyGUI::RotatingSkin::getCenter | ( | bool | _local = true | ) | const |
Get center of rotation
Definition at line 46 of file MyGUI_RotatingSkin.cpp.
|
inlinestatic |
Definition at line 21 of file MyGUI_RotatingSkin.h.
|
inlineoverridevirtual |
Get type name as string
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
|
inline |
Compare with selected type
Definition at line 21 of file MyGUI_RotatingSkin.h.
|
inlineoverridevirtual |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 21 of file MyGUI_RotatingSkin.h.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 63 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setAngle | ( | float | _angle | ) |
Set angle of rotation in radians
Definition at line 28 of file MyGUI_RotatingSkin.cpp.
void MyGUI::RotatingSkin::setCenter | ( | const IntPoint & | _center | ) |
Set center of rotation
_center | Center point. |
Definition at line 37 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 184 of file MyGUI_RotatingSkin.cpp.
|
overridevirtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 51 of file MyGUI_RotatingSkin.cpp.