Player12
An open source football management simulator
Loading...
Searching...
No Matches
ButtonStyle Struct Reference

Style configuration for buttons. More...

#include <button_manager.h>

Public Attributes

SDL_Color backgroundColor = {70, 70, 150, 255}
 
SDL_Color borderColor = {100, 100, 200, 255}
 
SDL_Color textColor = {255, 255, 255, 255}
 
SDL_Color hoverBackgroundColor = {90, 90, 170, 255}
 
SDL_Color hoverBorderColor = {120, 120, 220, 255}
 
SDL_Color selectedBackgroundColor = {120, 120, 220, 255}
 
SDL_Color selectedBorderColor = {150, 150, 250, 255}
 
bool hasBorder = true
 
int borderWidth = 1
 

Detailed Description

Style configuration for buttons.

Member Data Documentation

◆ backgroundColor

SDL_Color ButtonStyle::backgroundColor = {70, 70, 150, 255}

◆ borderColor

SDL_Color ButtonStyle::borderColor = {100, 100, 200, 255}

◆ borderWidth

int ButtonStyle::borderWidth = 1

◆ hasBorder

bool ButtonStyle::hasBorder = true

◆ hoverBackgroundColor

SDL_Color ButtonStyle::hoverBackgroundColor = {90, 90, 170, 255}

◆ hoverBorderColor

SDL_Color ButtonStyle::hoverBorderColor = {120, 120, 220, 255}

◆ selectedBackgroundColor

SDL_Color ButtonStyle::selectedBackgroundColor = {120, 120, 220, 255}

◆ selectedBorderColor

SDL_Color ButtonStyle::selectedBorderColor = {150, 150, 250, 255}

◆ textColor

SDL_Color ButtonStyle::textColor = {255, 255, 255, 255}

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