MyGUI
3.2.0
|
#include <MyGUI_PolygonalSkin.h>
Public Types | |
typedef RTTIBase | Base |
typedef PolygonalSkin | 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 |
PolygonalSkin () | |
virtual | ~PolygonalSkin () |
void | setPoints (const std::vector< FloatPoint > &_points) |
void | setWidth (float _width) |
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) |
![]() | |
template<typename Type > | |
bool | isType () const |
virtual | ~ISubWidgetRect () |
![]() | |
template<typename Type > | |
bool | isType () const |
ISubWidget () | |
virtual | ~ISubWidget () |
virtual void | setAlign (Align _value) |
virtual void | doManualRender (IVertexBuffer *_buffer, ITexture *_texture, size_t _count) |
![]() | |
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 |
![]() | |
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 () | |
virtual | ~IObject () |
Static Public Member Functions | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
![]() | |
static const std::string & | getClassTypeName () |
Protected Member Functions | |
void | _rebuildGeometry () |
FloatPoint | _getPerpendicular (const FloatPoint &_point1, const FloatPoint &_point2) |
FloatPoint | _getMiddleLine (const FloatPoint &_point1, const FloatPoint &_point2, const FloatPoint &_point3) |
![]() | |
bool | _checkMargin () |
bool | _checkOutside () const |
Additional Inherited Members | |
![]() | |
Align | mAlign |
bool | mVisible |
![]() | |
IntRect | mMargin |
IntCoord | mCoord |
IntPoint | mAbsolutePosition |
bool | mIsMargin |
ICroppedRectangle * | mCroppedParent |
Definition at line 33 of file MyGUI_PolygonalSkin.h.
typedef RTTIBase MyGUI::PolygonalSkin::Base |
Definition at line 36 of file MyGUI_PolygonalSkin.h.
Definition at line 36 of file MyGUI_PolygonalSkin.h.
MyGUI::PolygonalSkin::PolygonalSkin | ( | ) |
Definition at line 32 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Definition at line 45 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 128 of file MyGUI_PolygonalSkin.cpp.
|
protected |
Definition at line 509 of file MyGUI_PolygonalSkin.cpp.
|
protected |
Definition at line 496 of file MyGUI_PolygonalSkin.cpp.
|
protected |
Definition at line 298 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 136 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 273 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 288 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 189 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 229 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 238 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Implements MyGUI::ISubWidget.
Definition at line 247 of file MyGUI_PolygonalSkin.cpp.
|
inlinestatic |
Definition at line 36 of file MyGUI_PolygonalSkin.h.
|
inlinevirtual |
Get type name as string
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 36 of file MyGUI_PolygonalSkin.h.
|
inline |
Compare with selected type
Definition at line 36 of file MyGUI_PolygonalSkin.h.
|
inlinevirtual |
Compare with selected type
Reimplemented from MyGUI::ISubWidgetRect.
Definition at line 36 of file MyGUI_PolygonalSkin.h.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 119 of file MyGUI_PolygonalSkin.cpp.
void MyGUI::PolygonalSkin::setPoints | ( | const std::vector< FloatPoint > & | _points | ) |
Set line points.
Definition at line 54 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 283 of file MyGUI_PolygonalSkin.cpp.
|
virtual |
Reimplemented from MyGUI::ISubWidget.
Definition at line 107 of file MyGUI_PolygonalSkin.cpp.
void MyGUI::PolygonalSkin::setWidth | ( | float | _width | ) |
Set line width in pixels.
Definition at line 101 of file MyGUI_PolygonalSkin.cpp.