You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

32 lines
805 B

#ifndef __SDL_CORE_STYLE_TEMPLATE_HEADER__
#define __SDL_CORE_STYLE_TEMPLATE_HEADER__
#include <stdint.h>
typedef struct S_sdlColorStyle{
SDL_Color panelBG;
SDL_Color borderTOP;
SDL_Color borderBOTTOM;
SDL_Color borderLEFT;
SDL_Color borderRIGHT;
SDL_Color borderBODY;
SDL_Color body;
SDL_Color font;
SDL_Color disabledFont;
SDL_Color activeSelector;
SDL_Color passiveSelector;
} sdlColorStyle;
#define DEFAULT_COLOR_STYLE { \
{0x20, 0x20, 0x20, 0xFF}, \
{0xF0, 0xF0, 0xF0, 0xFF}, \
{0xF0, 0xF0, 0xF0, 0xFF}, \
{0xF0, 0xF0, 0xF0, 0xFF}, \
{0xF0, 0xF0, 0xF0, 0xFF}, \
{0xF0, 0xF0, 0xF0, 0xFF}, \
{0x70, 0x70, 0x70, 0xFF}, \
{0x0, 0x0, 0x0, 0xFF}, \
{0x10, 0x10, 0x10, 0xFF}, \
{0x10, 0x10, 0xF0, 0xFF}, \
{0x0, 0x0, 0x20, 0xFF} \
}
#endif