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 ) :
93 #endif // PCB_LAYER_BOX_SELECTOR_H wxString m_undefinedLayerName
bool m_showNotEnabledBrdlayers
void SetNotAllowedLayerSet(LSET aMask)
int LAYER_NUM
This can be replaced with int and removed.
Class to display a pcb layer list in a wxBitmapComboBox.
void SetBoardFrame(PCB_BASE_FRAME *aFrame)
bool isLayerEnabled(LAYER_NUM aLayer) const override
COLOR4D getLayerColor(LAYER_NUM aLayer) const override
LSET is a set of PCB_LAYER_IDs.
void ShowNonActivatedLayers(bool aShow)
wxString getLayerName(LAYER_NUM aLayer) const override
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)
PCB_BASE_FRAME * m_boardFrame
void SetUndefinedLayerName(const wxString &aName)
LSET getEnabledLayers() const
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
A color representation with 4 components: red, green, blue, alpha.