49 wxGridCellAttr* attr =
new wxGridCellAttr;
95 if( enabled.test( layer ) )
96 existing.
set( layer );
103 if( !existing.test( layer ) )
BASE_SET & set(size_t pos)
Container for design settings for a BOARD object.
std::map< PCB_LAYER_ID, ZONE_LAYER_PROPERTIES > m_ZoneLayerProperties
bool IsLayerEnabled(PCB_LAYER_ID aLayerId) const
Test whether a given layer aLayerId is enabled.
Information pertinent to a Pcbnew printed circuit board.
BOARD_DESIGN_SETTINGS & GetDesignSettings() const
Dialog helper object to sit in the inheritance tree between wxDialog and any class written by wxFormB...
Add mouse and command handling (such as cut, copy, and paste) to a WX_GRID instance.
LSET is a set of PCB_LAYER_IDs.
static LSET AllCuMask(int aCuLayerCount)
Return a mask holding the requested number of Cu PCB_LAYER_IDs.
static LSET AllCuMask()
return AllCuMask( MAX_CU_LAYERS );
WX_GRID * m_layerOffsetsGrid
PANEL_SETUP_ZONE_HATCH_OFFSETS_BASE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxSize(-1,-1), long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
bool TransferDataToWindow() override
LAYER_PROPERTIES_GRID_TABLE * m_layerPropsTable
bool TransferDataFromWindow() override
void LoadFromSettings(const BOARD_DESIGN_SETTINGS &aBrdSettings)
~PANEL_SETUP_ZONE_HATCH_OFFSETS() override
PANEL_SETUP_ZONE_HATCH_OFFSETS(wxWindow *aParentWindow, PCB_BASE_FRAME *aFrame, BOARD_DESIGN_SETTINGS &aBrdSettings)
void SyncCopperLayers(int aCopperLayerCount)
BOARD_DESIGN_SETTINGS * m_brdSettings
void ImportSettingsFrom(BOARD *aBoard)
Base PCB main window class for Pcbnew, Gerbview, and CvPcb footprint viewer.
PCB_LAYER_ID
A quick note on layer IDs: