25#ifndef PCB_LAYER_BOX_SELECTOR_H
26#define PCB_LAYER_BOX_SELECTOR_H
42 const wxString& value = wxEmptyString,
43 const wxPoint& pos = wxDefaultPosition,
44 const wxSize& size = wxDefaultSize,
45 int n = 0,
const wxString choices[] =
nullptr,
int style = 0 ) :
A color representation with 4 components: red, green, blue, alpha.
LSET is a set of PCB_LAYER_IDs.
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
Class to display a pcb layer list in a wxBitmapComboBox.
bool m_showNotEnabledBrdlayers
void SetBoardFrame(PCB_BASE_FRAME *aFrame)
wxString m_undefinedLayerName
void SetNotAllowedLayerSet(LSET aMask)
PCB_BASE_FRAME * m_boardFrame
void ShowNonActivatedLayers(bool aShow)
COLOR4D getLayerColor(int aLayer) const override
void SetUndefinedLayerName(const wxString &aName)
bool isLayerEnabled(int aLayer) const override
LSET getEnabledLayers() const
PCB_LAYER_BOX_SELECTOR(wxWindow *parent, wxWindowID id, const wxString &value=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, int n=0, const wxString choices[]=nullptr, int style=0)
wxString getLayerName(int aLayer) const override