1.1-rc3
List of all members
Palette Class Reference

Color palette that contains a 2 dimensional array of colors. More...

enum  GroupId { normal = 1, active = 2, disabled = 3, checked = 4 }
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
enum  ColorId {
  bg = 1, text, text_highlight, cursor,
  border, button_bg, button_fg, button_text,
  label_bg, label_text
}
 The Pattern identifier in the Palette. More...
 
using PatternArray = FixedVector< std::pair< GroupId, FixedVector< std::pair< ColorId, Pattern >, 10 > >, 4 >
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color transparent = Color(0x00000000)
 Predefined color. More...
 
constexpr static Color aliceblue = Color::rgb(0xf0f8ff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color antiquewhite = Color::rgb(0xfaebd7)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color aqua = Color::rgb(0x00ffff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color aquamarine = Color::rgb(0x7fffd4)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color azure = Color::rgb(0xf0ffff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color beige = Color::rgb(0xf5f5dc)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color bisque = Color::rgb(0xffe4c4)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color black = Color::rgb(0x000000)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color blanchedalmond = Color::rgb(0xffebcd)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color blue = Color::rgb(0x0000ff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color blueviolet = Color::rgb(0x8a2be2)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color brown = Color::rgb(0xa52a2a)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color burlywood = Color::rgb(0xdeb887)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color cadetblue = Color::rgb(0x5f9ea0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color chartreuse = Color::rgb(0x7fff00)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color chocolate = Color::rgb(0xd2691e)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color coral = Color::rgb(0xff7f50)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color cornflowerblue = Color::rgb(0x6495ed)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color cornsilk = Color::rgb(0xfff8dc)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color crimson = Color::rgb(0xdc143c)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color cyan = Color::rgb(0x00ffff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkblue = Color::rgb(0x00008b)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkcyan = Color::rgb(0x008b8b)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkgoldenrod = Color::rgb(0xb8860b)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkgray = Color::rgb(0xa9a9a9)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkgreen = Color::rgb(0x006400)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkgrey = Color::rgb(0xa9a9a9)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkkhaki = Color::rgb(0xbdb76b)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkmagenta = Color::rgb(0x8b008b)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkolivegreen = Color::rgb(0x556b2f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkorange = Color::rgb(0xff8c00)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkorchid = Color::rgb(0x9932cc)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkred = Color::rgb(0x8b0000)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darksalmon = Color::rgb(0xe9967a)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkseagreen = Color::rgb(0x8fbc8f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkslateblue = Color::rgb(0x483d8b)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkslategray = Color::rgb(0x2f4f4f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkslategrey = Color::rgb(0x2f4f4f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkturquoise = Color::rgb(0x00ced1)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color darkviolet = Color::rgb(0x9400d3)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color deeppink = Color::rgb(0xff1493)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color deepskyblue = Color::rgb(0x00bfff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color dimgray = Color::rgb(0x696969)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color dimgrey = Color::rgb(0x696969)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color dodgerblue = Color::rgb(0x1e90ff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color firebrick = Color::rgb(0xb22222)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color floralwhite = Color::rgb(0xfffaf0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color forestgreen = Color::rgb(0x228b22)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color fuchsia = Color::rgb(0xff00ff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color gainsboro = Color::rgb(0xdcdcdc)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color ghostwhite = Color::rgb(0xf8f8ff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color gold = Color::rgb(0xffd700)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color goldenrod = Color::rgb(0xdaa520)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color gray = Color::rgb(0x808080)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color green = Color::rgb(0x008000)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color greenyellow = Color::rgb(0xadff2f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color grey = Color::rgb(0x808080)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color honeydew = Color::rgb(0xf0fff0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color hotpink = Color::rgb(0xff69b4)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color indianred = Color::rgb(0xcd5c5c)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color indigo = Color::rgb(0x4b0082)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color ivory = Color::rgb(0xfffff0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color khaki = Color::rgb(0xf0e68c)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lavender = Color::rgb(0xe6e6fa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lavenderblush = Color::rgb(0xfff0f5)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lawngreen = Color::rgb(0x7cfc00)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lemonchiffon = Color::rgb(0xfffacd)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightblue = Color::rgb(0xadd8e6)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightcoral = Color::rgb(0xf08080)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightcyan = Color::rgb(0xe0ffff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightgoldenrodyellow = Color::rgb(0xfafad2)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightgray = Color::rgb(0xd3d3d3)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightgreen = Color::rgb(0x90ee90)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightgrey = Color::rgb(0xd3d3d3)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightpink = Color::rgb(0xffb6c1)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightsalmon = Color::rgb(0xffa07a)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightseagreen = Color::rgb(0x20b2aa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightskyblue = Color::rgb(0x87cefa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightslategray = Color::rgb(0x778899)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightslategrey = Color::rgb(0x778899)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightsteelblue = Color::rgb(0xb0c4de)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lightyellow = Color::rgb(0xffffe0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color lime = Color::rgb(0x00ff00)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color limegreen = Color::rgb(0x32cd32)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color linen = Color::rgb(0xfaf0e6)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color magenta = Color::rgb(0xff00ff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color maroon = Color::rgb(0x800000)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumaquamarine = Color::rgb(0x66cdaa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumblue = Color::rgb(0x0000cd)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumorchid = Color::rgb(0xba55d3)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumpurple = Color::rgb(0x9370db)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumseagreen = Color::rgb(0x3cb371)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumslateblue = Color::rgb(0x7b68ee)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumspringgreen = Color::rgb(0x00fa9a)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumturquoise = Color::rgb(0x48d1cc)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mediumvioletred = Color::rgb(0xc71585)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color midnightblue = Color::rgb(0x191970)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mintcream = Color::rgb(0xf5fffa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color mistyrose = Color::rgb(0xffe4e1)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color moccasin = Color::rgb(0xffe4b5)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color navajowhite = Color::rgb(0xffdead)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color navy = Color::rgb(0x000080)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color oldlace = Color::rgb(0xfdf5e6)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color olive = Color::rgb(0x808000)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color olivedrab = Color::rgb(0x6b8e23)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color orange = Color::rgb(0xffa500)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color orangered = Color::rgb(0xff4500)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color orchid = Color::rgb(0xda70d6)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color palegoldenrod = Color::rgb(0xeee8aa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color palegreen = Color::rgb(0x98fb98)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color paleturquoise = Color::rgb(0xafeeee)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color palevioletred = Color::rgb(0xdb7093)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color papayawhip = Color::rgb(0xffefd5)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color peachpuff = Color::rgb(0xffdab9)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color peru = Color::rgb(0xcd853f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color pink = Color::rgb(0xffc0cb)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color plum = Color::rgb(0xdda0dd)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color powderblue = Color::rgb(0xb0e0e6)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color purple = Color::rgb(0x800080)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color red = Color::rgb(0xff0000)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color rosybrown = Color::rgb(0xbc8f8f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color royalblue = Color::rgb(0x4169e1)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color saddlebrown = Color::rgb(0x8b4513)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color salmon = Color::rgb(0xfa8072)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color sandybrown = Color::rgb(0xf4a460)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color seagreen = Color::rgb(0x2e8b57)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color seashell = Color::rgb(0xfff5ee)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color sienna = Color::rgb(0xa0522d)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color silver = Color::rgb(0xc0c0c0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color skyblue = Color::rgb(0x87ceeb)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color slateblue = Color::rgb(0x6a5acd)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color slategray = Color::rgb(0x708090)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color slategrey = Color::rgb(0x708090)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color snow = Color::rgb(0xfffafa)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color springgreen = Color::rgb(0x00ff7f)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color steelblue = Color::rgb(0x4682b4)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color tan = Color::rgb(0xd2b48c)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color teal = Color::rgb(0x008080)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color thistle = Color::rgb(0xd8bfd8)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color tomato = Color::rgb(0xff6347)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color turquoise = Color::rgb(0x40e0d0)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color violet = Color::rgb(0xee82ee)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color wheat = Color::rgb(0xf5deb3)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color white = Color::rgb(0xffffff)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color whitesmoke = Color::rgb(0xf5f5f5)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color yellow = Color::rgb(0xffff00)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr static Color yellowgreen = Color::rgb(0x9acd32)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
PatternArray m_colors {}
 Patterns in the palette. More...
 
 Palette ()=default
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
constexpr Palette (std::initializer_list< PatternArray::value_type > colors) noexcept
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
Paletteoperator= (const PatternArray &colors)
 Used to define a category of patterns that usually relate to the state of a widget. More...
 
const EGT_NODISCARD Patterncolor (ColorId id, GroupId group=GroupId::normal) const
 Get a color. More...
 
void set (ColorId id, GroupId group, const Pattern &color)
 Set a color in the Palette. More...
 
void set (ColorId id, const Pattern &color, GroupId group=GroupId::normal)
 Set a color in a Palette. More...
 
void clear (ColorId id, GroupId group=GroupId::normal)
 Remove a color from the Palette. More...
 
void clear ()
 Remove all colors from the Palette. More...
 
EGT_NODISCARD bool exists (ColorId id, GroupId group=GroupId::normal) const
 Check if a color exists in the palette. More...
 
EGT_NODISCARD bool exists (ColorId id, GroupId group, const Pattern **color) const
 Check if a color exists in the palette and get the color. More...
 
void serialize (const std::string &name, Serializer &serializer) const
 Serialize to the specified serializer. More...
 
void deserialize (const std::string &name, const std::string &value, const Serializer::Attributes &attrs)
 Deserialize. More...
 

Detailed Description

Color palette that contains a 2 dimensional array of colors.

The Palette defines a bank of colors, or complex patterns, used by the Theme, and ultimately widgets.

The palette manages a 2 dimensional array. The first dimension is the ColorId. The second dimension is the GroupId, which supports the capability for a ColorId to change based on the state of a Widget.

Member Typedef Documentation

◆ PatternArray

using PatternArray = FixedVector<std::pair<GroupId, FixedVector<std::pair<ColorId, Pattern>, 10> >, 4>

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

Member Enumeration Documentation

◆ ColorId

enum ColorId
strong

The Pattern identifier in the Palette.

See also
GroupId
Enumerator
bg 

General (Window, Frame) background color.

text 

Control (TextBox) text color.

text_highlight 

TextBox highlight color.

cursor 

TextBox cursor color.

border 

Border color.

button_bg 

Button background color.

button_fg 

Button foreground color.

button_text 

Button text color.

label_bg 

Label background color.

label_text 

Label text color.

◆ GroupId

enum GroupId
strong

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId
Enumerator
normal 

Default color group associated with a normal Widget state.

active 

Color group usually associated with the Widget::Flag::active flag.

disabled 

Color group usually associated with the Widget::Flag::disabled flag.

checked 

Checked state associated with buttons.

Constructor & Destructor Documentation

◆ Palette() [1/2]

Palette ( )
default

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ Palette() [2/2]

constexpr Palette ( std::initializer_list< PatternArray::value_type colors)
inlineexplicitconstexprnoexcept

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

Member Function Documentation

◆ clear() [1/2]

void clear ( )

Remove all colors from the Palette.

◆ clear() [2/2]

void clear ( ColorId  id,
GroupId  group = GroupId::normal 
)

Remove a color from the Palette.

Parameters
idColor id.
groupColor group.

◆ color()

const EGT_NODISCARD Pattern& color ( ColorId  id,
GroupId  group = GroupId::normal 
) const

Get a color.

Parameters
idColor id.
groupColor group.
Returns
The color or pattern.

◆ deserialize()

void deserialize ( const std::string &  name,
const std::string &  value,
const Serializer::Attributes attrs 
)

Deserialize.

◆ exists() [1/2]

EGT_NODISCARD bool exists ( ColorId  id,
GroupId  group,
const Pattern **  color 
) const

Check if a color exists in the palette and get the color.

Parameters
idColor id.
groupColor group.
colorThe color if found.
Returns
True if exists.

◆ exists() [2/2]

EGT_NODISCARD bool exists ( ColorId  id,
GroupId  group = GroupId::normal 
) const

Check if a color exists in the palette.

Parameters
idColor id.
groupColor group.
Returns
True if exists.

◆ operator=()

Palette& operator= ( const PatternArray colors)

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ serialize()

void serialize ( const std::string &  name,
Serializer serializer 
) const

Serialize to the specified serializer.

◆ set() [1/2]

void set ( ColorId  id,
const Pattern color,
GroupId  group = GroupId::normal 
)

Set a color in a Palette.

Parameters
idColor id.
colorThe color or pattern.
groupColor group.
Returns
Reference to the Palette instance.

◆ set() [2/2]

void set ( ColorId  id,
GroupId  group,
const Pattern color 
)

Set a color in the Palette.

Parameters
idColor id.
groupColor group.
colorThe color or pattern.
Returns
Reference to the Palette instance.

Member Data Documentation

◆ aliceblue

constexpr static Color aliceblue = Color::rgb(0xf0f8ff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ antiquewhite

constexpr static Color antiquewhite = Color::rgb(0xfaebd7)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ aqua

constexpr static Color aqua = Color::rgb(0x00ffff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ aquamarine

constexpr static Color aquamarine = Color::rgb(0x7fffd4)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ azure

constexpr static Color azure = Color::rgb(0xf0ffff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ beige

constexpr static Color beige = Color::rgb(0xf5f5dc)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ bisque

constexpr static Color bisque = Color::rgb(0xffe4c4)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ black

constexpr static Color black = Color::rgb(0x000000)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ blanchedalmond

constexpr static Color blanchedalmond = Color::rgb(0xffebcd)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ blue

constexpr static Color blue = Color::rgb(0x0000ff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ blueviolet

constexpr static Color blueviolet = Color::rgb(0x8a2be2)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ brown

constexpr static Color brown = Color::rgb(0xa52a2a)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ burlywood

constexpr static Color burlywood = Color::rgb(0xdeb887)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ cadetblue

constexpr static Color cadetblue = Color::rgb(0x5f9ea0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ chartreuse

constexpr static Color chartreuse = Color::rgb(0x7fff00)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ chocolate

constexpr static Color chocolate = Color::rgb(0xd2691e)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ coral

constexpr static Color coral = Color::rgb(0xff7f50)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ cornflowerblue

constexpr static Color cornflowerblue = Color::rgb(0x6495ed)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ cornsilk

constexpr static Color cornsilk = Color::rgb(0xfff8dc)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ crimson

constexpr static Color crimson = Color::rgb(0xdc143c)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ cyan

constexpr static Color cyan = Color::rgb(0x00ffff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkblue

constexpr static Color darkblue = Color::rgb(0x00008b)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkcyan

constexpr static Color darkcyan = Color::rgb(0x008b8b)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkgoldenrod

constexpr static Color darkgoldenrod = Color::rgb(0xb8860b)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkgray

constexpr static Color darkgray = Color::rgb(0xa9a9a9)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkgreen

constexpr static Color darkgreen = Color::rgb(0x006400)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkgrey

constexpr static Color darkgrey = Color::rgb(0xa9a9a9)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkkhaki

constexpr static Color darkkhaki = Color::rgb(0xbdb76b)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkmagenta

constexpr static Color darkmagenta = Color::rgb(0x8b008b)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkolivegreen

constexpr static Color darkolivegreen = Color::rgb(0x556b2f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkorange

constexpr static Color darkorange = Color::rgb(0xff8c00)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkorchid

constexpr static Color darkorchid = Color::rgb(0x9932cc)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkred

constexpr static Color darkred = Color::rgb(0x8b0000)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darksalmon

constexpr static Color darksalmon = Color::rgb(0xe9967a)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkseagreen

constexpr static Color darkseagreen = Color::rgb(0x8fbc8f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkslateblue

constexpr static Color darkslateblue = Color::rgb(0x483d8b)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkslategray

constexpr static Color darkslategray = Color::rgb(0x2f4f4f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkslategrey

constexpr static Color darkslategrey = Color::rgb(0x2f4f4f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkturquoise

constexpr static Color darkturquoise = Color::rgb(0x00ced1)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ darkviolet

constexpr static Color darkviolet = Color::rgb(0x9400d3)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ deeppink

constexpr static Color deeppink = Color::rgb(0xff1493)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ deepskyblue

constexpr static Color deepskyblue = Color::rgb(0x00bfff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ dimgray

constexpr static Color dimgray = Color::rgb(0x696969)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ dimgrey

constexpr static Color dimgrey = Color::rgb(0x696969)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ dodgerblue

constexpr static Color dodgerblue = Color::rgb(0x1e90ff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ firebrick

constexpr static Color firebrick = Color::rgb(0xb22222)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ floralwhite

constexpr static Color floralwhite = Color::rgb(0xfffaf0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ forestgreen

constexpr static Color forestgreen = Color::rgb(0x228b22)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ fuchsia

constexpr static Color fuchsia = Color::rgb(0xff00ff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ gainsboro

constexpr static Color gainsboro = Color::rgb(0xdcdcdc)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ ghostwhite

constexpr static Color ghostwhite = Color::rgb(0xf8f8ff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ gold

constexpr static Color gold = Color::rgb(0xffd700)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ goldenrod

constexpr static Color goldenrod = Color::rgb(0xdaa520)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ gray

constexpr static Color gray = Color::rgb(0x808080)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ green

constexpr static Color green = Color::rgb(0x008000)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ greenyellow

constexpr static Color greenyellow = Color::rgb(0xadff2f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ grey

constexpr static Color grey = Color::rgb(0x808080)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ honeydew

constexpr static Color honeydew = Color::rgb(0xf0fff0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ hotpink

constexpr static Color hotpink = Color::rgb(0xff69b4)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ indianred

constexpr static Color indianred = Color::rgb(0xcd5c5c)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ indigo

constexpr static Color indigo = Color::rgb(0x4b0082)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ ivory

constexpr static Color ivory = Color::rgb(0xfffff0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ khaki

constexpr static Color khaki = Color::rgb(0xf0e68c)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lavender

constexpr static Color lavender = Color::rgb(0xe6e6fa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lavenderblush

constexpr static Color lavenderblush = Color::rgb(0xfff0f5)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lawngreen

constexpr static Color lawngreen = Color::rgb(0x7cfc00)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lemonchiffon

constexpr static Color lemonchiffon = Color::rgb(0xfffacd)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightblue

constexpr static Color lightblue = Color::rgb(0xadd8e6)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightcoral

constexpr static Color lightcoral = Color::rgb(0xf08080)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightcyan

constexpr static Color lightcyan = Color::rgb(0xe0ffff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightgoldenrodyellow

constexpr static Color lightgoldenrodyellow = Color::rgb(0xfafad2)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightgray

constexpr static Color lightgray = Color::rgb(0xd3d3d3)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightgreen

constexpr static Color lightgreen = Color::rgb(0x90ee90)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightgrey

constexpr static Color lightgrey = Color::rgb(0xd3d3d3)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightpink

constexpr static Color lightpink = Color::rgb(0xffb6c1)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightsalmon

constexpr static Color lightsalmon = Color::rgb(0xffa07a)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightseagreen

constexpr static Color lightseagreen = Color::rgb(0x20b2aa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightskyblue

constexpr static Color lightskyblue = Color::rgb(0x87cefa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightslategray

constexpr static Color lightslategray = Color::rgb(0x778899)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightslategrey

constexpr static Color lightslategrey = Color::rgb(0x778899)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightsteelblue

constexpr static Color lightsteelblue = Color::rgb(0xb0c4de)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lightyellow

constexpr static Color lightyellow = Color::rgb(0xffffe0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ lime

constexpr static Color lime = Color::rgb(0x00ff00)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ limegreen

constexpr static Color limegreen = Color::rgb(0x32cd32)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ linen

constexpr static Color linen = Color::rgb(0xfaf0e6)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ m_colors

PatternArray m_colors {}
protected

Patterns in the palette.

◆ magenta

constexpr static Color magenta = Color::rgb(0xff00ff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ maroon

constexpr static Color maroon = Color::rgb(0x800000)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumaquamarine

constexpr static Color mediumaquamarine = Color::rgb(0x66cdaa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumblue

constexpr static Color mediumblue = Color::rgb(0x0000cd)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumorchid

constexpr static Color mediumorchid = Color::rgb(0xba55d3)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumpurple

constexpr static Color mediumpurple = Color::rgb(0x9370db)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumseagreen

constexpr static Color mediumseagreen = Color::rgb(0x3cb371)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumslateblue

constexpr static Color mediumslateblue = Color::rgb(0x7b68ee)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumspringgreen

constexpr static Color mediumspringgreen = Color::rgb(0x00fa9a)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumturquoise

constexpr static Color mediumturquoise = Color::rgb(0x48d1cc)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mediumvioletred

constexpr static Color mediumvioletred = Color::rgb(0xc71585)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ midnightblue

constexpr static Color midnightblue = Color::rgb(0x191970)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mintcream

constexpr static Color mintcream = Color::rgb(0xf5fffa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ mistyrose

constexpr static Color mistyrose = Color::rgb(0xffe4e1)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ moccasin

constexpr static Color moccasin = Color::rgb(0xffe4b5)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ navajowhite

constexpr static Color navajowhite = Color::rgb(0xffdead)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ navy

constexpr static Color navy = Color::rgb(0x000080)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ oldlace

constexpr static Color oldlace = Color::rgb(0xfdf5e6)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ olive

constexpr static Color olive = Color::rgb(0x808000)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ olivedrab

constexpr static Color olivedrab = Color::rgb(0x6b8e23)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ orange

constexpr static Color orange = Color::rgb(0xffa500)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ orangered

constexpr static Color orangered = Color::rgb(0xff4500)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ orchid

constexpr static Color orchid = Color::rgb(0xda70d6)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ palegoldenrod

constexpr static Color palegoldenrod = Color::rgb(0xeee8aa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ palegreen

constexpr static Color palegreen = Color::rgb(0x98fb98)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ paleturquoise

constexpr static Color paleturquoise = Color::rgb(0xafeeee)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ palevioletred

constexpr static Color palevioletred = Color::rgb(0xdb7093)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ papayawhip

constexpr static Color papayawhip = Color::rgb(0xffefd5)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ peachpuff

constexpr static Color peachpuff = Color::rgb(0xffdab9)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ peru

constexpr static Color peru = Color::rgb(0xcd853f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ pink

constexpr static Color pink = Color::rgb(0xffc0cb)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ plum

constexpr static Color plum = Color::rgb(0xdda0dd)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ powderblue

constexpr static Color powderblue = Color::rgb(0xb0e0e6)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ purple

constexpr static Color purple = Color::rgb(0x800080)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ red

constexpr static Color red = Color::rgb(0xff0000)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ rosybrown

constexpr static Color rosybrown = Color::rgb(0xbc8f8f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ royalblue

constexpr static Color royalblue = Color::rgb(0x4169e1)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ saddlebrown

constexpr static Color saddlebrown = Color::rgb(0x8b4513)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ salmon

constexpr static Color salmon = Color::rgb(0xfa8072)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ sandybrown

constexpr static Color sandybrown = Color::rgb(0xf4a460)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ seagreen

constexpr static Color seagreen = Color::rgb(0x2e8b57)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ seashell

constexpr static Color seashell = Color::rgb(0xfff5ee)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ sienna

constexpr static Color sienna = Color::rgb(0xa0522d)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ silver

constexpr static Color silver = Color::rgb(0xc0c0c0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ skyblue

constexpr static Color skyblue = Color::rgb(0x87ceeb)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ slateblue

constexpr static Color slateblue = Color::rgb(0x6a5acd)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ slategray

constexpr static Color slategray = Color::rgb(0x708090)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ slategrey

constexpr static Color slategrey = Color::rgb(0x708090)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ snow

constexpr static Color snow = Color::rgb(0xfffafa)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ springgreen

constexpr static Color springgreen = Color::rgb(0x00ff7f)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ steelblue

constexpr static Color steelblue = Color::rgb(0x4682b4)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ tan

constexpr static Color tan = Color::rgb(0xd2b48c)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ teal

constexpr static Color teal = Color::rgb(0x008080)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ thistle

constexpr static Color thistle = Color::rgb(0xd8bfd8)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ tomato

constexpr static Color tomato = Color::rgb(0xff6347)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ turquoise

constexpr static Color turquoise = Color::rgb(0x40e0d0)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ violet

constexpr static Color violet = Color::rgb(0xee82ee)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ wheat

constexpr static Color wheat = Color::rgb(0xf5deb3)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ white

constexpr static Color white = Color::rgb(0xffffff)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ whitesmoke

constexpr static Color whitesmoke = Color::rgb(0xf5f5f5)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ yellow

constexpr static Color yellow = Color::rgb(0xffff00)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId

◆ yellowgreen

constexpr static Color yellowgreen = Color::rgb(0x9acd32)
staticconstexpr

Used to define a category of patterns that usually relate to the state of a widget.

This allows the Palette to contain patterns like a background color, that can be different based on the state of the widget.

See also
ColorId