Simulant  21.12-574
A portable game engine for Windows, OSX, Linux, Dreamcast, and PSP
Public Attributes | List of all members
smlt::ui::WidgetStyle Struct Reference

Public Attributes

uint8_t active_layers_ = ~0
UInt4 padding_ = {Px(), Px(), Px(), Px()}
Px border_radius_ = Px(0)
Px border_width_ = Px(1)
PackedColour4444 border_colour_ = Colour::BLACK
TextAlignment text_alignment_ = TEXT_ALIGNMENT_CENTER
OverflowType overflow_ = OVERFLOW_TYPE_AUTO
TexturePtr background_image_
ImageRect background_image_rect_
TexturePtr foreground_image_
ImageRect foreground_image_rect_
PackedColour4444 background_colour_ = Colour::WHITE
PackedColour4444 foreground_colour_ = Colour::NONE
PackedColour4444 text_colour_ = Colour::BLACK
float opacity_ = 1.0f
MaterialPtr materials_ [3] = {nullptr, nullptr, nullptr}

The documentation for this struct was generated from the following file: