KiCad PCB EDA Suite
Loading...
Searching...
No Matches
CUSTOM_COLOR_ITEM Struct Reference

A class to handle a custom color (predefined color) for the color picker dialog. More...

#include <dialog_color_picker.h>

Public Member Functions

 CUSTOM_COLOR_ITEM (double red, double green, double blue, const wxString &aName)
 
 CUSTOM_COLOR_ITEM (double red, double green, double blue, double alpha, const wxString &aName)
 
 CUSTOM_COLOR_ITEM (const KIGFX::COLOR4D &aColor, const wxString &aName)
 

Public Attributes

KIGFX::COLOR4D m_Color
 
wxString m_ColorName
 

Detailed Description

A class to handle a custom color (predefined color) for the color picker dialog.

Definition at line 33 of file dialog_color_picker.h.

Constructor & Destructor Documentation

◆ CUSTOM_COLOR_ITEM() [1/3]

CUSTOM_COLOR_ITEM::CUSTOM_COLOR_ITEM ( double  red,
double  green,
double  blue,
const wxString &  aName 
)
inline

◆ CUSTOM_COLOR_ITEM() [2/3]

CUSTOM_COLOR_ITEM::CUSTOM_COLOR_ITEM ( double  red,
double  green,
double  blue,
double  alpha,
const wxString &  aName 
)
inline

◆ CUSTOM_COLOR_ITEM() [3/3]

CUSTOM_COLOR_ITEM::CUSTOM_COLOR_ITEM ( const KIGFX::COLOR4D aColor,
const wxString &  aName 
)
inline

Definition at line 55 of file dialog_color_picker.h.

Member Data Documentation

◆ m_Color

KIGFX::COLOR4D CUSTOM_COLOR_ITEM::m_Color

◆ m_ColorName

wxString CUSTOM_COLOR_ITEM::m_ColorName

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