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

Protected variables

ImagePtr mpBackgroundImage
ImagePtr mpIconImage
Color mBackgroundColor
Color mIconColor
IconDrawModes mIconDrawMode
ShadowModes mStrokeMode
ShadowModes mHaloMode
Vector2 mBackgroundScale
Vector2 mBackgroundOffset
Vector2 mIconScale
Vector2 mIconOffset
OutlineFormat mStrokeShadow
OutlineFormat mHaloShadow