KiCad PCB EDA Suite
|
A saved set of layers that are visible. More...
#include <board_project_settings.h>
Public Member Functions | |
LAYER_PRESET (const wxString &aName=wxS("")) | |
LAYER_PRESET (const wxString &aName, const LSET &aVisibleLayers, bool aFlipBoard) | |
LAYER_PRESET (const wxString &aName, const LSET &aVisibleLayers, const GAL_SET &aVisibleObjects, PCB_LAYER_ID aActiveLayer, bool aFlipBoard) | |
bool | LayersMatch (const LAYER_PRESET &aOther) |
Public Attributes | |
wxString | name |
A name for this layer set. | |
LSET | layers |
Board layers that are visible. | |
GAL_SET | renderLayers |
Render layers (e.g. object types) that are visible. | |
bool | |
True if the flip board is enabled. | |
PCB_LAYER_ID | activeLayer |
Optional layer to set active when this preset is loaded. | |
bool | readOnly |
True if this is a read-only (built-in) preset. | |
A saved set of layers that are visible.
Definition at line 159 of file board_project_settings.h.
|
inline |
Definition at line 161 of file board_project_settings.h.
References activeLayer, flipBoard, layers, name, readOnly, renderLayers, and UNSELECTED_LAYER.
Referenced by LayersMatch().
|
inline |
Definition at line 171 of file board_project_settings.h.
References activeLayer, flipBoard, layers, name, readOnly, renderLayers, and UNSELECTED_LAYER.
|
inline |
Definition at line 181 of file board_project_settings.h.
References activeLayer, flipBoard, layers, name, readOnly, and renderLayers.
|
inline |
Definition at line 192 of file board_project_settings.h.
References LAYER_PRESET(), layers, and renderLayers.
PCB_LAYER_ID LAYER_PRESET::activeLayer |
Optional layer to set active when this preset is loaded.
Definition at line 201 of file board_project_settings.h.
Referenced by APPEARANCE_CONTROLS::doApplyLayerPreset(), PARAM_LAYER_PRESET::jsonToPresets(), LAYER_PRESET(), LAYER_PRESET(), and LAYER_PRESET().
bool LAYER_PRESET::flipBoard |
True if the flip board is enabled.
Definition at line 200 of file board_project_settings.h.
Referenced by APPEARANCE_CONTROLS::doApplyLayerPreset(), PARAM_LAYER_PRESET::jsonToPresets(), LAYER_PRESET(), LAYER_PRESET(), LAYER_PRESET(), and APPEARANCE_CONTROLS::onLayerPresetChanged().
LSET LAYER_PRESET::layers |
Board layers that are visible.
Definition at line 198 of file board_project_settings.h.
Referenced by APPEARANCE_CONTROLS::doApplyLayerPreset(), PARAM_LAYER_PRESET::jsonToPresets(), LAYER_PRESET(), LAYER_PRESET(), LAYER_PRESET(), LayersMatch(), APPEARANCE_CONTROLS::OnLayerContextMenu(), and APPEARANCE_CONTROLS::onLayerPresetChanged().
wxString LAYER_PRESET::name |
A name for this layer set.
Definition at line 197 of file board_project_settings.h.
Referenced by APPEARANCE_CONTROLS::ApplyLayerPreset(), LAYER_PRESET(), LAYER_PRESET(), and LAYER_PRESET().
bool LAYER_PRESET::readOnly |
True if this is a read-only (built-in) preset.
Definition at line 202 of file board_project_settings.h.
Referenced by LAYER_PRESET(), LAYER_PRESET(), LAYER_PRESET(), and APPEARANCE_CONTROLS::onLayerPresetChanged().
GAL_SET LAYER_PRESET::renderLayers |
Render layers (e.g. object types) that are visible.
Definition at line 199 of file board_project_settings.h.
Referenced by APPEARANCE_CONTROLS::doApplyLayerPreset(), PARAM_LAYER_PRESET::jsonToPresets(), LAYER_PRESET(), LAYER_PRESET(), LAYER_PRESET(), LayersMatch(), APPEARANCE_CONTROLS::OnLayerContextMenu(), and APPEARANCE_CONTROLS::onLayerPresetChanged().