70 default:
return nullptr;
93 else if( !activated[layerid] )
94 layerstatus = wxT(
" " ) +
_(
"(not activated)" );
101 wxString layername =
getLayerName( layerid ) + layerstatus;
111 Append( layername, bmp, (
void*)(intptr_t) layerid );
125 SetMinSize( wxSize( -1, -1 ) );
126 wxSize bestSize = GetBestSize();
128 bestSize.x = GetBestSize().x +
BM_SIZE + 10;
129 SetMinSize( bestSize );
131 SetSelection( wxNOT_FOUND );
wxString m_undefinedLayerName
static TOOL_ACTION layerBottom
static TOOL_ACTION layerInner26
bool m_showNotEnabledBrdlayers
static TOOL_ACTION layerInner2
const wxString GetLayerName(PCB_LAYER_ID aLayer) const
Return the name of a aLayer.
static TOOL_ACTION layerInner5
static TOOL_ACTION layerInner6
static TOOL_ACTION layerInner7
static TOOL_ACTION layerInner8
static TOOL_ACTION layerInner21
static TOOL_ACTION * layer2action(PCB_LAYER_ID aLayer)
wxString AddHotkeyName(const wxString &aText, int aHotKey, HOTKEY_ACTION_TYPE aStyle)
LSET GetEnabledLayers() const
A proxy function that calls the corresponding function in m_BoardSettings Returns a bit-mask of all t...
bool isLayerEnabled(LAYER_NUM aLayer) const override
bool IsLayerEnabled(PCB_LAYER_ID aLayer) const
A proxy function that calls the correspondent function in m_BoardSettings tests whether a given layer...
static TOOL_ACTION layerInner3
static TOOL_ACTION layerInner24
static TOOL_ACTION layerInner11
static TOOL_ACTION layerTop
COLOR4D getLayerColor(LAYER_NUM aLayer) const override
virtual COLOR_SETTINGS * GetColorSettings() const override
Helper to retrieve the current color settings.
static TOOL_ACTION layerInner23
PCB_LAYER_ID
A quick note on layer IDs:
LSET is a set of PCB_LAYER_IDs.
static TOOL_ACTION layerInner13
static TOOL_ACTION layerInner25
static TOOL_ACTION layerInner18
wxString getLayerName(LAYER_NUM aLayer) const override
static TOOL_ACTION layerInner30
static TOOL_ACTION layerInner29
static TOOL_ACTION layerInner10
static LSET AllLayersMask()
static TOOL_ACTION layerInner15
static TOOL_ACTION layerInner28
static TOOL_ACTION layerInner27
PCB_BASE_FRAME * m_boardFrame
int LAYER_NUM
This can be replaced with int and removed.
static TOOL_ACTION layerInner17
static void DrawColorSwatch(wxBitmap &aLayerbmp, COLOR4D aBackground, COLOR4D aColor)
static TOOL_ACTION layerInner20
COLOR4D GetColor(int aLayer) const
static TOOL_ACTION layerInner22
Board layer functions and definitions.
LSET getEnabledLayers() const
Information pertinent to a Pcbnew printed circuit board.
static TOOL_ACTION layerInner14
static TOOL_ACTION layerInner9
static TOOL_ACTION layerInner16
static TOOL_ACTION layerInner4
static TOOL_ACTION layerInner19
static TOOL_ACTION layerInner1
PCB_LAYER_ID ToLAYER_ID(int aLayer)
static TOOL_ACTION layerInner12
A color representation with 4 components: red, green, blue, alpha.