SDOM - Simple SDL Document Object Model
A lightweight, extensible Document Object Model for SDL-based applications.
Loading...
Searching...
No Matches
SDOM::TristateButton::InitStruct Struct Reference

#include <SDOM_TristateButton.hpp>

Inheritance diagram for SDOM::TristateButton::InitStruct:
SDOM::IDisplayObject::InitStruct SDOM::CheckButton::InitStruct SDOM::RadioButton::InitStruct

Public Member Functions

 InitStruct ()
 

Public Attributes

std::string text = TypeName
 
int font_size = 8
 
SDL_Color label_color = {0, 255, 255, 255}
 
SDL_Color border_color = {0, 0, 0, 128}
 
ButtonState state = ButtonState::Unchecked
 
std::string icon_resource = "internal_icon_8x8"
 
int icon_width = 8
 
int icon_height = 8
 
std::string font_resource = "internal_font_8x8"
 
int font_width = 8
 
int font_height = 8
 
bool border = false
 
std::string name = TypeName
 
std::string type = TypeName
 
float x = 0.0f
 
float y = 0.0f
 
float width = 0.0f
 
float height = 0.0f
 
SDL_Color color = {255, 0, 255, 255}
 
SDL_Color foregroundColor = {255, 255, 255, 255}
 
SDL_Color backgroundColor = {255, 255, 255, 128}
 
SDL_Color borderColor = {0, 0, 0, 128}
 
SDL_Color outlineColor = {0, 0, 0, 255}
 
SDL_Color dropshadowColor = {0, 0, 0, 128}
 
AnchorPoint anchorTop = AnchorPoint::TOP_LEFT
 
AnchorPoint anchorLeft = AnchorPoint::TOP_LEFT
 
AnchorPoint anchorBottom = AnchorPoint::TOP_LEFT
 
AnchorPoint anchorRight = AnchorPoint::TOP_LEFT
 
int z_order = 0
 
int priority = 0
 
bool isClickable = true
 
bool isEnabled = true
 
bool isHidden = false
 
int tabPriority = 0
 
bool tabEnabled = false
 

Constructor & Destructor Documentation

◆ InitStruct()

SDOM::TristateButton::InitStruct::InitStruct ( )
inline

Member Data Documentation

◆ anchorBottom

AnchorPoint SDOM::IDisplayObject::InitStruct::anchorBottom = AnchorPoint::TOP_LEFT
inherited

◆ anchorLeft

AnchorPoint SDOM::IDisplayObject::InitStruct::anchorLeft = AnchorPoint::TOP_LEFT
inherited

◆ anchorRight

AnchorPoint SDOM::IDisplayObject::InitStruct::anchorRight = AnchorPoint::TOP_LEFT
inherited

◆ anchorTop

AnchorPoint SDOM::IDisplayObject::InitStruct::anchorTop = AnchorPoint::TOP_LEFT
inherited

◆ backgroundColor

SDL_Color SDOM::IDisplayObject::InitStruct::backgroundColor = {255, 255, 255, 128}
inherited

◆ border

bool SDOM::TristateButton::InitStruct::border = false

◆ border_color

SDL_Color SDOM::TristateButton::InitStruct::border_color = {0, 0, 0, 128}

◆ borderColor

SDL_Color SDOM::IDisplayObject::InitStruct::borderColor = {0, 0, 0, 128}
inherited

◆ color

SDL_Color SDOM::IDisplayObject::InitStruct::color = {255, 0, 255, 255}
inherited

◆ dropshadowColor

SDL_Color SDOM::IDisplayObject::InitStruct::dropshadowColor = {0, 0, 0, 128}
inherited

◆ font_height

int SDOM::TristateButton::InitStruct::font_height = 8

◆ font_resource

std::string SDOM::TristateButton::InitStruct::font_resource = "internal_font_8x8"

◆ font_size

int SDOM::TristateButton::InitStruct::font_size = 8

◆ font_width

int SDOM::TristateButton::InitStruct::font_width = 8

◆ foregroundColor

SDL_Color SDOM::IDisplayObject::InitStruct::foregroundColor = {255, 255, 255, 255}
inherited

◆ height

float SDOM::IDisplayObject::InitStruct::height = 0.0f
inherited

◆ icon_height

int SDOM::TristateButton::InitStruct::icon_height = 8

◆ icon_resource

std::string SDOM::TristateButton::InitStruct::icon_resource = "internal_icon_8x8"

◆ icon_width

int SDOM::TristateButton::InitStruct::icon_width = 8

◆ isClickable

bool SDOM::IDisplayObject::InitStruct::isClickable = true
inherited

◆ isEnabled

bool SDOM::IDisplayObject::InitStruct::isEnabled = true
inherited

◆ isHidden

bool SDOM::IDisplayObject::InitStruct::isHidden = false
inherited

◆ label_color

SDL_Color SDOM::TristateButton::InitStruct::label_color = {0, 255, 255, 255}

◆ name

std::string SDOM::IDisplayObject::InitStruct::name = TypeName
inherited

◆ outlineColor

SDL_Color SDOM::IDisplayObject::InitStruct::outlineColor = {0, 0, 0, 255}
inherited

◆ priority

int SDOM::IDisplayObject::InitStruct::priority = 0
inherited

◆ state

ButtonState SDOM::TristateButton::InitStruct::state = ButtonState::Unchecked

◆ tabEnabled

bool SDOM::IDisplayObject::InitStruct::tabEnabled = false
inherited

◆ tabPriority

int SDOM::IDisplayObject::InitStruct::tabPriority = 0
inherited

◆ text

std::string SDOM::TristateButton::InitStruct::text = TypeName

◆ type

std::string SDOM::IDisplayObject::InitStruct::type = TypeName
inherited

◆ width

float SDOM::IDisplayObject::InitStruct::width = 0.0f
inherited

◆ x

float SDOM::IDisplayObject::InitStruct::x = 0.0f
inherited

◆ y

float SDOM::IDisplayObject::InitStruct::y = 0.0f
inherited

◆ z_order

int SDOM::IDisplayObject::InitStruct::z_order = 0
inherited

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