KiCad PCB EDA Suite
|
#include <panel_3D_colors.h>
Public Member Functions | |
PANEL_3D_COLORS (wxWindow *aParent) | |
bool | TransferDataFromWindow () override |
bool | TransferDataToWindow () override |
void | ResetPanel () override |
Reset the contents of this panel. More... | |
virtual wxString | GetResetTooltip () const |
Get the tooltip the reset button should display when showing this panel. More... | |
wxString | GetHelpTextAtPoint (const wxPoint &aPt, wxHelpEvent::Origin aOrigin) const override |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }. More... | |
Protected Attributes | |
wxStaticText * | m_environmentLable |
wxStaticLine * | m_staticline1 |
wxStaticText * | backgroundTopLabel |
COLOR_SWATCH * | m_backgroundTop |
wxStaticText * | backgroundBotLabel |
COLOR_SWATCH * | m_backgroundBottom |
wxStaticText * | solderPasteLabel |
COLOR_SWATCH * | m_solderPaste |
wxStaticText * | m_boardColorsLabel |
wxStaticLine * | m_staticline2 |
wxRadioButton * | m_boardStackupRB |
wxRadioButton * | m_specificColorsRB |
wxStaticText * | silkscreenTopLabel |
COLOR_SWATCH * | m_silkscreenTop |
wxStaticText * | silkscreenBottomLabel |
COLOR_SWATCH * | m_silkscreenBottom |
wxStaticText * | solderMaskTopLabel |
COLOR_SWATCH * | m_solderMaskTop |
wxStaticText * | solderMaskBottomLabel |
COLOR_SWATCH * | m_solderMaskBottom |
wxStaticText * | surfaceFinishLabel |
COLOR_SWATCH * | m_surfaceFinish |
wxStaticText * | boardBodyLabel |
COLOR_SWATCH * | m_boardBody |
Definition at line 30 of file panel_3D_colors.h.
|
explicit |
Definition at line 30 of file panel_3D_colors.cpp.
References BOARD_ADAPTER::g_BoardColors, BOARD_ADAPTER::g_DefaultBackgroundBot, BOARD_ADAPTER::g_DefaultBackgroundTop, BOARD_ADAPTER::g_DefaultBoardBody, BOARD_ADAPTER::g_DefaultSilkscreen, BOARD_ADAPTER::g_DefaultSolderMask, BOARD_ADAPTER::g_DefaultSolderPaste, BOARD_ADAPTER::g_DefaultSurfaceFinish, BOARD_ADAPTER::g_FinishColors, BOARD_ADAPTER::g_MaskColors, BOARD_ADAPTER::g_PasteColors, BOARD_ADAPTER::g_SilkscreenColors, PANEL_3D_COLORS_BASE::m_backgroundBottom, PANEL_3D_COLORS_BASE::m_backgroundTop, PANEL_3D_COLORS_BASE::m_boardBody, PANEL_3D_COLORS_BASE::m_silkscreenBottom, PANEL_3D_COLORS_BASE::m_silkscreenTop, PANEL_3D_COLORS_BASE::m_solderMaskBottom, PANEL_3D_COLORS_BASE::m_solderMaskTop, PANEL_3D_COLORS_BASE::m_solderPaste, PANEL_3D_COLORS_BASE::m_surfaceFinish, COLOR_SWATCH::SetDefaultColor(), and COLOR_SWATCH::SetUserColors().
|
inlineoverrideinherited |
Overridden to supply the reset button tooltip when queried with { -INT_MAX, INT_MAX }.
Definition at line 72 of file resettable_panel.h.
References RESETTABLE_PANEL::GetResetTooltip().
|
inlinevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented in PANEL_COLOR_SETTINGS, and PANEL_HOTKEYS_EDITOR.
Definition at line 64 of file resettable_panel.h.
References _.
Referenced by RESETTABLE_PANEL::GetHelpTextAtPoint().
|
overridevirtual |
Reset the contents of this panel.
Implements RESETTABLE_PANEL.
Definition at line 112 of file panel_3D_colors.cpp.
References COLOR_SETTINGS::GetDefaultColor(), LAYER_3D_BACKGROUND_BOTTOM, LAYER_3D_BACKGROUND_TOP, LAYER_3D_BOARD, LAYER_3D_COPPER, LAYER_3D_SILKSCREEN_BOTTOM, LAYER_3D_SILKSCREEN_TOP, LAYER_3D_SOLDERMASK_BOTTOM, LAYER_3D_SOLDERMASK_TOP, LAYER_3D_SOLDERPASTE, PANEL_3D_COLORS_BASE::m_backgroundBottom, PANEL_3D_COLORS_BASE::m_backgroundTop, PANEL_3D_COLORS_BASE::m_boardBody, PANEL_3D_COLORS_BASE::m_boardStackupRB, PANEL_3D_COLORS_BASE::m_silkscreenBottom, PANEL_3D_COLORS_BASE::m_silkscreenTop, PANEL_3D_COLORS_BASE::m_solderMaskBottom, PANEL_3D_COLORS_BASE::m_solderMaskTop, PANEL_3D_COLORS_BASE::m_solderPaste, PANEL_3D_COLORS_BASE::m_surfaceFinish, Pgm(), and COLOR_SWATCH::SetSwatchColor().
|
override |
Definition at line 90 of file panel_3D_colors.cpp.
References COLOR_SWATCH::GetSwatchColor(), LAYER_3D_BACKGROUND_BOTTOM, LAYER_3D_BACKGROUND_TOP, LAYER_3D_BOARD, LAYER_3D_COPPER, LAYER_3D_SILKSCREEN_BOTTOM, LAYER_3D_SILKSCREEN_TOP, LAYER_3D_SOLDERMASK_BOTTOM, LAYER_3D_SOLDERMASK_TOP, LAYER_3D_SOLDERPASTE, PANEL_3D_COLORS_BASE::m_backgroundBottom, PANEL_3D_COLORS_BASE::m_backgroundTop, PANEL_3D_COLORS_BASE::m_boardBody, PANEL_3D_COLORS_BASE::m_boardStackupRB, PANEL_3D_COLORS_BASE::m_silkscreenBottom, PANEL_3D_COLORS_BASE::m_silkscreenTop, PANEL_3D_COLORS_BASE::m_solderMaskBottom, PANEL_3D_COLORS_BASE::m_solderMaskTop, PANEL_3D_COLORS_BASE::m_solderPaste, PANEL_3D_COLORS_BASE::m_surfaceFinish, Pgm(), COLOR_SETTINGS::SetColor(), and COLOR_SETTINGS::SetUseBoardStackupColors().
|
override |
Definition at line 57 of file panel_3D_colors.cpp.
References COLOR_SETTINGS::GetColor(), COLOR_SETTINGS::GetUseBoardStackupColors(), LAYER_3D_BACKGROUND_BOTTOM, LAYER_3D_BACKGROUND_TOP, LAYER_3D_BOARD, LAYER_3D_COPPER, LAYER_3D_SILKSCREEN_BOTTOM, LAYER_3D_SILKSCREEN_TOP, LAYER_3D_SOLDERMASK_BOTTOM, LAYER_3D_SOLDERMASK_TOP, LAYER_3D_SOLDERPASTE, PANEL_3D_COLORS_BASE::m_backgroundBottom, PANEL_3D_COLORS_BASE::m_backgroundTop, PANEL_3D_COLORS_BASE::m_boardBody, PANEL_3D_COLORS_BASE::m_boardStackupRB, PANEL_3D_COLORS_BASE::m_silkscreenBottom, PANEL_3D_COLORS_BASE::m_silkscreenTop, PANEL_3D_COLORS_BASE::m_solderMaskBottom, PANEL_3D_COLORS_BASE::m_solderMaskTop, PANEL_3D_COLORS_BASE::m_solderPaste, PANEL_3D_COLORS_BASE::m_specificColorsRB, PANEL_3D_COLORS_BASE::m_surfaceFinish, Pgm(), COLOR_SWATCH::SetSupportsOpacity(), and COLOR_SWATCH::SetSwatchColor().
|
protectedinherited |
Definition at line 42 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 40 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 60 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 41 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 61 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 46 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 48 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 38 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 53 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 51 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 57 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 55 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 45 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 49 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 39 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 59 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS(), PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE(), ResetPanel(), TransferDataFromWindow(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 52 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 50 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 56 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 54 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 44 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().
|
protectedinherited |
Definition at line 58 of file panel_3D_colors_base.h.
Referenced by PANEL_3D_COLORS_BASE::PANEL_3D_COLORS_BASE().