UTFWin::SporeStdDrawableImageInfo class

A structure that represents an state of a SporeStdDrawable.

Base classes

class ILayoutElement
This class represents an element that is part of a user interfaces.
class DefaultRefCounted
The default implementation of a reference counted class.

Public static variables

static const uint32_t TYPE

Constructors, destructors, conversion operators

SporeStdDrawableImageInfo(const SporeStdDrawableImageInfo& other)
~SporeStdDrawableImageInfo() virtual

Public functions

auto GetBackgroundImage() const -> Image*
void SetBackgroundImage(Image* pImage)
auto GetIconImage() const -> Image*
void SetIconImage(Image* pImage)
auto GetBackgroundColor() const -> Color
void SetBackgroundColor(Color color)
auto GetIconColor() const -> Color
void SetIconColor(Color color)
auto GetIconDrawMode() const -> IconDrawModes
void SetIconDrawMode(IconDrawModes mode)
auto GetStrokeMode() const -> ShadowModes
void SetStrokeMode(ShadowModes mode)
auto GetHaloMode() const -> ShadowModes
void SetHaloMode(ShadowModes mode)
auto GetBackgroundScale() const -> const Vector2&
void SetBackgroundScale(const Vector2& value)
auto GetBackgroundOffset() const -> const Vector2&
void SetBackgroundOffset(const Vector2& value)
auto GetIconScale() const -> const Vector2&
void SetIconScale(const Vector2& value)
auto GetIconOffset() const -> const Vector2&
void SetIconOffset(const Vector2& value)
auto GetStrokeShadow() const -> const OutlineFormat&
void SetStrokeShadow(const OutlineFormat& value)
auto GetHaloShadow() const -> const OutlineFormat&
void SetHaloShadow(const OutlineFormat& value)
auto func18h(int) -> bool virtual
auto func1Ch(int) -> bool virtual
auto AddRef() -> int override
auto Release() -> int override
auto Cast(uint32_t type) const -> void* override
void SetSerializer(Serializer& dst) override
auto GetProxyID() const -> uint32_t override
Returns the ID that identifies this type of element in a SPUI file.

Protected variables

intrusive_ptr<Image> mpBackgroundImage
intrusive_ptr<Image> mpIconImage
Color mBackgroundColor
Color mIconColor
IconDrawModes mIconDrawMode
ShadowModes mStrokeMode
ShadowModes mHaloMode
Vector2 mBackgroundScale
Vector2 mBackgroundOffset
Vector2 mIconScale
Vector2 mIconOffset
OutlineFormat mStrokeShadow
OutlineFormat mHaloShadow