KiCad PCB EDA Suite
Loading...
Searching...
No Matches
builtin_color_themes.h File Reference

Go to the source code of this file.

Macros

#define CSS_COLOR(r, g, b, a)   COLOR4D().FromCSSRGBA( r, g, b, a )
 

Variables

static const std::map< int, COLOR4D > s_defaultTheme
 
static const std::vector< COLOR4D > s_copperColors
 
static const std::vector< COLOR4D > s_userColors
 
static const std::map< int, COLOR4D > s_classicTheme
 

Macro Definition Documentation

◆ CSS_COLOR

#define CSS_COLOR (   r,
  g,
  b,
 
)    COLOR4D().FromCSSRGBA( r, g, b, a )

Definition at line 26 of file builtin_color_themes.h.

Variable Documentation

◆ s_classicTheme

const std::map<int, COLOR4D> s_classicTheme
static

Definition at line 307 of file builtin_color_themes.h.

Referenced by COLOR_SETTINGS::CreateBuiltinColorSettings().

◆ s_copperColors

const std::vector<COLOR4D> s_copperColors
static
Initial value:
=
{
{ CSS_COLOR( 237, 124, 51, 1 ) },
{ CSS_COLOR( 91, 195, 235, 1 ) },
{ CSS_COLOR( 247, 111, 142, 1 ) },
{ CSS_COLOR( 167, 165, 198, 1 ) },
{ CSS_COLOR( 40, 204, 217, 1 ) },
{ CSS_COLOR( 232, 178, 167, 1 ) },
{ CSS_COLOR( 242, 237, 161, 1 ) }
}
#define CSS_COLOR(r, g, b, a)

Definition at line 287 of file builtin_color_themes.h.

Referenced by COLOR_SETTINGS::GetDefaultColor().

◆ s_defaultTheme

const std::map<int, COLOR4D> s_defaultTheme
static

Definition at line 28 of file builtin_color_themes.h.

Referenced by COLOR_SETTINGS::COLOR_SETTINGS().

◆ s_userColors

const std::vector<COLOR4D> s_userColors
static
Initial value:
=
{
{ CSS_COLOR( 89, 148, 220, 1 ) },
{ CSS_COLOR( 180, 219, 210, 1 ) },
{ CSS_COLOR( 216, 200, 82, 1 ) },
{ CSS_COLOR( 194, 194, 194, 1 ) },
}

Definition at line 299 of file builtin_color_themes.h.

Referenced by COLOR_SETTINGS::GetDefaultColor().