KiCad PCB EDA Suite
|
#include <appearance_controls.h>
Classes | |
struct | APPEARANCE_SETTING |
Container for an appearance setting (can control a single board layer, or GAL layer, etc) More... | |
Public Member Functions | |
APPEARANCE_CONTROLS (PCB_BASE_FRAME *aParent, wxWindow *aFocusOwner, bool aFpEditor=false) | |
~APPEARANCE_CONTROLS () | |
wxSize | GetBestSize () const |
Update the panel contents from the application and board models. | |
void | OnBoardChanged () |
void | OnBoardNetSettingsChanged (BOARD &aBoard) override |
void | OnBoardItemAdded (BOARD &aBoard, BOARD_ITEM *aItem) override |
void | OnBoardItemsAdded (BOARD &aBoard, std::vector< BOARD_ITEM * > &aItems) override |
void | OnBoardItemRemoved (BOARD &aBoard, BOARD_ITEM *aItem) override |
void | OnBoardItemsRemoved (BOARD &aBoard, std::vector< BOARD_ITEM * > &aItems) override |
void | OnBoardItemChanged (BOARD &aBoard, BOARD_ITEM *aItem) override |
void | OnBoardItemsChanged (BOARD &aBoard, std::vector< BOARD_ITEM * > &aItems) override |
void | OnBoardCompositeUpdate (BOARD &aBoard, std::vector< BOARD_ITEM * > &aAddedItems, std::vector< BOARD_ITEM * > &aRemovedItems, std::vector< BOARD_ITEM * > &aDeletedItems) override |
Update the colors on all the widgets from the new chosen color theme. | |
void | OnColorThemeChanged () |
Respond to change in OS's DarkMode. | |
void | OnDarkModeToggle () |
Update the widget when the active board layer is changed. | |
void | OnLayerChanged () |
void | OnNetVisibilityChanged (int aNetCode, bool aVisibility) |
Notifies the panel when a net has been hidden or shown via the external tool. | |
void | SetLayerVisible (int aLayer, bool isVisible) |
void | SetObjectVisible (GAL_LAYER_ID aLayer, bool isVisible=true) |
void | UpdateDisplayOptions () |
Return a list of the layer presets created by the user. | |
std::vector< LAYER_PRESET > | GetUserLayerPresets () const |
Update the current layer presets from those saved in the project file. | |
void | SetUserLayerPresets (std::vector< LAYER_PRESET > &aPresetList) |
void | ApplyLayerPreset (const wxString &aPresetName) |
void | ApplyLayerPreset (const LAYER_PRESET &aPreset) |
wxString | GetActiveLayerPreset () const |
const wxArrayString & | GetLayerPresetsMRU () |
Return a list of viewports created by the user. | |
std::vector< VIEWPORT > | GetUserViewports () const |
Update the current viewports from those saved in the project file. | |
void | SetUserViewports (std::vector< VIEWPORT > &aPresetList) |
void | ApplyViewport (const wxString &aPresetName) |
void | ApplyViewport (const VIEWPORT &aPreset) |
const wxArrayString & | GetViewportsMRU () |
void | OnColorSwatchChanged (wxCommandEvent &aEvent) |
void | OnLayerContextMenu (wxCommandEvent &aEvent) |
Return the index of the current tab (0-2). | |
int | GetTabIndex () const |
Set the current notebook tab. | |
void | SetTabIndex (int aTab) |
void | RefreshCollapsiblePanes () |
Function to force a redraw of the collapsible panes in this control. | |
bool | IsLayerOptionsExpanded () |
bool | IsNetOptionsExpanded () |
bool | IsTogglingNetclassRatsnestVisibility () |
bool | IsTogglingNetRatsnestVisibility () |
void | m_netsTabSplitterOnIdle (wxIdleEvent &) |
void | SetBorders (bool aLeft, bool aRight, bool aTop, bool aBottom) |
void | SetBorderColor (const KIGFX::COLOR4D &aColor) |
virtual void | OnBoardHighlightNetChanged (BOARD &aBoard) |
virtual void | OnBoardRatsnestChanged (BOARD &aBoard) |
Protected Member Functions | |
void | OnNotebookPageChanged (wxNotebookEvent &event) override |
void | OnSetFocus (wxFocusEvent &aEvent) override |
void | OnSize (wxSizeEvent &aEvent) override |
void | OnNetGridClick (wxGridEvent &event) override |
void | OnNetGridDoubleClick (wxGridEvent &event) override |
void | OnNetGridRightClick (wxGridEvent &event) override |
void | OnNetGridMouseEvent (wxMouseEvent &aEvent) |
void | OnLanguageChanged (wxCommandEvent &aEvent) |
Protected Attributes | |
wxBoxSizer * | m_sizerOuter |
wxNotebook * | m_notebook |
wxPanel * | m_panelLayers |
wxBoxSizer * | m_panelLayersSizer |
wxScrolledCanvas * | m_windowLayers |
wxPanel * | m_panelObjects |
wxBoxSizer * | m_objectsPanelSizer |
wxScrolledCanvas * | m_windowObjects |
wxPanel * | m_panelNetsAndClasses |
wxBoxSizer * | m_netsTabOuterSizer |
wxSplitterWindow * | m_netsTabSplitter |
wxPanel * | m_panelNets |
wxStaticText * | m_staticTextNets |
wxTextCtrl * | m_txtNetFilter |
BITMAP_BUTTON * | m_btnNetInspector |
WX_GRID * | m_netsGrid |
wxPanel * | m_panelNetclasses |
wxStaticText * | m_staticTextNetClasses |
BITMAP_BUTTON * | m_btnConfigureNetClasses |
wxScrolledWindow * | m_netclassScrolledWindow |
wxBoxSizer * | m_netclassOuterSizer |
wxStaticText * | m_presetsLabel |
wxChoice * | m_cbLayerPresets |
wxStaticText * | m_viewportsLabel |
wxChoice * | m_cbViewports |
Private Member Functions | |
void | createControls () |
void | rebuildLayers () |
void | rebuildLayerContextMenu () |
void | syncColorsAndVisibility () |
void | rebuildObjects () |
void | syncObjectSettings () |
void | buildNetClassMenu (wxMenu &aMenu, bool isDefaultClass, const wxString &aName) |
void | rebuildNets () |
void | loadDefaultLayerPresets () |
void | rebuildLayerPresetsWidget () |
void | syncLayerPresetSelection () |
void | rebuildViewportsWidget () |
void | onLayerLeftClick (wxMouseEvent &aEvent) |
void | rightClickHandler (wxMouseEvent &aEvent) |
void | onLayerVisibilityToggled (PCB_LAYER_ID aLayer) |
void | onObjectVisibilityChanged (GAL_LAYER_ID aLayer, bool isVisible, bool isFinal) |
void | setVisibleLayers (LSET aLayers) |
void | setVisibleObjects (GAL_SET aObjects) |
LSET | getVisibleLayers () |
GAL_SET | getVisibleObjects () |
void | onObjectOpacitySlider (int aLayer, float aOpacity) |
void | updateLayerPresetSelection (const wxString &aName) |
void | onLayerPresetChanged (wxCommandEvent &aEvent) override |
void | doApplyLayerPreset (const LAYER_PRESET &aPreset) |
void | updateViewportSelection (const wxString &aName) |
void | onViewportChanged (wxCommandEvent &aEvent) override |
void | doApplyViewport (const VIEWPORT &aViewport) |
void | onNetclassVisibilityChanged (wxCommandEvent &aEvent) |
void | showNetclass (const wxString &aClassName, bool aShow=true) |
void | onNetContextMenu (wxCommandEvent &aEvent) |
void | onNetclassColorChanged (wxCommandEvent &aEvent) |
wxString | netclassNameFromEvent (wxEvent &aEvent) |
void | onNetColorMode (wxCommandEvent &aEvent) |
void | onRatsnestMode (wxCommandEvent &aEvent) |
void | onNetclassContextMenu (wxCommandEvent &aEvent) |
void | handleBoardItemsChanged () |
void | passOnFocus () |
void | idleFocusHandler (wxIdleEvent &aEvent) |
void | onReadOnlySwatch () |
bool | doesBoardItemNeedRebuild (BOARD_ITEM *aBoardItem) |
bool | doesBoardItemNeedRebuild (std::vector< BOARD_ITEM * > &aBoardItems) |
void | OnPaint (wxPaintEvent &event) |
Static Private Attributes | |
static const APPEARANCE_SETTING | s_objectSettings [] |
Template for object appearance settings. | |
static LAYER_PRESET | presetNoLayers |
static LAYER_PRESET | presetAllLayers |
static LAYER_PRESET | presetAllCopper |
static LAYER_PRESET | presetInnerCopper |
static LAYER_PRESET | presetFront |
static LAYER_PRESET | presetFrontAssembly |
static LAYER_PRESET | presetBack |
static LAYER_PRESET | presetBackAssembly |
static LAYER_PRESET | m_lastBuiltinPreset |
Definition at line 142 of file appearance_controls.h.
|
private |
Definition at line 474 of file appearance_controls.h.
APPEARANCE_CONTROLS::APPEARANCE_CONTROLS | ( | PCB_BASE_FRAME * | aParent, |
wxWindow * | aFocusOwner, | ||
bool | aFpEditor = false |
||
) |
Definition at line 399 of file appearance_controls.cpp.
References _, PCBNEW_SETTINGS::AUI_PANELS::appearance_expand_layer_display, PCBNEW_SETTINGS::AUI_PANELS::appearance_expand_net_display, KIUI::c_IndicatorSizeDIP, NET_GRID_TABLE::COL_COLOR, NET_GRID_TABLE::COL_VISIBILITY, createControls(), WX_COLLAPSIBLE_PANE::Expand(), PCB_ACTIONS::flipBoard, PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetDisplayOptions(), KIUI::GetInfoFont(), PCB_BASE_FRAME::GetPcbNewSettings(), TOOLS_HOLDER::GetToolManager(), PCB_DRAW_PANEL_GAL::GetView(), ID_CHANGE_COLOR, ID_LAST_VALUE, EDA_DRAW_FRAME::IsGridVisible(), KIGFX::VIEW::IsMirroredX(), KeyNameFromKeyCode(), KiBitmapBundle(), LAYER_GRID, loadDefaultLayerPresets(), PCBNEW_SETTINGS::m_AuiPanels, APPEARANCE_CONTROLS_BASE::m_btnConfigureNetClasses, APPEARANCE_CONTROLS_BASE::m_btnNetInspector, m_cbFlipBoard, APPEARANCE_CONTROLS_BASE::m_cbLayerPresets, APPEARANCE_CONTROLS_BASE::m_cbViewports, PCB_DISPLAY_OPTIONS::m_ContrastModeDisplay, m_frame, m_iconProvider, m_isFpEditor, m_layerPanelColour, m_layersOuterSizer, APPEARANCE_CONTROLS_BASE::m_netclassScrolledWindow, APPEARANCE_CONTROLS_BASE::m_netsGrid, m_netsTable, APPEARANCE_CONTROLS_BASE::m_notebook, m_objectsOuterSizer, m_paneLayerDisplayOptions, APPEARANCE_CONTROLS_BASE::m_panelLayers, APPEARANCE_CONTROLS_BASE::m_panelNets, m_paneNetDisplayOptions, m_pointSize, APPEARANCE_CONTROLS_BASE::m_presetsLabel, m_rbHighContrastDim, m_rbHighContrastNormal, m_rbHighContrastOff, APPEARANCE_CONTROLS_BASE::m_staticTextNetClasses, APPEARANCE_CONTROLS_BASE::m_staticTextNets, m_toggleGridRenderer, APPEARANCE_CONTROLS_BASE::m_txtNetFilter, APPEARANCE_CONTROLS_BASE::m_viewportsLabel, APPEARANCE_CONTROLS_BASE::m_windowLayers, APPEARANCE_CONTROLS_BASE::m_windowObjects, OnBoardChanged(), OnLanguageChanged(), OnLayerContextMenu(), onLayerPresetChanged(), OnNetGridMouseEvent(), OnSetFocus(), passOnFocus(), PRESET_SWITCH_KEY, rebuildLayerPresetsWidget(), rebuildObjects(), TOOL_MANAGER::RunAction(), BITMAP_BUTTON::SetBitmap(), WX_PANEL::SetBorders(), WX_GRID::SetColLabelSize(), PCB_BASE_FRAME::SetDisplayOptions(), SetObjectVisible(), BITMAP_BUTTON::SetPadding(), WX_GRID::SetTable(), PCB_ACTIONS::showNetInspector, SWATCH_SIZE_SMALL_DU(), SWATCH_SMALL, syncLayerPresetSelection(), and VIEWPORT_SWITCH_KEY.
APPEARANCE_CONTROLS::~APPEARANCE_CONTROLS | ( | ) |
Definition at line 597 of file appearance_controls.cpp.
References m_frame, m_iconProvider, and OnLanguageChanged().
void APPEARANCE_CONTROLS::ApplyLayerPreset | ( | const LAYER_PRESET & | aPreset | ) |
Definition at line 1482 of file appearance_controls.cpp.
References doApplyLayerPreset(), m_currentPreset, m_lastSelectedUserPreset, m_layerPresets, LAYER_PRESET::name, LAYER_PRESET::readOnly, and updateLayerPresetSelection().
void APPEARANCE_CONTROLS::ApplyLayerPreset | ( | const wxString & | aPresetName | ) |
Definition at line 1473 of file appearance_controls.cpp.
References dummy, onLayerPresetChanged(), and updateLayerPresetSelection().
Referenced by PCB_EDIT_FRAME::onBoardLoaded(), OnLayerContextMenu(), and PCB_BASE_EDIT_FRAME::TryBefore().
void APPEARANCE_CONTROLS::ApplyViewport | ( | const VIEWPORT & | aPreset | ) |
Definition at line 1535 of file appearance_controls.cpp.
References doApplyViewport(), VIEWPORT::name, and updateViewportSelection().
void APPEARANCE_CONTROLS::ApplyViewport | ( | const wxString & | aPresetName | ) |
Definition at line 1526 of file appearance_controls.cpp.
References dummy, onViewportChanged(), and updateViewportSelection().
Referenced by PCB_BASE_EDIT_FRAME::TryBefore().
|
private |
Definition at line 2359 of file appearance_controls.cpp.
References _, PCB_BASE_FRAME::GetBoard(), BOARD::GetDesignSettings(), ID_CLEAR_NET_COLOR, ID_DESELECT_NET, ID_HIDE_OTHER_NETS, ID_HIGHLIGHT_NET, ID_SELECT_NET, ID_SET_NET_COLOR, ID_SHOW_ALL_NETS, ID_USE_SCHEMATIC_NET_COLOR, m_frame, BOARD_DESIGN_SETTINGS::m_NetSettings, name, onNetclassContextMenu(), UnescapeString(), and KIGFX::COLOR4D::UNSPECIFIED.
Referenced by rebuildNets().
|
private |
Definition at line 605 of file appearance_controls.cpp.
References _, WX_COLLAPSIBLE_PANE::Collapse(), TOOL_ACTION::GetHotKey(), KIUI::GetInfoFont(), WX_COLLAPSIBLE_PANE::GetPane(), ACTIONS::highContrastModeCycle, KeyNameFromKeyCode(), m_cbFlipBoard, m_inactiveLayersLabel, m_layerDisplaySeparator, APPEARANCE_CONTROLS_BASE::m_netsTabOuterSizer, APPEARANCE_CONTROLS_BASE::m_notebook, m_paneLayerDisplayOptions, APPEARANCE_CONTROLS_BASE::m_panelLayers, APPEARANCE_CONTROLS_BASE::m_panelLayersSizer, APPEARANCE_CONTROLS_BASE::m_panelNetsAndClasses, m_paneNetDisplayOptions, m_rbHighContrastDim, m_rbHighContrastNormal, m_rbHighContrastOff, m_rbNetColorAll, m_rbNetColorOff, m_rbNetColorRatsnest, m_rbRatsnestAllLayers, m_rbRatsnestNone, m_rbRatsnestVisLayers, APPEARANCE_CONTROLS_BASE::m_sizerOuter, m_txtNetDisplayTitle, m_txtRatsnestVisibility, PCB_ACTIONS::netColorModeCycle, onNetColorMode(), onRatsnestMode(), passOnFocus(), PCB_ACTIONS::ratsnestModeCycle, and WX_COLLAPSIBLE_PANE::SetBackgroundColour().
Referenced by APPEARANCE_CONTROLS().
|
private |
Definition at line 2835 of file appearance_controls.cpp.
References LAYER_PRESET::activeLayer, LSET::Contains(), LAYER_PRESET::flipBoard, PCB_BASE_FRAME::GetActiveLayer(), PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), BOARD_ITEM::GetLayerSet(), PCB_DRAW_PANEL_GAL::GetView(), KIGFX::VIEW::IsMirroredX(), KIGFX::VIEW::IsMirroredY(), LAYER_PRESET::layers, m_frame, m_isFpEditor, KIGFX::VIEW::RecacheAllItems(), EDA_DRAW_PANEL_GAL::Refresh(), LAYER_PRESET::renderLayers, LSET::Seq(), PCB_BASE_FRAME::SetActiveLayer(), KIGFX::VIEW::SetMirror(), setVisibleLayers(), setVisibleObjects(), syncColorsAndVisibility(), PCB_DRAW_PANEL_GAL::SyncLayersVisibility(), UNSELECTED_LAYER, and UpdateDisplayOptions().
Referenced by ApplyLayerPreset(), and onLayerPresetChanged().
|
private |
Definition at line 3010 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetCanvas(), PCB_DRAW_PANEL_GAL::GetView(), m_frame, VIEWPORT::rect, EDA_DRAW_PANEL_GAL::Refresh(), and KIGFX::VIEW::SetViewport().
Referenced by ApplyViewport(), and onViewportChanged().
|
private |
Definition at line 1097 of file appearance_controls.cpp.
References PCB_NETINFO_T, and EDA_ITEM::Type().
Referenced by OnBoardCompositeUpdate(), OnBoardItemAdded(), OnBoardItemChanged(), OnBoardItemRemoved(), OnBoardItemsAdded(), OnBoardItemsChanged(), and OnBoardItemsRemoved().
|
private |
Definition at line 1103 of file appearance_controls.cpp.
|
inline |
Definition at line 250 of file appearance_controls.h.
References m_currentPreset, and LAYER_PRESET::name.
Referenced by PCB_EDIT_FRAME::saveProjectSettings(), and FOOTPRINT_EDIT_FRAME::SaveSettings().
wxSize APPEARANCE_CONTROLS::GetBestSize | ( | ) | const |
Update the panel contents from the application and board models.
Definition at line 807 of file appearance_controls.cpp.
References DPI_SCALING_COMMON::GetScaleFactor(), and m_frame.
|
inline |
Return a list of viewports created by the user.
Definition at line 258 of file appearance_controls.h.
References m_presetMRU.
Referenced by PCB_BASE_EDIT_FRAME::TryBefore().
int APPEARANCE_CONTROLS::GetTabIndex | ( | ) | const |
Set the current notebook tab.
Definition at line 1969 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS_BASE::m_notebook.
Referenced by FOOTPRINT_EDIT_FRAME::SaveSettings(), and PCB_EDIT_FRAME::SaveSettings().
std::vector< LAYER_PRESET > APPEARANCE_CONTROLS::GetUserLayerPresets | ( | ) | const |
Update the current layer presets from those saved in the project file.
Definition at line 1425 of file appearance_controls.cpp.
References m_layerPresets.
Referenced by PCB_EDIT_FRAME::SaveProjectLocalSettings(), and FOOTPRINT_EDIT_FRAME::SaveSettings().
std::vector< VIEWPORT > APPEARANCE_CONTROLS::GetUserViewports | ( | ) | const |
Update the current viewports from those saved in the project file.
Definition at line 1497 of file appearance_controls.cpp.
References m_viewports.
Referenced by PCB_EDIT_FRAME::SaveProjectLocalSettings().
|
inline |
Definition at line 270 of file appearance_controls.h.
References m_viewportMRU.
Referenced by PCB_BASE_EDIT_FRAME::TryBefore().
|
private |
Definition at line 1348 of file appearance_controls.cpp.
References LSET::AllLayersMask(), PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PCB_DRAW_PANEL_GAL::GetView(), BOARD::GetVisibleLayers(), KIGFX::VIEW::IsLayerVisible(), m_frame, m_isFpEditor, and BASE_SET::set().
Referenced by OnLayerContextMenu(), onLayerPresetChanged(), onLayerVisibilityToggled(), rebuildLayers(), SetLayerVisible(), syncColorsAndVisibility(), and syncLayerPresetSelection().
|
private |
Definition at line 1367 of file appearance_controls.cpp.
References GAL_LAYER_ID_START, PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PCB_DRAW_PANEL_GAL::GetView(), BOARD::GetVisibleElements(), KIGFX::VIEW::IsLayerVisible(), m_frame, m_isFpEditor, and GAL_SET::set().
Referenced by OnLayerContextMenu(), onLayerPresetChanged(), onObjectVisibilityChanged(), rebuildObjects(), syncColorsAndVisibility(), syncLayerPresetSelection(), and syncObjectSettings().
|
private |
Definition at line 1170 of file appearance_controls.cpp.
References rebuildNets().
Referenced by OnBoardCompositeUpdate(), OnBoardItemAdded(), OnBoardItemChanged(), OnBoardItemRemoved(), OnBoardItemsAdded(), OnBoardItemsChanged(), OnBoardItemsRemoved(), and OnBoardNetSettingsChanged().
|
private |
Definition at line 851 of file appearance_controls.cpp.
References idleFocusHandler(), and passOnFocus().
Referenced by idleFocusHandler(), and OnNotebookPageChanged().
bool APPEARANCE_CONTROLS::IsLayerOptionsExpanded | ( | ) |
Definition at line 815 of file appearance_controls.cpp.
References WX_COLLAPSIBLE_PANE::IsExpanded(), and m_paneLayerDisplayOptions.
Referenced by PCB_EDIT_FRAME::SaveSettings().
bool APPEARANCE_CONTROLS::IsNetOptionsExpanded | ( | ) |
Definition at line 821 of file appearance_controls.cpp.
References WX_COLLAPSIBLE_PANE::IsExpanded(), and m_paneNetDisplayOptions.
Referenced by PCB_EDIT_FRAME::SaveSettings().
bool APPEARANCE_CONTROLS::IsTogglingNetclassRatsnestVisibility | ( | ) |
Definition at line 3454 of file appearance_controls.cpp.
References m_togglingNetclassRatsnestVisibility.
Referenced by BOARD_INSPECTION_TOOL::doHideRatsnestNet().
bool APPEARANCE_CONTROLS::IsTogglingNetRatsnestVisibility | ( | ) |
|
private |
Definition at line 1458 of file appearance_controls.cpp.
References m_layerPresets, presetAllCopper, presetAllLayers, presetBack, presetBackAssembly, presetFront, presetFrontAssembly, presetInnerCopper, and presetNoLayers.
Referenced by APPEARANCE_CONTROLS(), and SetUserLayerPresets().
|
inlineinherited |
Definition at line 89 of file appearance_controls_base.h.
References APPEARANCE_CONTROLS_BASE::m_netsTabSplitter, and APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle().
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle().
|
private |
Definition at line 3183 of file appearance_controls.cpp.
References m_netclassIdMap.
Referenced by onNetclassColorChanged(), and onNetclassVisibilityChanged().
void APPEARANCE_CONTROLS::OnBoardChanged | ( | ) |
Definition at line 1052 of file appearance_controls.cpp.
References BOARD::AddListener(), PCB_BASE_FRAME::GetBoard(), m_board, m_frame, rebuildLayerContextMenu(), rebuildLayerPresetsWidget(), rebuildLayers(), rebuildNets(), rebuildViewportsWidget(), Refresh(), syncColorsAndVisibility(), syncLayerPresetSelection(), syncObjectSettings(), and UpdateDisplayOptions().
Referenced by APPEARANCE_CONTROLS(), PCB_CONTROL::AppendBoard(), PCB_EDIT_FRAME::Clear_Pcb(), API_HANDLER_PCB::handleSetVisibleLayers(), PCB_EDIT_FRAME::onBoardLoaded(), FOOTPRINT_EDIT_FRAME::UpdateUserInterface(), and PCB_EDIT_FRAME::UpdateUserInterface().
|
overridevirtual |
Update the colors on all the widgets from the new chosen color theme.
Reimplemented from BOARD_LISTENER.
Definition at line 1157 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
inlinevirtualinherited |
Reimplemented in PCB_NET_INSPECTOR_PANEL, and PCB_SEARCH_PANE.
Definition at line 262 of file board.h.
Referenced by BOARD::HighLightON(), BOARD::ResetNetHighLight(), and BOARD::SetHighLightNet().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1115 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1143 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1129 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1122 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1150 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1136 of file appearance_controls.cpp.
References doesBoardItemNeedRebuild(), and handleBoardItemsChanged().
|
overridevirtual |
Reimplemented from BOARD_LISTENER.
Definition at line 1076 of file appearance_controls.cpp.
References handleBoardItemsChanged().
|
inlinevirtualinherited |
Reimplemented in PCB_SEARCH_PANE.
Definition at line 263 of file board.h.
Referenced by BOARD::OnRatsnestChanged().
void APPEARANCE_CONTROLS::OnColorSwatchChanged | ( | wxCommandEvent & | aEvent | ) |
Definition at line 3017 of file appearance_controls.cpp.
References FRAME_PCB_EDITOR, PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetColorSettings(), GetNetnameLayer(), EDA_BASE_FRAME::GetSettingsManager(), COLOR_SWATCH::GetSwatchColor(), PCB_DRAW_PANEL_GAL::GetView(), IsCopperLayer(), EDA_BASE_FRAME::IsType(), LAYER_PCB_BACKGROUND, m_frame, passOnFocus(), PCB_EDIT_FRAME::ReCreateLayerBox(), EDA_DRAW_PANEL_GAL::Refresh(), SETTINGS_MANAGER::SaveColorSettings(), COLOR_SETTINGS::SetColor(), PCB_BASE_FRAME::SetDrawBgColor(), PCB_DRAW_PANEL_GAL::UpdateColors(), KIGFX::VIEW::UpdateLayerColor(), and ZONE_LAYER_FOR.
Referenced by rebuildLayers(), and rebuildObjects().
void APPEARANCE_CONTROLS::OnColorThemeChanged | ( | ) |
Respond to change in OS's DarkMode.
Definition at line 1178 of file appearance_controls.cpp.
References syncColorsAndVisibility(), and syncObjectSettings().
Referenced by PCB_EDIT_FRAME::CommonSettingsChanged().
void APPEARANCE_CONTROLS::OnDarkModeToggle | ( | ) |
Update the widget when the active board layer is changed.
Definition at line 1185 of file appearance_controls.cpp.
References m_frame, m_layerPanelColour, m_layersOuterSizer, m_netclassSettingsMap, APPEARANCE_CONTROLS_BASE::m_netsGrid, APPEARANCE_CONTROLS_BASE::m_panelLayers, APPEARANCE_CONTROLS_BASE::m_windowLayers, OnLayerChanged(), and SWATCH_SMALL.
Referenced by PCB_BASE_EDIT_FRAME::onDarkModeToggle().
|
protected |
Definition at line 1023 of file appearance_controls.cpp.
References _, APPEARANCE_CONTROLS_BASE::m_notebook, rebuildLayerContextMenu(), rebuildLayerPresetsWidget(), rebuildLayers(), rebuildNets(), rebuildObjects(), rebuildViewportsWidget(), Refresh(), syncColorsAndVisibility(), syncLayerPresetSelection(), syncObjectSettings(), and UpdateDisplayOptions().
Referenced by APPEARANCE_CONTROLS(), and ~APPEARANCE_CONTROLS().
void APPEARANCE_CONTROLS::OnLayerChanged | ( | ) |
Definition at line 1219 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_indicator, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_panel, F_Cu, PCB_BASE_FRAME::GetActiveLayer(), m_frame, m_layerPanelColour, m_layerSettings, m_layerSettingsMap, ROW_ICON_PROVIDER::OFF, ROW_ICON_PROVIDER::ON, Refresh(), and INDICATOR_ICON::SetIndicatorState().
Referenced by OnDarkModeToggle(), FOOTPRINT_EDIT_FRAME::SetActiveLayer(), PCB_EDIT_FRAME::SetActiveLayer(), and syncColorsAndVisibility().
void APPEARANCE_CONTROLS::OnLayerContextMenu | ( | wxCommandEvent & | aEvent | ) |
Return the index of the current tab (0-2).
Definition at line 1876 of file appearance_controls.cpp.
References ApplyLayerPreset(), PCB_BASE_FRAME::GetActiveLayer(), PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), getVisibleLayers(), getVisibleObjects(), ID_HIDE_ALL_BUT_ACTIVE, ID_HIDE_ALL_COPPER_LAYERS, ID_HIDE_ALL_NON_COPPER, ID_PRESET_ALL_LAYERS, ID_PRESET_BACK, ID_PRESET_BACK_ASSEMBLY, ID_PRESET_FRONT, ID_PRESET_FRONT_ASSEMBLY, ID_PRESET_INNER_COPPER, ID_PRESET_NO_LAYERS, ID_SHOW_ALL_COPPER_LAYERS, ID_SHOW_ALL_NON_COPPER, LAYER_PRESET::layers, m_frame, m_isFpEditor, presetAllCopper, presetAllLayers, presetBack, presetBackAssembly, presetFront, presetFrontAssembly, presetInnerCopper, presetNoLayers, EDA_DRAW_PANEL_GAL::Refresh(), LAYER_PRESET::renderLayers, LSET::Seq(), PCB_BASE_FRAME::SetActiveLayer(), setVisibleLayers(), syncColorsAndVisibility(), syncLayerPresetSelection(), and PCB_DRAW_PANEL_GAL::SyncLayersVisibility().
Referenced by APPEARANCE_CONTROLS().
|
private |
Definition at line 2032 of file appearance_controls.cpp.
References LSET::ForbiddenFootprintLayers(), m_frame, m_isFpEditor, passOnFocus(), PCB_BASE_FRAME::SetActiveLayer(), and ToLAYER_ID().
Referenced by rebuildLayers().
|
overrideprivatevirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 2674 of file appearance_controls.cpp.
References _, doApplyLayerPreset(), LAYER_PRESET::flipBoard, EDA_LIST_DIALOG::GetTextSelection(), getVisibleLayers(), getVisibleObjects(), IsOK(), LAYER_PRESET::layers, m_cbFlipBoard, APPEARANCE_CONTROLS_BASE::m_cbLayerPresets, m_currentPreset, m_frame, m_lastBuiltinPreset, m_lastSelectedUserPreset, m_layerPresets, m_presetMRU, name, LAYER_PRESET::name, passOnFocus(), LAYER_PRESET::readOnly, LAYER_PRESET::renderLayers, EDA_LIST_DIALOG::SetListLabel(), DIALOG_SHIM::ShowModal(), and UNSELECTED_LAYER.
Referenced by APPEARANCE_CONTROLS(), and ApplyLayerPreset().
|
private |
Definition at line 2054 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetCanvas(), PCB_DRAW_PANEL_GAL::GetView(), getVisibleLayers(), m_frame, EDA_DRAW_PANEL_GAL::Refresh(), BASE_SET::set(), KIGFX::VIEW::SetLayerVisible(), setVisibleLayers(), and syncLayerPresetSelection().
Referenced by rebuildLayers().
|
private |
Definition at line 3165 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), BOARD::GetDesignSettings(), COLOR_SWATCH::GetSwatchColor(), PCB_DRAW_PANEL_GAL::GetView(), m_frame, BOARD_DESIGN_SETTINGS::m_NetSettings, netclassNameFromEvent(), PCB_DRAW_PANEL_GAL::RedrawRatsnest(), EDA_DRAW_PANEL_GAL::Refresh(), and KIGFX::VIEW::UpdateAllLayersColor().
Referenced by rebuildNets().
|
private |
Definition at line 3240 of file appearance_controls.cpp.
References color, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_color, NETCLASS::Default, PCB_ACTIONS::deselectNet, PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), BOARD::GetDesignSettings(), TOOL_ACTION::GetId(), NETINFO_ITEM::GetNetCode(), BOARD::GetNetInfo(), COLOR_SWATCH::GetNewSwatchColor(), KIGFX::VIEW::GetPainter(), KIGFX::PAINTER::GetSettings(), COLOR_SWATCH::GetSwatchColor(), TOOLS_HOLDER::GetToolManager(), PCB_DRAW_PANEL_GAL::GetView(), BOARD::HighLightON(), ID_CLEAR_NET_COLOR, ID_DESELECT_NET, ID_HIDE_OTHER_NETS, ID_HIGHLIGHT_NET, ID_SELECT_NET, ID_SET_NET_COLOR, ID_SHOW_ALL_NETS, ID_USE_SCHEMATIC_NET_COLOR, m_contextMenuNetclass, m_frame, m_netclassSettingsMap, BOARD_DESIGN_SETTINGS::m_NetSettings, name, PCB_DRAW_PANEL_GAL::RedrawRatsnest(), EDA_DRAW_PANEL_GAL::Refresh(), TOOL_MANAGER::RunAction(), PCB_ACTIONS::selectNet, KIGFX::RENDER_SETTINGS::SetHighlight(), BOARD::SetHighLightNet(), COLOR_SWATCH::SetSwatchColor(), showNetclass(), and KIGFX::VIEW::UpdateAllLayersColor().
Referenced by buildNetClassMenu().
|
private |
Definition at line 3123 of file appearance_controls.cpp.
References netclassNameFromEvent(), passOnFocus(), and showNetclass().
Referenced by rebuildNets().
|
private |
Definition at line 3193 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetDisplayOptions(), PCB_DRAW_PANEL_GAL::GetView(), m_frame, PCB_DISPLAY_OPTIONS::m_NetColorMode, m_rbNetColorAll, m_rbNetColorRatsnest, passOnFocus(), PCB_BASE_FRAME::SetDisplayOptions(), and KIGFX::VIEW::UpdateAllLayersColor().
Referenced by createControls().
|
private |
Definition at line 3070 of file appearance_controls.cpp.
References NET_GRID_ENTRY::code, NET_GRID_TABLE::COL_COLOR, PCB_ACTIONS::deselectNet, editor, PCB_BASE_FRAME::GetCanvas(), NET_GRID_TABLE::GetEntry(), TOOLS_HOLDER::GetToolManager(), NET_GRID_TABLE::HideOtherNets(), PCB_ACTIONS::highlightNet, ID_CLEAR_NET_COLOR, ID_DESELECT_NET, ID_HIDE_OTHER_NETS, ID_HIGHLIGHT_NET, ID_SELECT_NET, ID_SET_NET_COLOR, ID_SHOW_ALL_NETS, m_frame, APPEARANCE_CONTROLS_BASE::m_netsGrid, m_netsTable, passOnFocus(), EDA_DRAW_PANEL_GAL::Refresh(), TOOL_MANAGER::RunAction(), PCB_ACTIONS::selectNet, and NET_GRID_TABLE::ShowAllNets().
Referenced by OnNetGridRightClick().
|
overrideprotectedvirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 881 of file appearance_controls.cpp.
References NET_GRID_TABLE::COL_VISIBILITY, NET_GRID_TABLE::GetValueAsBool(), APPEARANCE_CONTROLS_BASE::m_netsGrid, m_netsTable, and NET_GRID_TABLE::SetValueAsBool().
|
overrideprotectedvirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 899 of file appearance_controls.cpp.
References NET_GRID_TABLE::COL_COLOR, and APPEARANCE_CONTROLS_BASE::m_netsGrid.
|
protected |
Definition at line 954 of file appearance_controls.cpp.
References _, NET_GRID_TABLE::COL_COLOR, NET_GRID_TABLE::COL_VISIBILITY, NET_GRID_TABLE::GetEntry(), m_hoveredCell, APPEARANCE_CONTROLS_BASE::m_netsGrid, m_netsTable, name, NET_GRID_ENTRY::name, and NET_GRID_ENTRY::visible.
Referenced by APPEARANCE_CONTROLS().
|
overrideprotectedvirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 916 of file appearance_controls.cpp.
References _, NET_GRID_TABLE::COL_LABEL, ID_CLEAR_NET_COLOR, ID_DESELECT_NET, ID_HIDE_OTHER_NETS, ID_HIGHLIGHT_NET, ID_SELECT_NET, ID_SET_NET_COLOR, ID_SHOW_ALL_NETS, APPEARANCE_CONTROLS_BASE::m_netsGrid, onNetContextMenu(), and UnescapeString().
void APPEARANCE_CONTROLS::OnNetVisibilityChanged | ( | int | aNetCode, |
bool | aVisibility | ||
) |
Notifies the panel when a net has been hidden or shown via the external tool.
Manually update visibility for a given layer
Definition at line 1082 of file appearance_controls.cpp.
References NET_GRID_TABLE::COL_VISIBILITY, NET_GRID_TABLE::GetRowByNetcode(), APPEARANCE_CONTROLS_BASE::m_netsGrid, m_netsTable, m_togglingNetclassRatsnestVisibility, and NET_GRID_TABLE::SetValueAsBool().
Referenced by BOARD_INSPECTION_TOOL::doHideRatsnestNet().
|
overrideprotectedvirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 827 of file appearance_controls.cpp.
References idleFocusHandler(), APPEARANCE_CONTROLS_BASE::m_notebook, APPEARANCE_CONTROLS_BASE::m_panelLayers, APPEARANCE_CONTROLS_BASE::m_panelNetsAndClasses, and APPEARANCE_CONTROLS_BASE::m_sizerOuter.
|
private |
Definition at line 3050 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetDisplayOptions(), LAYER_DRAW_BITMAPS, LAYER_PADS, LAYER_SHAPES, LAYER_TRACKS, LAYER_VIAS, LAYER_ZONES, PCB_DISPLAY_OPTIONS::m_FilledShapeOpacity, m_frame, PCB_DISPLAY_OPTIONS::m_ImageOpacity, PCB_DISPLAY_OPTIONS::m_PadOpacity, PCB_DISPLAY_OPTIONS::m_TrackOpacity, PCB_DISPLAY_OPTIONS::m_ViaOpacity, PCB_DISPLAY_OPTIONS::m_ZoneOpacity, passOnFocus(), and PCB_BASE_FRAME::SetDisplayOptions().
Referenced by rebuildObjects().
|
private |
Definition at line 2067 of file appearance_controls.cpp.
References GAL_SET::Contains(), FRAME_PCB_EDITOR, PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetPcbNewSettings(), PCB_DRAW_PANEL_GAL::GetView(), getVisibleObjects(), EDA_BASE_FRAME::IsType(), LAYER_FP_REFERENCES, LAYER_FP_TEXT, LAYER_FP_VALUES, LAYER_GRID, LAYER_RATSNEST, PCBNEW_SETTINGS::m_Display, m_frame, m_objectSettingsMap, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_ShowGlobalRatsnest, KIGFX::VIEW::MarkTargetDirty(), PCB_BASE_FRAME::OnDisplayOptionsChanged(), onObjectVisibilityChanged(), passOnFocus(), PCB_DRAW_PANEL_GAL::RedrawRatsnest(), EDA_DRAW_PANEL_GAL::Refresh(), GAL_SET::set(), BOARD::SetElementVisibility(), EDA_DRAW_FRAME::SetGridVisibility(), KIGFX::VIEW::SetLayerVisible(), setVisibleObjects(), syncLayerPresetSelection(), and KIGFX::TARGET_NONCACHED.
Referenced by onObjectVisibilityChanged(), and rebuildObjects().
|
privateinherited |
Definition at line 47 of file wx_panel.cpp.
References WX_PANEL::m_borderColor, WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, WX_PANEL::m_topBorder, KIGFX::COLOR4D::Mix(), KIGFX::COLOR4D::ToColour(), and KIGFX::COLOR4D::UNSPECIFIED.
Referenced by WX_PANEL::WX_PANEL(), and WX_PANEL::~WX_PANEL().
|
private |
Definition at line 3210 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetPcbNewSettings(), LAYER_RATSNEST, PCBNEW_SETTINGS::m_Display, m_frame, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_RatsnestMode, m_rbRatsnestAllLayers, m_rbRatsnestVisLayers, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_ShowGlobalRatsnest, and passOnFocus().
Referenced by createControls().
|
private |
Definition at line 3425 of file appearance_controls.cpp.
References _, WX_INFOBAR::AddButton(), WX_INFOBAR::AddCloseButton(), EDA_BASE_FRAME::GetInfoBar(), m_frame, WX_INFOBAR::RemoveAllButtons(), WX_INFOBAR::ShowMessageFor(), and EDA_BASE_FRAME::ShowPreferences().
Referenced by rebuildLayers(), and rebuildObjects().
|
overrideprotectedvirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 858 of file appearance_controls.cpp.
References passOnFocus().
Referenced by APPEARANCE_CONTROLS(), and rebuildObjects().
|
overrideprotectedvirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 875 of file appearance_controls.cpp.
|
overrideprivatevirtual |
Reimplemented from APPEARANCE_CONTROLS_BASE.
Definition at line 2909 of file appearance_controls.cpp.
References _, doApplyViewport(), PCB_BASE_FRAME::GetCanvas(), EDA_LIST_DIALOG::GetTextSelection(), PCB_DRAW_PANEL_GAL::GetView(), KIGFX::VIEW::GetViewport(), APPEARANCE_CONTROLS_BASE::m_cbViewports, m_frame, m_lastSelectedViewport, m_viewportMRU, m_viewports, name, VIEWPORT::name, passOnFocus(), EDA_LIST_DIALOG::SetListLabel(), and DIALOG_SHIM::ShowModal().
Referenced by ApplyViewport().
|
private |
Definition at line 3419 of file appearance_controls.cpp.
References m_focusOwner.
Referenced by APPEARANCE_CONTROLS(), createControls(), idleFocusHandler(), OnColorSwatchChanged(), onLayerLeftClick(), onLayerPresetChanged(), onNetclassVisibilityChanged(), onNetColorMode(), onNetContextMenu(), onObjectOpacitySlider(), onObjectVisibilityChanged(), onRatsnestMode(), OnSetFocus(), onViewportChanged(), and rightClickHandler().
|
private |
Definition at line 1817 of file appearance_controls.cpp.
References _, KIUI::AddMenuItem(), PCB_BASE_FRAME::GetBoard(), BOARD::GetCopperLayerCount(), ID_HIDE_ALL_BUT_ACTIVE, ID_HIDE_ALL_COPPER_LAYERS, ID_HIDE_ALL_NON_COPPER, ID_PRESET_ALL_LAYERS, ID_PRESET_BACK, ID_PRESET_BACK_ASSEMBLY, ID_PRESET_FRONT, ID_PRESET_FRONT_ASSEMBLY, ID_PRESET_INNER_COPPER, ID_PRESET_NO_LAYERS, ID_SHOW_ALL_COPPER_LAYERS, ID_SHOW_ALL_NON_COPPER, KiBitmap(), m_frame, and m_layerContextMenu.
Referenced by OnBoardChanged(), and OnLanguageChanged().
|
private |
Definition at line 2569 of file appearance_controls.cpp.
References _, KeyNameFromKeyCode(), APPEARANCE_CONTROLS_BASE::m_cbLayerPresets, m_currentPreset, m_layerPresets, m_presetMRU, APPEARANCE_CONTROLS_BASE::m_viewportsLabel, LAYER_PRESET::name, PRESET_SWITCH_KEY, and presetAllLayers.
Referenced by APPEARANCE_CONTROLS(), OnBoardChanged(), OnLanguageChanged(), and SetUserLayerPresets().
|
private |
Definition at line 1542 of file appearance_controls.cpp.
References _, _HKI, B_Adhes, B_CrtYd, B_Cu, B_Fab, B_Mask, B_Paste, B_SilkS, Cmts_User, LSET::CuStack(), Dwgs_User, Eco1_User, Eco2_User, Edge_Cuts, F_Adhes, F_CrtYd, F_Cu, F_Fab, F_Mask, F_Paste, F_SilkS, LSET::ForbiddenFootprintLayers(), PCB_BASE_FRAME::GetBoard(), COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), BOARD::GetEnabledLayers(), TOOL_ACTION::GetHotKey(), BOARD::GetLayerName(), getVisibleLayers(), ACTIONS::highContrastModeCycle, JSON_SETTINGS::IsReadOnly(), KeyNameFromKeyCode(), KiBitmapBundle(), LAYER_PCB_BACKGROUND, m_cbFlipBoard, m_frame, m_iconProvider, m_inactiveLayersLabel, m_isFpEditor, m_layerPanelColour, m_layerSettings, m_layerSettingsMap, m_layersOuterSizer, m_paneLayerDisplayOptions, APPEARANCE_CONTROLS_BASE::m_panelLayersSizer, m_rbHighContrastDim, m_rbHighContrastNormal, m_rbHighContrastOff, APPEARANCE_CONTROLS_BASE::m_windowLayers, Margin, ROW_ICON_PROVIDER::OFF, OnColorSwatchChanged(), onLayerLeftClick(), onLayerVisibilityToggled(), onReadOnlySwatch(), rightClickHandler(), WX_COLLAPSIBLE_PANE::SetLabel(), COLOR_SWATCH::SetReadOnly(), COLOR_SWATCH::SetReadOnlyCallback(), SWATCH_SMALL, User_1, User_2, User_3, User_4, User_5, User_6, User_7, User_8, and User_9.
Referenced by OnBoardChanged(), and OnLanguageChanged().
|
private |
Definition at line 2409 of file appearance_controls.cpp.
References _, buildNetClassMenu(), color, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_color, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_panel, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_text, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_visibility, PCB_BASE_FRAME::GetBoard(), COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), BOARD::GetDesignSettings(), TOOL_ACTION::GetHotKey(), PROJECT::GetLocalSettings(), BOARD::GetProject(), KeyNameFromKeyCode(), KiBitmapBundle(), LAYER_PCB_BACKGROUND, m_contextMenuNetclass, m_frame, PROJECT_LOCAL_SETTINGS::m_HiddenNetclasses, m_netclassIdMap, APPEARANCE_CONTROLS_BASE::m_netclassOuterSizer, APPEARANCE_CONTROLS_BASE::m_netclassScrolledWindow, m_netclassSettings, m_netclassSettingsMap, BOARD_DESIGN_SETTINGS::m_NetSettings, m_netsTable, APPEARANCE_CONTROLS_BASE::m_panelNets, m_paneNetDisplayOptions, m_rbNetColorAll, m_rbNetColorOff, m_rbNetColorRatsnest, m_rbRatsnestAllLayers, m_rbRatsnestNone, m_rbRatsnestVisLayers, APPEARANCE_CONTROLS_BASE::m_staticTextNetClasses, APPEARANCE_CONTROLS_BASE::m_staticTextNets, m_txtNetDisplayTitle, m_txtRatsnestVisibility, name, PCB_ACTIONS::netColorModeCycle, onNetclassColorChanged(), onNetclassVisibilityChanged(), KIWAY_HOLDER::Prj(), PCB_ACTIONS::ratsnestModeCycle, NET_GRID_TABLE::Rebuild(), WX_COLLAPSIBLE_PANE::SetLabel(), and SWATCH_SMALL.
Referenced by handleBoardItemsChanged(), OnBoardChanged(), and OnLanguageChanged().
|
private |
Definition at line 2143 of file appearance_controls.cpp.
References _, color, GAL_SET::Contains(), COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), COLOR_SETTINGS::GetDefaultColor(), getVisibleObjects(), KiBitmapBundle(), LAYER_PCB_BACKGROUND, m_frame, m_isFpEditor, m_objectSettings, m_objectSettingsMap, m_objectsOuterSizer, m_pointSize, APPEARANCE_CONTROLS_BASE::m_windowObjects, OnColorSwatchChanged(), onObjectOpacitySlider(), onObjectVisibilityChanged(), onReadOnlySwatch(), OnSetFocus(), s_allowedInFpEditor, s_objectSettings, COLOR_SWATCH::SetReadOnlyCallback(), SWATCH_SMALL, and ToGalLayer().
Referenced by APPEARANCE_CONTROLS(), and OnLanguageChanged().
|
private |
Definition at line 2873 of file appearance_controls.cpp.
References _, KeyNameFromKeyCode(), APPEARANCE_CONTROLS_BASE::m_cbViewports, m_lastSelectedViewport, m_viewports, APPEARANCE_CONTROLS_BASE::m_viewportsLabel, and VIEWPORT_SWITCH_KEY.
Referenced by OnBoardChanged(), OnLanguageChanged(), and SetUserViewports().
void APPEARANCE_CONTROLS::RefreshCollapsiblePanes | ( | ) |
Function to force a redraw of the collapsible panes in this control.
Definition at line 3448 of file appearance_controls.cpp.
References m_paneLayerDisplayOptions.
Referenced by PCB_BASE_EDIT_FRAME::handleActivateEvent().
|
private |
Definition at line 2046 of file appearance_controls.cpp.
References m_layerContextMenu, and passOnFocus().
Referenced by rebuildLayers().
|
inlineinherited |
Definition at line 47 of file wx_panel.h.
References WX_PANEL::m_borderColor.
Referenced by SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
|
inlineinherited |
Definition at line 39 of file wx_panel.h.
References WX_PANEL::m_bottomBorder, WX_PANEL::m_leftBorder, WX_PANEL::m_rightBorder, and WX_PANEL::m_topBorder.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_3D::APPEARANCE_CONTROLS_3D(), PAGED_DIALOG::PAGED_DIALOG(), PANEL_COLOR_SETTINGS::PANEL_COLOR_SETTINGS(), PANEL_PACKAGES_VIEW::PANEL_PACKAGES_VIEW(), PANEL_SCH_SELECTION_FILTER::PANEL_SCH_SELECTION_FILTER(), PANEL_SELECTION_FILTER::PANEL_SELECTION_FILTER(), PANEL_SETUP_BOARD_STACKUP::PANEL_SETUP_BOARD_STACKUP(), PANEL_SETUP_NETCLASSES::PANEL_SETUP_NETCLASSES(), and SYMBOL_TREE_SYNCHRONIZING_ADAPTER::ShowPreview().
void APPEARANCE_CONTROLS::SetLayerVisible | ( | int | aLayer, |
bool | isVisible | ||
) |
Definition at line 1261 of file appearance_controls.cpp.
References PCB_BASE_FRAME::GetCanvas(), PCB_DRAW_PANEL_GAL::GetView(), getVisibleLayers(), m_frame, BASE_SET::set(), KIGFX::VIEW::SetLayerVisible(), setVisibleLayers(), syncColorsAndVisibility(), and ToLAYER_ID().
Referenced by DRAWING_TOOL::drawArc(), DRAWING_TOOL::DrawDimension(), DRAWING_TOOL::drawOneBezier(), DRAWING_TOOL::drawShape(), DRAWING_TOOL::DrawTable(), DRAWING_TOOL::DrawZone(), DIALOG_DRC::OnDRCItemSelected(), DIALOG_FOOTPRINT_CHECKER::OnSelectItem(), ROUTER_TOOL::performRouting(), DRAWING_TOOL::PlaceImportedGraphics(), DRAWING_TOOL::PlaceText(), and ROUTER_TOOL::prepareInteractive().
void APPEARANCE_CONTROLS::SetObjectVisible | ( | GAL_LAYER_ID | aLayer, |
bool | isVisible = true |
||
) |
Definition at line 1278 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS::APPEARANCE_SETTING::can_control_visibility, APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_visibility, PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetPcbNewSettings(), PCB_DRAW_PANEL_GAL::GetView(), PCBNEW_SETTINGS::m_Display, m_frame, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_Live3DRefresh, m_objectSettingsMap, EDA_DRAW_PANEL_GAL::Refresh(), BOARD::SetElementVisibility(), KIGFX::VIEW::SetLayerVisible(), BITMAP_TOGGLE::SetValue(), and PCB_BASE_FRAME::Update3DView().
Referenced by APPEARANCE_CONTROLS(), PCB_BASE_EDIT_FRAME::SetGridVisibility(), and PCB_BASE_EDIT_FRAME::SetObjectVisible().
void APPEARANCE_CONTROLS::SetTabIndex | ( | int | aTab | ) |
Definition at line 1975 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS_BASE::m_notebook.
void APPEARANCE_CONTROLS::SetUserLayerPresets | ( | std::vector< LAYER_PRESET > & | aPresetList | ) |
Definition at line 1439 of file appearance_controls.cpp.
References loadDefaultLayerPresets(), m_layerPresets, m_presetMRU, and rebuildLayerPresetsWidget().
Referenced by PCB_EDIT_FRAME::LoadProjectSettings().
void APPEARANCE_CONTROLS::SetUserViewports | ( | std::vector< VIEWPORT > & | aPresetList | ) |
Definition at line 1508 of file appearance_controls.cpp.
References m_viewportMRU, m_viewports, and rebuildViewportsWidget().
Referenced by PCB_EDIT_FRAME::LoadProjectSettings().
|
private |
Definition at line 1297 of file appearance_controls.cpp.
References KIGFX::ALL, LSET::AllLayersMask(), LSET::Contains(), PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetPcbNewSettings(), PCB_DRAW_PANEL_GAL::GetView(), PCBNEW_SETTINGS::m_Display, m_frame, m_isFpEditor, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_Live3DRefresh, KIGFX::VIEW::SetLayerVisible(), BOARD::SetVisibleLayers(), PCB_BASE_FRAME::Update3DView(), and KIGFX::VIEW::UpdateAllItemsConditionally().
Referenced by doApplyLayerPreset(), OnLayerContextMenu(), onLayerVisibilityToggled(), and SetLayerVisible().
|
private |
Definition at line 1326 of file appearance_controls.cpp.
References FRAME_PCB_EDITOR, GAL_LAYER_ID_START, GAL_LAYER_INDEX, PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetPcbNewSettings(), PCB_DRAW_PANEL_GAL::GetView(), EDA_BASE_FRAME::IsType(), LAYER_RATSNEST, LAYER_ZONE_START, PCBNEW_SETTINGS::m_Display, m_frame, m_isFpEditor, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_Live3DRefresh, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_ShowGlobalRatsnest, GAL_SET::set(), KIGFX::VIEW::SetLayerVisible(), BOARD::SetVisibleElements(), and PCB_BASE_FRAME::Update3DView().
Referenced by doApplyLayerPreset(), and onObjectVisibilityChanged().
|
private |
Definition at line 3132 of file appearance_controls.cpp.
References NET_GRID_TABLE::COL_VISIBILITY, PCB_BASE_FRAME::GetBoard(), PCB_BASE_FRAME::GetCanvas(), PROJECT::GetLocalSettings(), BOARD::GetNetInfo(), NET_GRID_TABLE::GetRowByNetcode(), TOOLS_HOLDER::GetToolManager(), PCB_ACTIONS::hideNetInRatsnest, m_frame, PROJECT_LOCAL_SETTINGS::m_HiddenNetclasses, APPEARANCE_CONTROLS_BASE::m_netsGrid, m_netsTable, m_togglingNetclassRatsnestVisibility, KIWAY_HOLDER::Prj(), PCB_DRAW_PANEL_GAL::RedrawRatsnest(), EDA_DRAW_PANEL_GAL::Refresh(), TOOL_MANAGER::RunAction(), NET_GRID_TABLE::SetValueAsBool(), and PCB_ACTIONS::showNetInRatsnest.
Referenced by onNetclassContextMenu(), and onNetclassVisibilityChanged().
|
private |
Definition at line 1984 of file appearance_controls.cpp.
References color, GAL_SET::Contains(), COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), getVisibleLayers(), getVisibleObjects(), JSON_SETTINGS::IsReadOnly(), m_frame, m_layerSettings, m_objectSettings, APPEARANCE_CONTROLS_BASE::m_windowLayers, and OnLayerChanged().
Referenced by doApplyLayerPreset(), OnBoardChanged(), OnColorThemeChanged(), OnLanguageChanged(), OnLayerContextMenu(), and SetLayerVisible().
|
private |
Definition at line 2608 of file appearance_controls.cpp.
References getVisibleLayers(), getVisibleObjects(), m_cbFlipBoard, APPEARANCE_CONTROLS_BASE::m_cbLayerPresets, m_currentPreset, m_layerPresets, and text.
Referenced by APPEARANCE_CONTROLS(), OnBoardChanged(), OnLanguageChanged(), OnLayerContextMenu(), onLayerVisibilityToggled(), and onObjectVisibilityChanged().
|
private |
Definition at line 2320 of file appearance_controls.cpp.
References color, GAL_SET::Contains(), COLOR_SETTINGS::GetColor(), PCB_BASE_FRAME::GetColorSettings(), PCB_BASE_FRAME::GetDisplayOptions(), getVisibleObjects(), LAYER_DRAW_BITMAPS, LAYER_PADS, LAYER_SHAPES, LAYER_TRACKS, LAYER_VIAS, LAYER_ZONES, PCB_DISPLAY_OPTIONS::m_FilledShapeOpacity, m_frame, PCB_DISPLAY_OPTIONS::m_ImageOpacity, m_objectSettings, m_objectSettingsMap, PCB_DISPLAY_OPTIONS::m_PadOpacity, PCB_DISPLAY_OPTIONS::m_TrackOpacity, PCB_DISPLAY_OPTIONS::m_ViaOpacity, PCB_DISPLAY_OPTIONS::m_ZoneOpacity, and ToGalLayer().
Referenced by OnBoardChanged(), OnColorThemeChanged(), and OnLanguageChanged().
void APPEARANCE_CONTROLS::UpdateDisplayOptions | ( | ) |
Return a list of the layer presets created by the user.
Definition at line 1387 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS::APPEARANCE_SETTING::ctl_visibility, PCB_BASE_FRAME::GetCanvas(), PCB_BASE_FRAME::GetDisplayOptions(), PCB_BASE_FRAME::GetPcbNewSettings(), PCB_DRAW_PANEL_GAL::GetView(), KIGFX::VIEW::IsMirroredX(), LAYER_RATSNEST, m_cbFlipBoard, PCB_DISPLAY_OPTIONS::m_ContrastModeDisplay, PCBNEW_SETTINGS::m_Display, m_frame, m_isFpEditor, PCB_DISPLAY_OPTIONS::m_NetColorMode, m_objectSettingsMap, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_RatsnestMode, m_rbHighContrastDim, m_rbHighContrastNormal, m_rbHighContrastOff, m_rbNetColorAll, m_rbNetColorOff, m_rbNetColorRatsnest, m_rbRatsnestAllLayers, m_rbRatsnestNone, m_rbRatsnestVisLayers, PCBNEW_SETTINGS::DISPLAY_OPTIONS::m_ShowGlobalRatsnest, and BITMAP_TOGGLE::SetValue().
Referenced by doApplyLayerPreset(), OnBoardChanged(), FOOTPRINT_EDIT_FRAME::OnDisplayOptionsChanged(), PCB_EDIT_FRAME::OnDisplayOptionsChanged(), and OnLanguageChanged().
|
private |
Definition at line 2641 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS_BASE::m_cbLayerPresets, m_currentPreset, and m_layerPresets.
Referenced by ApplyLayerPreset().
|
private |
Definition at line 2892 of file appearance_controls.cpp.
References APPEARANCE_CONTROLS_BASE::m_cbViewports, and m_lastSelectedViewport.
Referenced by ApplyViewport().
|
private |
Definition at line 394 of file appearance_controls.h.
Referenced by OnBoardChanged().
|
privateinherited |
Definition at line 61 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorderColor().
|
privateinherited |
Definition at line 59 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protectedinherited |
Definition at line 64 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE().
|
protectedinherited |
Definition at line 60 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 461 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), createControls(), onLayerPresetChanged(), rebuildLayers(), syncLayerPresetSelection(), and UpdateDisplayOptions().
|
protectedinherited |
Definition at line 68 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), onLayerPresetChanged(), rebuildLayerPresetsWidget(), syncLayerPresetSelection(), updateLayerPresetSelection(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
protectedinherited |
Definition at line 70 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), onViewportChanged(), rebuildViewportsWidget(), updateViewportSelection(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
private |
The name of the netclass that was right-clicked.
Definition at line 432 of file appearance_controls.h.
Referenced by onNetclassContextMenu(), and rebuildNets().
|
private |
Definition at line 418 of file appearance_controls.h.
Referenced by ApplyLayerPreset(), GetActiveLayerPreset(), onLayerPresetChanged(), rebuildLayerPresetsWidget(), syncLayerPresetSelection(), and updateLayerPresetSelection().
|
private |
Definition at line 388 of file appearance_controls.h.
Referenced by passOnFocus().
|
private |
Definition at line 386 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), buildNetClassMenu(), doApplyLayerPreset(), doApplyViewport(), GetBestSize(), getVisibleLayers(), getVisibleObjects(), OnBoardChanged(), OnColorSwatchChanged(), OnDarkModeToggle(), OnLayerChanged(), OnLayerContextMenu(), onLayerLeftClick(), onLayerPresetChanged(), onLayerVisibilityToggled(), onNetclassColorChanged(), onNetclassContextMenu(), onNetColorMode(), onNetContextMenu(), onObjectOpacitySlider(), onObjectVisibilityChanged(), onRatsnestMode(), onReadOnlySwatch(), onViewportChanged(), rebuildLayerContextMenu(), rebuildLayers(), rebuildNets(), rebuildObjects(), SetLayerVisible(), SetObjectVisible(), setVisibleLayers(), setVisibleObjects(), showNetclass(), syncColorsAndVisibility(), syncObjectSettings(), UpdateDisplayOptions(), and ~APPEARANCE_CONTROLS().
|
private |
Grid cell that is being hovered over, for tooltips.
Definition at line 404 of file appearance_controls.h.
Referenced by OnNetGridMouseEvent().
|
private |
Definition at line 392 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), rebuildLayers(), and ~APPEARANCE_CONTROLS().
|
private |
Definition at line 456 of file appearance_controls.h.
Referenced by createControls(), and rebuildLayers().
|
private |
Definition at line 396 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), doApplyLayerPreset(), getVisibleLayers(), getVisibleObjects(), OnLayerContextMenu(), onLayerLeftClick(), rebuildLayers(), rebuildObjects(), setVisibleLayers(), setVisibleObjects(), and UpdateDisplayOptions().
|
staticprivate |
Definition at line 448 of file appearance_controls.h.
Referenced by onLayerPresetChanged().
|
private |
Definition at line 419 of file appearance_controls.h.
Referenced by ApplyLayerPreset(), and onLayerPresetChanged().
|
private |
Definition at line 423 of file appearance_controls.h.
Referenced by onViewportChanged(), rebuildViewportsWidget(), and updateViewportSelection().
|
private |
Definition at line 426 of file appearance_controls.h.
Referenced by rebuildLayerContextMenu(), and rightClickHandler().
|
private |
Definition at line 460 of file appearance_controls.h.
Referenced by createControls().
|
private |
Definition at line 452 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), OnDarkModeToggle(), OnLayerChanged(), and rebuildLayers().
|
private |
Definition at line 417 of file appearance_controls.h.
Referenced by ApplyLayerPreset(), GetUserLayerPresets(), loadDefaultLayerPresets(), onLayerPresetChanged(), rebuildLayerPresetsWidget(), SetUserLayerPresets(), syncLayerPresetSelection(), and updateLayerPresetSelection().
|
private |
Definition at line 406 of file appearance_controls.h.
Referenced by OnLayerChanged(), rebuildLayers(), and syncColorsAndVisibility().
|
private |
Definition at line 407 of file appearance_controls.h.
Referenced by OnLayerChanged(), and rebuildLayers().
|
private |
Definition at line 434 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), OnDarkModeToggle(), and rebuildLayers().
|
privateinherited |
Definition at line 56 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
private |
Stores wxIDs for each netclass for control event mapping.
Definition at line 429 of file appearance_controls.h.
Referenced by netclassNameFromEvent(), and rebuildNets().
|
protectedinherited |
Definition at line 66 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and rebuildNets().
|
protectedinherited |
Definition at line 65 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and rebuildNets().
|
private |
Definition at line 412 of file appearance_controls.h.
Referenced by rebuildNets().
|
private |
Definition at line 413 of file appearance_controls.h.
Referenced by OnDarkModeToggle(), onNetclassContextMenu(), and rebuildNets().
|
protectedinherited |
Definition at line 61 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), OnDarkModeToggle(), onNetContextMenu(), OnNetGridClick(), OnNetGridDoubleClick(), OnNetGridMouseEvent(), OnNetGridRightClick(), OnNetVisibilityChanged(), showNetclass(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 399 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), onNetContextMenu(), OnNetGridClick(), OnNetGridMouseEvent(), OnNetVisibilityChanged(), rebuildNets(), and showNetclass().
|
protectedinherited |
Definition at line 55 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and createControls().
|
protectedinherited |
Definition at line 56 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS_BASE::m_netsTabSplitterOnIdle().
|
protectedinherited |
Definition at line 47 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), createControls(), GetTabIndex(), OnLanguageChanged(), OnNotebookPageChanged(), SetTabIndex(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 409 of file appearance_controls.h.
Referenced by rebuildObjects(), syncColorsAndVisibility(), and syncObjectSettings().
|
private |
Definition at line 410 of file appearance_controls.h.
Referenced by onObjectVisibilityChanged(), rebuildObjects(), SetObjectVisible(), syncObjectSettings(), and UpdateDisplayOptions().
|
private |
Definition at line 435 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), and rebuildObjects().
|
protectedinherited |
Definition at line 52 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 455 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), createControls(), IsLayerOptionsExpanded(), rebuildLayers(), and RefreshCollapsiblePanes().
|
protectedinherited |
Definition at line 48 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), createControls(), OnDarkModeToggle(), OnNotebookPageChanged(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
protectedinherited |
Definition at line 49 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), createControls(), and rebuildLayers().
|
protectedinherited |
Definition at line 62 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
protectedinherited |
Definition at line 57 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), rebuildNets(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
protectedinherited |
Definition at line 54 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), createControls(), OnNotebookPageChanged(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
protectedinherited |
Definition at line 51 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and APPEARANCE_CONTROLS_BASE::~APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 464 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), createControls(), IsNetOptionsExpanded(), and rebuildNets().
|
private |
Definition at line 450 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), and rebuildObjects().
|
private |
Definition at line 420 of file appearance_controls.h.
Referenced by GetLayerPresetsMRU(), onLayerPresetChanged(), rebuildLayerPresetsWidget(), and SetUserLayerPresets().
|
protectedinherited |
Definition at line 67 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 458 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), createControls(), rebuildLayers(), and UpdateDisplayOptions().
|
private |
Definition at line 457 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), createControls(), rebuildLayers(), and UpdateDisplayOptions().
|
private |
Definition at line 459 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS(), createControls(), rebuildLayers(), and UpdateDisplayOptions().
|
private |
Definition at line 466 of file appearance_controls.h.
Referenced by createControls(), onNetColorMode(), rebuildNets(), and UpdateDisplayOptions().
|
private |
Definition at line 468 of file appearance_controls.h.
Referenced by createControls(), rebuildNets(), and UpdateDisplayOptions().
|
private |
Definition at line 467 of file appearance_controls.h.
Referenced by createControls(), onNetColorMode(), rebuildNets(), and UpdateDisplayOptions().
|
private |
Definition at line 470 of file appearance_controls.h.
Referenced by createControls(), onRatsnestMode(), rebuildNets(), and UpdateDisplayOptions().
|
private |
Definition at line 472 of file appearance_controls.h.
Referenced by createControls(), rebuildNets(), and UpdateDisplayOptions().
|
private |
Definition at line 471 of file appearance_controls.h.
Referenced by createControls(), onRatsnestMode(), rebuildNets(), and UpdateDisplayOptions().
|
privateinherited |
Definition at line 57 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
protectedinherited |
Definition at line 46 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), createControls(), and OnNotebookPageChanged().
|
protectedinherited |
Definition at line 63 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and rebuildNets().
|
protectedinherited |
Definition at line 58 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and rebuildNets().
|
private |
Definition at line 401 of file appearance_controls.h.
Referenced by APPEARANCE_CONTROLS().
|
private |
Definition at line 500 of file appearance_controls.h.
Referenced by IsTogglingNetclassRatsnestVisibility(), OnNetVisibilityChanged(), and showNetclass().
|
privateinherited |
Definition at line 58 of file wx_panel.h.
Referenced by WX_PANEL::OnPaint(), and WX_PANEL::SetBorders().
|
private |
Definition at line 465 of file appearance_controls.h.
Referenced by createControls(), and rebuildNets().
|
protectedinherited |
Definition at line 59 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), and APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE().
|
private |
Definition at line 469 of file appearance_controls.h.
Referenced by createControls(), and rebuildNets().
|
private |
Definition at line 424 of file appearance_controls.h.
Referenced by GetViewportsMRU(), onViewportChanged(), and SetUserViewports().
|
private |
Definition at line 422 of file appearance_controls.h.
Referenced by GetUserViewports(), onViewportChanged(), rebuildViewportsWidget(), and SetUserViewports().
|
protectedinherited |
Definition at line 69 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), rebuildLayerPresetsWidget(), and rebuildViewportsWidget().
|
protectedinherited |
Definition at line 50 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), OnDarkModeToggle(), rebuildLayers(), and syncColorsAndVisibility().
|
protectedinherited |
Definition at line 53 of file appearance_controls_base.h.
Referenced by APPEARANCE_CONTROLS(), APPEARANCE_CONTROLS_BASE::APPEARANCE_CONTROLS_BASE(), and rebuildObjects().
|
staticprivate |
Definition at line 440 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Definition at line 439 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), OnLayerContextMenu(), and rebuildLayerPresetsWidget().
|
staticprivate |
Definition at line 444 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Definition at line 445 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Definition at line 442 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Definition at line 443 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Definition at line 441 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Definition at line 438 of file appearance_controls.h.
Referenced by loadDefaultLayerPresets(), and OnLayerContextMenu().
|
staticprivate |
Template for object appearance settings.
Definition at line 390 of file appearance_controls.h.
Referenced by rebuildObjects().