![]() |
KiCad PCB EDA Suite
|
Container for display options like enable/disable some optional drawings. More...
#include <pcb_display_options.h>
Public Types | |
enum | TRACE_CLEARANCE_DISPLAY_MODE_T { DO_NOT_SHOW_CLEARANCE = 0, SHOW_CLEARANCE_NEW_TRACKS, SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS, SHOW_CLEARANCE_NEW_AND_EDITED_TRACKS_AND_VIA_AREAS, SHOW_CLEARANCE_ALWAYS } |
The set of values for DISPLAY_OPTIONS.ShowTrackClearanceMode parameter option. More... | |
enum | PCB_DISPLAY_ORIGIN_OPTIONS_T { PCB_ORIGIN_PAGE = 0, PCB_ORIGIN_AUX, PCB_ORIGIN_GRID } |
The set of values for DISPLAY_OPTIONS.DisplayOrigin parameter option. More... | |
Public Member Functions | |
PCB_DISPLAY_OPTIONS () | |
Container for display options like enable/disable some optional drawings.
Definition at line 38 of file pcb_display_options.h.
The set of values for DISPLAY_OPTIONS.DisplayOrigin parameter option.
This parameter controls what is used as the origin point for location values
Enumerator | |
---|---|
PCB_ORIGIN_PAGE | |
PCB_ORIGIN_AUX | |
PCB_ORIGIN_GRID |
Definition at line 113 of file pcb_display_options.h.
The set of values for DISPLAY_OPTIONS.ShowTrackClearanceMode parameter option.
This parameter controls how to show tracks and vias clearance area.
Enumerator | |
---|---|
DO_NOT_SHOW_CLEARANCE | |
SHOW_CLEARANCE_NEW_TRACKS | |
SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS | |
SHOW_CLEARANCE_NEW_AND_EDITED_TRACKS_AND_VIA_AREAS | |
SHOW_CLEARANCE_ALWAYS |
Definition at line 48 of file pcb_display_options.h.
PCB_DISPLAY_OPTIONS::PCB_DISPLAY_OPTIONS | ( | ) |
Definition at line 34 of file pcb_display_options.cpp.
References ALL, FILLED, m_ContrastModeDisplay, m_DisplayGraphicsFill, m_DisplayInvertXAxis, m_DisplayInvertYAxis, m_DisplayNetNamesMode, m_DisplayOrigin, m_DisplayPadFill, m_DisplayPadIsol, m_DisplayPadNum, m_DisplayPcbTrackFill, m_DisplayRatsnestLinesCurved, m_DisplayTextFill, m_DisplayViaFill, m_MaxLinksShowed, m_NetColorMode, m_PadOpacity, m_RatsnestMode, m_ShowGlobalRatsnest, m_ShowModuleRatsnest, m_ShowTrackClearanceMode, m_TrackOpacity, m_ViaOpacity, m_ZoneDisplayMode, m_ZoneOpacity, NORMAL, PCB_ORIGIN_PAGE, RATSNEST, SHOW_CLEARANCE_NEW_TRACKS_AND_VIA_AREAS, and SHOW_FILLED.
HIGH_CONTRAST_MODE PCB_DISPLAY_OPTIONS::m_ContrastModeDisplay |
How inactive layers are displayed.
Definition at line 87 of file pcb_display_options.h.
Referenced by APPEARANCE_CONTROLS::APPEARANCE_CONTROLS(), PAD_TOOL::EditPad(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), PCB_DISPLAY_OPTIONS(), PNS::TOOL_BASE::pickSingleItem(), PCB_EDIT_FRAME::Process_Special_Functions(), PCB_EDIT_FRAME::SaveProjectSettings(), PCB_BASE_FRAME::SetDisplayOptions(), FOOTPRINT_EDIT_FRAME::setupUIConditions(), and APPEARANCE_CONTROLS::UpdateDisplayOptions().
bool PCB_DISPLAY_OPTIONS::m_DisplayGraphicsFill |
Definition at line 70 of file pcb_display_options.h.
Referenced by CVPCB_SETTINGS::CVPCB_SETTINGS(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), PCB_VIEWER_TOOLS::GraphicOutlines(), PCB_EDITOR_CONDITIONS::graphicsFillDisplayFunc(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), and PCBNEW_SETTINGS::PCBNEW_SETTINGS().
bool PCB_DISPLAY_OPTIONS::m_DisplayInvertXAxis |
Definition at line 121 of file pcb_display_options.h.
Referenced by PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_PCBNEW_DISPLAY_ORIGIN::TransferDataFromWindow(), and PANEL_PCBNEW_DISPLAY_ORIGIN::TransferDataToWindow().
bool PCB_DISPLAY_OPTIONS::m_DisplayInvertYAxis |
Definition at line 122 of file pcb_display_options.h.
Referenced by PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_PCBNEW_DISPLAY_ORIGIN::TransferDataFromWindow(), and PANEL_PCBNEW_DISPLAY_ORIGIN::TransferDataToWindow().
int PCB_DISPLAY_OPTIONS::m_DisplayNetNamesMode |
Definition at line 80 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_DISPLAY_OPTIONS::TransferDataFromWindow(), and PANEL_DISPLAY_OPTIONS::TransferDataToWindow().
PCB_DISPLAY_ORIGIN_OPTIONS_T PCB_DISPLAY_OPTIONS::m_DisplayOrigin |
Which origin is used for display transforms.
Definition at line 120 of file pcb_display_options.h.
Referenced by PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_PCBNEW_DISPLAY_ORIGIN::TransferDataFromWindow(), and PANEL_PCBNEW_DISPLAY_ORIGIN::TransferDataToWindow().
bool PCB_DISPLAY_OPTIONS::m_DisplayPadFill |
Definition at line 66 of file pcb_display_options.h.
Referenced by CVPCB_SETTINGS::CVPCB_SETTINGS(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDITOR_CONDITIONS::padFillDisplayFunc(), PCB_DISPLAY_OPTIONS(), and PCBNEW_SETTINGS::PCBNEW_SETTINGS().
bool PCB_DISPLAY_OPTIONS::m_DisplayPadIsol |
Definition at line 69 of file pcb_display_options.h.
Referenced by EVT_GRID_CMD_CELL_CHANGED(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_DISPLAY_OPTIONS::TransferDataFromWindow(), and PANEL_DISPLAY_OPTIONS::TransferDataToWindow().
bool PCB_DISPLAY_OPTIONS::m_DisplayPadNum |
Definition at line 68 of file pcb_display_options.h.
Referenced by CVPCB_SETTINGS::CVPCB_SETTINGS(), EVT_GRID_CMD_CELL_CHANGED(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDITOR_CONDITIONS::padNumberDisplayFunc(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_DISPLAY_OPTIONS::TransferDataFromWindow(), and PANEL_DISPLAY_OPTIONS::TransferDataToWindow().
bool PCB_DISPLAY_OPTIONS::m_DisplayPcbTrackFill |
Definition at line 72 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), and PCB_EDITOR_CONDITIONS::trackFillDisplayFunc().
bool PCB_DISPLAY_OPTIONS::m_DisplayRatsnestLinesCurved |
Definition at line 98 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_EDIT_OPTIONS::TransferDataFromWindow(), and PANEL_EDIT_OPTIONS::TransferDataToWindow().
bool PCB_DISPLAY_OPTIONS::m_DisplayTextFill |
Definition at line 71 of file pcb_display_options.h.
Referenced by CVPCB_SETTINGS::CVPCB_SETTINGS(), FOOTPRINT_EDITOR_SETTINGS::FOOTPRINT_EDITOR_SETTINGS(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PCB_EDITOR_CONDITIONS::textFillDisplayFunc(), and PCB_VIEWER_TOOLS::TextOutlines().
bool PCB_DISPLAY_OPTIONS::m_DisplayViaFill |
Definition at line 67 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), and PCB_EDITOR_CONDITIONS::viaFillDisplayFunc().
int PCB_DISPLAY_OPTIONS::m_MaxLinksShowed |
Definition at line 95 of file pcb_display_options.h.
Referenced by PCB_DISPLAY_OPTIONS(), and PCBNEW_SETTINGS::PCBNEW_SETTINGS().
NET_COLOR_MODE PCB_DISPLAY_OPTIONS::m_NetColorMode |
How to use color overrides on specific nets and netclasses.
Definition at line 90 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), APPEARANCE_CONTROLS::onNetColorModeChanged(), PCB_DISPLAY_OPTIONS(), PCB_EDIT_FRAME::SaveProjectSettings(), and APPEARANCE_CONTROLS::UpdateDisplayOptions().
double PCB_DISPLAY_OPTIONS::m_PadOpacity |
Opacity override for SMD pads and PTHs.
Definition at line 105 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), APPEARANCE_CONTROLS::onObjectOpacitySlider(), PCB_DISPLAY_OPTIONS(), PCB_EDIT_FRAME::SaveProjectSettings(), and APPEARANCE_CONTROLS::syncObjectSettings().
RATSNEST_MODE PCB_DISPLAY_OPTIONS::m_RatsnestMode |
Ratsnest draw mode (all layers vs only visible layers)
Definition at line 93 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), APPEARANCE_CONTROLS::onRatsnestModeChanged(), PCB_DISPLAY_OPTIONS(), PCB_EDIT_FRAME::SaveProjectSettings(), and APPEARANCE_CONTROLS::UpdateDisplayOptions().
bool PCB_DISPLAY_OPTIONS::m_ShowGlobalRatsnest |
Definition at line 97 of file pcb_display_options.h.
Referenced by FOOTPRINT_VIEWER_FRAME::AddFootprintToPCB(), BOARD_NETLIST_UPDATER::addNewComponent(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), APPEARANCE_CONTROLS::onObjectVisibilityChanged(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), BOARD_EDITOR_CONTROL::PlaceFootprint(), APPEARANCE_CONTROLS::setVisibleObjects(), PANEL_DISPLAY_OPTIONS::TransferDataFromWindow(), and APPEARANCE_CONTROLS::UpdateDisplayOptions().
bool PCB_DISPLAY_OPTIONS::m_ShowModuleRatsnest |
Definition at line 96 of file pcb_display_options.h.
Referenced by BOARD_INSPECTION_TOOL::calculateSelectionRatsnest(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_EDIT_OPTIONS::TransferDataFromWindow(), and PANEL_EDIT_OPTIONS::TransferDataToWindow().
TRACE_CLEARANCE_DISPLAY_MODE_T PCB_DISPLAY_OPTIONS::m_ShowTrackClearanceMode |
How trace clearances are displayed.
Definition at line 75 of file pcb_display_options.h.
Referenced by PNS_KICAD_IFACE::DisplayItem(), KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PANEL_DISPLAY_OPTIONS::TransferDataFromWindow(), and PANEL_DISPLAY_OPTIONS::TransferDataToWindow().
double PCB_DISPLAY_OPTIONS::m_TrackOpacity |
Opacity override for all tracks.
Definition at line 103 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), APPEARANCE_CONTROLS::onObjectOpacitySlider(), PCB_DISPLAY_OPTIONS(), PCB_EDIT_FRAME::SaveProjectSettings(), and APPEARANCE_CONTROLS::syncObjectSettings().
double PCB_DISPLAY_OPTIONS::m_ViaOpacity |
Opacity override for all types of via.
Definition at line 104 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), APPEARANCE_CONTROLS::onObjectOpacitySlider(), PCB_DISPLAY_OPTIONS(), PCB_EDIT_FRAME::SaveProjectSettings(), and APPEARANCE_CONTROLS::syncObjectSettings().
ZONE_DISPLAY_MODE PCB_DISPLAY_OPTIONS::m_ZoneDisplayMode |
Definition at line 78 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), PCB_DISPLAY_OPTIONS(), PCBNEW_SETTINGS::PCBNEW_SETTINGS(), PCB_EDIT_FRAME::SaveProjectSettings(), PCB_SELECTION_TOOL::selectPoint(), and PCB_EDITOR_CONDITIONS::zoneDisplayModeFunc().
double PCB_DISPLAY_OPTIONS::m_ZoneOpacity |
Opacity override for filled zone areas.
Definition at line 106 of file pcb_display_options.h.
Referenced by KIGFX::PCB_RENDER_SETTINGS::LoadDisplayOptions(), PCB_EDIT_FRAME::LoadProjectSettings(), APPEARANCE_CONTROLS::onObjectOpacitySlider(), PCB_DISPLAY_OPTIONS(), PCB_EDIT_FRAME::SaveProjectSettings(), and APPEARANCE_CONTROLS::syncObjectSettings().