106 Pgm().GetSettingsManager().SaveColorSettings( colors,
"3d_viewer" );
static CUSTOM_COLORS_LIST g_PasteColors
static CUSTOM_COLORS_LIST g_FinishColors
static KIGFX::COLOR4D g_DefaultBoardBody
static KIGFX::COLOR4D g_DefaultSolderMask
static CUSTOM_COLORS_LIST g_SilkscreenColors
static CUSTOM_COLORS_LIST g_MaskColors
static KIGFX::COLOR4D g_DefaultBackgroundTop
static KIGFX::COLOR4D g_DefaultSurfaceFinish
static KIGFX::COLOR4D g_DefaultSolderPaste
static CUSTOM_COLORS_LIST g_BoardColors
static KIGFX::COLOR4D g_DefaultSilkscreen
static KIGFX::COLOR4D g_DefaultBackgroundBot
Color settings are a bit different than most of the settings objects in that there can be more than o...
void SetColor(int aLayer, const COLOR4D &aColor)
void SetUseBoardStackupColors(bool aFlag)
COLOR4D GetColor(int aLayer) const
COLOR4D GetDefaultColor(int aLayer)
bool GetUseBoardStackupColors() const
void SetSwatchColor(const KIGFX::COLOR4D &aColor, bool aSendEvent)
Set the current swatch color directly.
void SetSupportsOpacity(bool aSupportsOpacity)
KIGFX::COLOR4D GetSwatchColor() const
void SetUserColors(CUSTOM_COLORS_LIST *aUserColors)
Fetch a reference to the user colors list.
void SetDefaultColor(const KIGFX::COLOR4D &aColor)
Sets the color that will be chosen with the "Reset to Default" button in the chooser.
Class PANEL_3D_COLORS_BASE.
COLOR_SWATCH * m_silkscreenBottom
COLOR_SWATCH * m_silkscreenTop
COLOR_SWATCH * m_backgroundTop
wxRadioButton * m_specificColorsRB
COLOR_SWATCH * m_boardBody
COLOR_SWATCH * m_solderMaskTop
wxRadioButton * m_boardStackupRB
COLOR_SWATCH * m_surfaceFinish
COLOR_SWATCH * m_backgroundBottom
COLOR_SWATCH * m_solderPaste
COLOR_SWATCH * m_solderMaskBottom
bool TransferDataToWindow() override
PANEL_3D_COLORS(wxWindow *aParent)
void ResetPanel() override
Reset the contents of this panel.
bool TransferDataFromWindow() override
@ LAYER_3D_SOLDERMASK_TOP
@ LAYER_3D_BACKGROUND_TOP
@ LAYER_3D_SOLDERMASK_BOTTOM
@ LAYER_3D_SILKSCREEN_TOP
@ LAYER_3D_BACKGROUND_BOTTOM
@ LAYER_3D_SILKSCREEN_BOTTOM
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.