7#ifndef MYGUI_ROTATING_SKIN_H_
8#define MYGUI_ROTATING_SKIN_H_
26 void setAngle(
float _angle);
28 float getAngle()
const;
37 void setAlpha(
float _alpha)
override;
39 void setVisible(
bool _visible)
override;
44 void destroyDrawItem()
override;
47 void doRender()
override;
50 void _updateView()
override;
51 void _correctView()
override;
59 void _rebuildGeometry();
62 bool mGeometryOutdated{
false};
69 RECT_VERTICIES_COUNT = 4,
70 GEOMETRY_VERTICIES_TOTAL_COUNT = 8
72 FloatPoint mResultVerticiesPos[GEOMETRY_VERTICIES_TOTAL_COUNT];
73 FloatPoint mResultVerticiesUV[GEOMETRY_VERTICIES_TOTAL_COUNT];
75 bool mEmptyView{
false};
77 VertexColourType mVertexFormat;
78 uint32 mCurrentColour{0xFFFFFFFF};
83 ILayerNode* mNode{
nullptr};
84 RenderItem* mRenderItem{
nullptr};
#define MYGUI_RTTI_DERIVED(DerivedType)
types::TRect< float > FloatRect
types::TPoint< float > FloatPoint
types::TCoord< int > IntCoord