KiCad PCB EDA Suite
|
#include <panel_eeschema_color_settings.h>
Public Types | |
enum | COLOR_CONTEXT_ID { ID_COPY = wxID_HIGHEST + 1 , ID_PASTE , ID_REVERT } |
Public Member Functions | |
PANEL_EESCHEMA_COLOR_SETTINGS (wxWindow *aParent) | |
~PANEL_EESCHEMA_COLOR_SETTINGS () override | |
void | ResetPanel () override |
Reset the contents of this panel. More... | |
virtual wxString | GetResetTooltip () const override |
Get the tooltip the reset button should display when showing this panel. More... | |
bool | Show (bool show) override |
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... | |
Public Attributes | |
wxCheckBox * | m_optOverrideColors |
Protected Member Functions | |
bool | TransferDataFromWindow () override |
bool | TransferDataToWindow () override |
void | OnOverrideItemColorsClicked (wxCommandEvent &aEvent) override |
void | OnSize (wxSizeEvent &aEvent) override |
void | onNewThemeSelected () override |
Event fired when a new theme is selected that can be overridden in children. More... | |
void | onColorChanged () override |
Event fired when the user changes any color. More... | |
bool | validateSave (bool aQuiet=false) override |
Performs a pre-save validation of the current color theme. More... | |
bool | saveCurrentTheme (bool aValidate) override |
void | createSwatches () override |
void | OnBtnOpenThemeFolderClicked (wxCommandEvent &event) override |
void | OnLeftDownTheme (wxMouseEvent &event) override |
void | OnThemeChanged (wxCommandEvent &aEvent) override |
void | ShowColorContextMenu (wxMouseEvent &aEvent, int aLayer) |
void | OnColorChanged (wxCommandEvent &aEvent) |
void | updateSwatches () |
void | createThemeList (const wxString &aCurrent) |
Builds the theme listbox and sets the selection to the current theme. More... | |
void | createSwatch (int aLayer, const wxString &aName) |
void | updateColor (int aLayer, const KIGFX::COLOR4D &aColor) |
Protected Attributes | |
COLOR_SETTINGS * | m_currentSettings |
std::map< int, wxStaticText * > | m_labels |
std::map< int, COLOR_SWATCH * > | m_swatches |
KIGFX::COLOR4D | m_copied |
std::vector< int > | m_validLayers |
A list of layer IDs that are valid for the current color settings dialog. More... | |
int | m_backgroundLayer |
std::string | m_colorNamespace |
A namespace that will be passed to SETTINGS_MANAGER::SaveColorSettings. More... | |
wxBoxSizer * | m_mainSizer |
wxStaticText * | m_staticText9 |
wxChoice * | m_cbTheme |
wxButton * | m_btnOpenFolder |
wxStaticLine * | m_staticline2 |
wxBoxSizer * | m_colorsMainSizer |
wxScrolledWindow * | m_colorsListWindow |
wxFlexGridSizer * | m_colorsGridSizer |
wxBoxSizer * | m_previewPanelSizer |
Private Member Functions | |
void | createPreviewItems () |
void | updatePreview () |
void | zoomFitPreview () |
Private Attributes | |
SCH_PREVIEW_PANEL * | m_preview |
PAGE_INFO * | m_page |
TITLE_BLOCK * | m_titleBlock |
DS_PROXY_VIEW_ITEM * | m_drawingSheet |
std::vector< EDA_ITEM * > | m_previewItems |
KIGFX::GAL_DISPLAY_OPTIONS | m_galDisplayOptions |
EDA_DRAW_PANEL_GAL::GAL_TYPE | m_galType |
Definition at line 35 of file panel_eeschema_color_settings.h.
|
inherited |
Enumerator | |
---|---|
ID_COPY | |
ID_PASTE | |
ID_REVERT |
Definition at line 39 of file panel_color_settings.h.
PANEL_EESCHEMA_COLOR_SETTINGS::PANEL_EESCHEMA_COLOR_SETTINGS | ( | wxWindow * | aParent | ) |
Definition at line 57 of file panel_eeschema_color_settings.cpp.
References APP_SETTINGS_BASE::GRAPHICS::canvas_type, PANEL_COLOR_SETTINGS::createThemeList(), g_excludedLayers, SETTINGS_MANAGER::GetAppSettings(), SETTINGS_MANAGER::GetColorSettings(), LAYER_SCHEMATIC_BACKGROUND, PANEL_COLOR_SETTINGS::m_backgroundLayer, PANEL_COLOR_SETTINGS::m_colorNamespace, APP_SETTINGS_BASE::m_ColorTheme, PANEL_COLOR_SETTINGS::m_currentSettings, KIGFX::GAL_DISPLAY_OPTIONS::m_forceDisplayCursor, m_galDisplayOptions, m_galType, APP_SETTINGS_BASE::m_Graphics, PANEL_COLOR_SETTINGS_BASE::m_optOverrideColors, PANEL_COLOR_SETTINGS::m_validLayers, APP_SETTINGS_BASE::m_Window, Pgm(), KIGFX::GAL_DISPLAY_OPTIONS::ReadConfig(), SCH_LAYER_ID_END, and SCH_LAYER_ID_START.
|
override |
Definition at line 99 of file panel_eeschema_color_settings.cpp.
References PANEL_COLOR_SETTINGS::m_currentSettings, m_drawingSheet, m_page, m_previewItems, and m_titleBlock.
|
private |
Definition at line 236 of file panel_eeschema_color_settings.cpp.
References _, KIGFX::VIEW::Add(), LIB_SYMBOL::AddDrawItem(), LIB_SHAPE::AddPoint(), SCH_ITEM::AutoplaceFields(), SCH_SHEET::AutoplaceFields(), PAGE_INFO::Custom, FILLED_WITH_BG_BODYCOLOR, SCH_ITEM::GetEndPoints(), SCH_SHEET::GetFields(), LIB_SYMBOL::GetReferenceField(), SCH_LINE::GetStroke(), LIB_SYMBOL::GetValueField(), EDA_DRAW_PANEL_GAL::GetView(), GR_TEXT_H_ALIGN_LEFT, SCH_ITEM::IsConnectable(), IU_PER_MILS, LAYER_BUS, LAYER_NOTES, LAYER_SCHEMATIC_DRAWINGSHEET, LAYER_SCHEMATIC_PAGE_LIMITS, LAYER_WIRE, m_drawingSheet, m_page, m_preview, m_previewItems, m_titleBlock, MILS_POINT, pin, PIN_END, PIN_LEFT, PIN_RIGHT, POLY, PT_INPUT, PT_OUTPUT, DS_PROXY_VIEW_ITEM::SetColorLayer(), LIB_ITEM::SetConvert(), TITLE_BLOCK::SetDate(), SCH_LINE::SetEndPoint(), EDA_SHAPE::SetFillMode(), PAGE_INFO::SetHeightMils(), EDA_TEXT::SetHorizJustify(), SCH_LABEL_BASE::SetIsDangling(), SCH_ITEM::SetLayer(), DS_PROXY_VIEW_ITEM::SetPageBorderColorLayer(), LIB_SYMBOL::SetPinNameOffset(), STROKE_PARAMS::SetPlotStyle(), LIB_ITEM::SetPosition(), SCH_BUS_ENTRY_BASE::SetPosition(), SCH_NO_CONNECT::SetPosition(), EDA_ITEM::SetSelected(), LIB_SYMBOL::SetShowPinNames(), LIB_SYMBOL::SetShowPinNumbers(), SCH_LINE::SetStartPoint(), LIB_SHAPE::SetStroke(), SCH_LINE::SetStroke(), EDA_TEXT::SetText(), SCH_TEXT::SetTextSpinStyle(), SCH_GLOBALLABEL::SetTextSpinStyle(), SCH_HIERLABEL::SetTextSpinStyle(), TITLE_BLOCK::SetTitle(), LIB_ITEM::SetUnit(), STROKE_PARAMS::SetWidth(), PAGE_INFO::SetWidthMils(), SHEETFILENAME, SHEETNAME, SOLID, SCH_ITEM::UpdateDanglingState(), VECTOR2< T >::x, VECTOR2< T >::y, and zoomFitPreview().
Referenced by createSwatches().
|
protectedinherited |
Definition at line 239 of file panel_color_settings.cpp.
References color, FIRST_BUTTON_ID, COLOR_SETTINGS::GetColor(), COLOR_SETTINGS::GetDefaultColor(), PANEL_COLOR_SETTINGS::m_backgroundLayer, PANEL_COLOR_SETTINGS_BASE::m_cbTheme, PANEL_COLOR_SETTINGS_BASE::m_colorsGridSizer, PANEL_COLOR_SETTINGS_BASE::m_colorsListWindow, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS::m_labels, PANEL_COLOR_SETTINGS::m_swatches, PANEL_COLOR_SETTINGS::OnColorChanged(), PANEL_COLOR_SETTINGS::onNewThemeSelected(), PANEL_COLOR_SETTINGS::ShowColorContextMenu(), and SWATCH_MEDIUM.
Referenced by createSwatches(), PANEL_FP_EDITOR_COLOR_SETTINGS::createSwatches(), and PANEL_PCBNEW_COLOR_SETTINGS::createSwatches().
|
overrideprotectedvirtual |
Implements PANEL_COLOR_SETTINGS.
Definition at line 178 of file panel_eeschema_color_settings.cpp.
References _, createPreviewItems(), PANEL_COLOR_SETTINGS::createSwatch(), g_excludedLayers, EDA_DRAW_PANEL_GAL::GetGAL(), LAYER_SCHEMATIC_GRID_AXES, LayerName(), PANEL_COLOR_SETTINGS_BASE::m_colorsGridSizer, PANEL_COLOR_SETTINGS_BASE::m_colorsListWindow, PANEL_COLOR_SETTINGS_BASE::m_colorsMainSizer, m_galDisplayOptions, m_galType, m_preview, name, SCH_LAYER_ID_END, SCH_LAYER_ID_START, KIGFX::GAL::SetAxesEnabled(), EDA_DRAW_PANEL_GAL::SetStealsFocus(), updatePreview(), and zoomFitPreview().
|
protectedinherited |
Builds the theme listbox and sets the selection to the current theme.
aCurrent | is the filename of the current color theme (no extension) |
Definition at line 206 of file panel_color_settings.cpp.
References _, GetSettingsManager(), PANEL_COLOR_SETTINGS_BASE::m_cbTheme, name, and Pgm().
Referenced by PANEL_COLOR_SETTINGS::OnLeftDownTheme(), PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), and PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS().
|
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().
|
inlineoverridevirtualinherited |
Get the tooltip the reset button should display when showing this panel.
Reimplemented from RESETTABLE_PANEL.
Definition at line 48 of file panel_color_settings.h.
References _.
|
overrideprotectedvirtualinherited |
Reimplemented from PANEL_COLOR_SETTINGS_BASE.
Definition at line 59 of file panel_color_settings.cpp.
References SETTINGS_MANAGER::GetColorSettingsPath(), and LaunchExternal().
|
overrideprotectedvirtual |
Event fired when the user changes any color.
Reimplemented from PANEL_COLOR_SETTINGS.
Definition at line 462 of file panel_eeschema_color_settings.cpp.
References updatePreview().
|
protectedinherited |
Definition at line 324 of file panel_color_settings.cpp.
References FIRST_BUTTON_ID, COLOR_SWATCH::GetSwatchColor(), and PANEL_COLOR_SETTINGS::updateColor().
Referenced by PANEL_COLOR_SETTINGS::createSwatch().
|
overrideprotectedvirtualinherited |
Reimplemented from PANEL_COLOR_SETTINGS_BASE.
Definition at line 103 of file panel_color_settings.cpp.
References PANEL_COLOR_SETTINGS::createThemeList(), JSON_SETTINGS::GetFilename(), and PANEL_COLOR_SETTINGS::m_currentSettings.
|
overrideprotectedvirtual |
Event fired when a new theme is selected that can be overridden in children.
Reimplemented from PANEL_COLOR_SETTINGS.
Definition at line 230 of file panel_eeschema_color_settings.cpp.
References updatePreview().
|
overrideprotectedvirtual |
Reimplemented from PANEL_COLOR_SETTINGS_BASE.
Definition at line 519 of file panel_eeschema_color_settings.cpp.
References COLOR_SETTINGS::GetOverrideSchItemColors(), LAYER_SHEET, LAYER_SHEET_BACKGROUND, PANEL_COLOR_SETTINGS_BASE::m_colorsGridSizer, PANEL_COLOR_SETTINGS_BASE::m_colorsListWindow, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS::m_labels, PANEL_COLOR_SETTINGS_BASE::m_optOverrideColors, PANEL_COLOR_SETTINGS::m_swatches, and COLOR_SETTINGS::SetOverrideSchItemColors().
|
overrideprotectedvirtual |
Reimplemented from PANEL_COLOR_SETTINGS_BASE.
Definition at line 512 of file panel_eeschema_color_settings.cpp.
References zoomFitPreview().
|
overrideprotectedvirtualinherited |
Reimplemented from PANEL_COLOR_SETTINGS_BASE.
Definition at line 112 of file panel_color_settings.cpp.
References _, SETTINGS_MANAGER::AddNewColorSettings(), COLOR_SETTINGS::GetColor(), SETTINGS_MANAGER::GetColorSettingsPath(), JSON_SETTINGS::GetFilename(), COLOR_SETTINGS::GetName(), COLOR_SETTINGS::GetOverrideSchItemColors(), SETTINGS_MANAGER::GetPathForSettingsFile(), PANEL_COLOR_SETTINGS_BASE::m_cbTheme, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS_BASE::m_optOverrideColors, PANEL_COLOR_SETTINGS::m_validLayers, PANEL_COLOR_SETTINGS::onNewThemeSelected(), Pgm(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), JSON_SETTINGS::SaveToFile(), COLOR_SETTINGS::SetColor(), COLOR_SETTINGS::SetName(), JSON_SETTINGS::SetReadOnly(), and PANEL_COLOR_SETTINGS::updateSwatches().
|
overridevirtual |
Reset the contents of this panel.
Reimplemented from PANEL_COLOR_SETTINGS.
Definition at line 468 of file panel_eeschema_color_settings.cpp.
References PANEL_COLOR_SETTINGS::ResetPanel(), and updatePreview().
|
overrideprotectedvirtual |
Reimplemented from PANEL_COLOR_SETTINGS.
Definition at line 157 of file panel_eeschema_color_settings.cpp.
References color, COLOR_SETTINGS::GetColor(), LAYER_SCHEMATIC_BACKGROUND, LAYER_SHEET_BACKGROUND, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS::m_validLayers, PANEL_COLOR_SETTINGS::saveCurrentTheme(), COLOR_SETTINGS::SetColor(), and WHITE.
Referenced by TransferDataFromWindow().
|
overrideinherited |
Definition at line 84 of file panel_color_settings.cpp.
References PANEL_COLOR_SETTINGS_BASE::m_cbTheme, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS::onNewThemeSelected(), and PANEL_COLOR_SETTINGS::updateSwatches().
|
protectedinherited |
Definition at line 279 of file panel_color_settings.cpp.
References _, AddMenuItem(), copy, COLOR_SETTINGS::GetColor(), PANEL_COLOR_SETTINGS::ID_COPY, PANEL_COLOR_SETTINGS::ID_PASTE, PANEL_COLOR_SETTINGS::ID_REVERT, JSON_SETTINGS::IsReadOnly(), KiBitmap(), PANEL_COLOR_SETTINGS_BASE::m_cbTheme, PANEL_COLOR_SETTINGS::m_copied, PANEL_COLOR_SETTINGS::m_currentSettings, paste, and undo.
Referenced by PANEL_COLOR_SETTINGS::createSwatch().
|
overrideprotected |
Definition at line 111 of file panel_eeschema_color_settings.cpp.
References SETTINGS_MANAGER::GetAppSettings(), JSON_SETTINGS::GetFilename(), APP_SETTINGS_BASE::m_ColorTheme, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS_BASE::m_optOverrideColors, Pgm(), saveCurrentTheme(), and COLOR_SETTINGS::SetOverrideSchItemColors().
|
overrideprotected |
Definition at line 126 of file panel_eeschema_color_settings.cpp.
References zoomFitPreview().
|
protectedinherited |
Definition at line 334 of file panel_color_settings.cpp.
References COLOR_SETTINGS::GetColor(), PANEL_COLOR_SETTINGS::m_backgroundLayer, PANEL_COLOR_SETTINGS::m_currentSettings, PANEL_COLOR_SETTINGS::m_swatches, PANEL_COLOR_SETTINGS::onColorChanged(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), and COLOR_SETTINGS::SetColor().
Referenced by PANEL_COLOR_SETTINGS::OnColorChanged().
|
private |
Definition at line 475 of file panel_eeschema_color_settings.cpp.
References KIGFX::COLOR, EDA_DRAW_PANEL_GAL::GetGAL(), KIGFX::VIEW::GetPainter(), KIGFX::PAINTER::GetSettings(), EDA_DRAW_PANEL_GAL::GetView(), KIGFX::SCH_RENDER_SETTINGS::LoadColors(), PANEL_COLOR_SETTINGS::m_currentSettings, m_preview, SCH_PREVIEW_PANEL::Refresh(), KIGFX::GAL::SetClearColor(), and KIGFX::VIEW::UpdateAllItems().
Referenced by createSwatches(), onColorChanged(), onNewThemeSelected(), and ResetPanel().
|
protectedinherited |
Definition at line 185 of file panel_color_settings.cpp.
References PANEL_COLOR_SETTINGS::createSwatches(), COLOR_SETTINGS::GetColor(), JSON_SETTINGS::IsReadOnly(), PANEL_COLOR_SETTINGS::m_backgroundLayer, PANEL_COLOR_SETTINGS::m_currentSettings, and PANEL_COLOR_SETTINGS::m_swatches.
Referenced by PANEL_COLOR_SETTINGS::OnThemeChanged(), and PANEL_COLOR_SETTINGS::Show().
|
overrideprotectedvirtual |
Performs a pre-save validation of the current color theme.
aQuiet | will suppress any warning output (prompt dialogs) |
Reimplemented from PANEL_COLOR_SETTINGS.
Definition at line 133 of file panel_eeschema_color_settings.cpp.
References _, COLOR_SETTINGS::GetColor(), LAYER_SCHEMATIC_BACKGROUND, LAYER_SHEET_BACKGROUND, PANEL_COLOR_SETTINGS::m_currentSettings, SCH_LAYER_ID_END, and SCH_LAYER_ID_START.
|
private |
Definition at line 492 of file panel_eeschema_color_settings.cpp.
References BOX2< Vec >::Centre(), EDA_DRAW_PANEL_GAL::ForceRefresh(), KIGFX::VIEW::GetScale(), EDA_DRAW_PANEL_GAL::GetView(), m_drawingSheet, m_galDisplayOptions, m_page, m_preview, KIGFX::GAL_DISPLAY_OPTIONS::m_scaleFactor, scale, KIGFX::VIEW::SetCenter(), KIGFX::VIEW::SetScale(), KIGFX::VIEW::ToWorld(), DS_PROXY_VIEW_ITEM::ViewBBox(), VECTOR2< T >::x, and VECTOR2< T >::y.
Referenced by createPreviewItems(), createSwatches(), OnSize(), and TransferDataToWindow().
|
protectedinherited |
Definition at line 116 of file panel_color_settings.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS::updateColor(), and PANEL_COLOR_SETTINGS::updateSwatches().
|
protectedinherited |
Definition at line 44 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE(), and PANEL_COLOR_SETTINGS_BASE::~PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
Definition at line 43 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), PANEL_COLOR_SETTINGS::createThemeList(), PANEL_COLOR_SETTINGS::OnThemeChanged(), PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE(), PANEL_COLOR_SETTINGS::Show(), PANEL_COLOR_SETTINGS::ShowColorContextMenu(), and PANEL_COLOR_SETTINGS_BASE::~PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
A namespace that will be passed to SETTINGS_MANAGER::SaveColorSettings.
This should be set to the appropriate namespace in the application-specific constructor
Definition at line 123 of file panel_color_settings.h.
Referenced by PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), and PANEL_COLOR_SETTINGS::saveCurrentTheme().
|
protectedinherited |
Definition at line 48 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), createSwatches(), OnOverrideItemColorsClicked(), and PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
Definition at line 47 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), createSwatches(), OnOverrideItemColorsClicked(), PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), and PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
Definition at line 46 of file panel_color_settings_base.h.
Referenced by createSwatches(), PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE(), and PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS().
|
protectedinherited |
Definition at line 105 of file panel_color_settings.h.
Referenced by PANEL_COLOR_SETTINGS::ShowColorContextMenu().
|
protectedinherited |
Definition at line 100 of file panel_color_settings.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), PANEL_FP_EDITOR_COLOR_SETTINGS::createSwatches(), PANEL_COLOR_SETTINGS::OnLeftDownTheme(), OnOverrideItemColorsClicked(), PANEL_COLOR_SETTINGS::OnThemeChanged(), PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS::ResetPanel(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), saveCurrentTheme(), PANEL_COLOR_SETTINGS::Show(), PANEL_COLOR_SETTINGS::ShowColorContextMenu(), TransferDataFromWindow(), PANEL_FP_EDITOR_COLOR_SETTINGS::TransferDataFromWindow(), PANEL_PCBNEW_COLOR_SETTINGS::TransferDataFromWindow(), PANEL_COLOR_SETTINGS::updateColor(), updatePreview(), PANEL_PCBNEW_COLOR_SETTINGS::updatePreview(), PANEL_COLOR_SETTINGS::updateSwatches(), validateSave(), ~PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::~PANEL_FP_EDITOR_COLOR_SETTINGS(), and PANEL_PCBNEW_COLOR_SETTINGS::~PANEL_PCBNEW_COLOR_SETTINGS().
|
private |
Definition at line 70 of file panel_eeschema_color_settings.h.
Referenced by createPreviewItems(), zoomFitPreview(), and ~PANEL_EESCHEMA_COLOR_SETTINGS().
|
private |
Definition at line 73 of file panel_eeschema_color_settings.h.
Referenced by createSwatches(), PANEL_EESCHEMA_COLOR_SETTINGS(), and zoomFitPreview().
|
private |
Definition at line 74 of file panel_eeschema_color_settings.h.
Referenced by createSwatches(), and PANEL_EESCHEMA_COLOR_SETTINGS().
|
protectedinherited |
Definition at line 102 of file panel_color_settings.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), and OnOverrideItemColorsClicked().
|
protectedinherited |
Definition at line 41 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE().
|
inherited |
Definition at line 60 of file panel_color_settings_base.h.
Referenced by OnOverrideItemColorsClicked(), PANEL_COLOR_SETTINGS::OnThemeChanged(), PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE(), PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), DIALOG_SHEET_PROPERTIES::TransferDataFromWindow(), TransferDataFromWindow(), and PANEL_COLOR_SETTINGS_BASE::~PANEL_COLOR_SETTINGS_BASE().
|
private |
Definition at line 68 of file panel_eeschema_color_settings.h.
Referenced by createPreviewItems(), zoomFitPreview(), and ~PANEL_EESCHEMA_COLOR_SETTINGS().
|
private |
Definition at line 67 of file panel_eeschema_color_settings.h.
Referenced by createPreviewItems(), createSwatches(), updatePreview(), and zoomFitPreview().
|
private |
Definition at line 71 of file panel_eeschema_color_settings.h.
Referenced by createPreviewItems(), and ~PANEL_EESCHEMA_COLOR_SETTINGS().
|
protectedinherited |
Definition at line 49 of file panel_color_settings_base.h.
Referenced by PANEL_PCBNEW_COLOR_SETTINGS::createSwatches(), and PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
Definition at line 45 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
Definition at line 42 of file panel_color_settings_base.h.
Referenced by PANEL_COLOR_SETTINGS_BASE::PANEL_COLOR_SETTINGS_BASE().
|
protectedinherited |
Definition at line 103 of file panel_color_settings.h.
Referenced by PANEL_COLOR_SETTINGS::createSwatch(), OnOverrideItemColorsClicked(), PANEL_COLOR_SETTINGS::ResetPanel(), PANEL_COLOR_SETTINGS::updateColor(), and PANEL_COLOR_SETTINGS::updateSwatches().
|
private |
Definition at line 69 of file panel_eeschema_color_settings.h.
Referenced by createPreviewItems(), and ~PANEL_EESCHEMA_COLOR_SETTINGS().
|
protectedinherited |
A list of layer IDs that are valid for the current color settings dialog.
Valid colors will be shown for editing and are the set of colors that actions like resetting to defaults will apply to.
This list must be filled in the application-specific color settings panel constructors.
Definition at line 115 of file panel_color_settings.h.
Referenced by PANEL_FP_EDITOR_COLOR_SETTINGS::createSwatches(), PANEL_PCBNEW_COLOR_SETTINGS::createSwatches(), PANEL_COLOR_SETTINGS::OnThemeChanged(), PANEL_EESCHEMA_COLOR_SETTINGS(), PANEL_FP_EDITOR_COLOR_SETTINGS::PANEL_FP_EDITOR_COLOR_SETTINGS(), PANEL_PCBNEW_COLOR_SETTINGS::PANEL_PCBNEW_COLOR_SETTINGS(), PANEL_COLOR_SETTINGS::saveCurrentTheme(), and saveCurrentTheme().