24#include <units_scales.h> 
   27                                      const wxSize& size, 
long style, 
const wxString& 
name ) :
 
   34    GetSizer()->SetSizeHints( 
this );
 
 
   79                           double aPadDiffPlated , 
double aPadDiffNotPlated ) :
 
 
 
   90#define BRDCLASS_COUNT 6 
  129    #define FMT wxT("%g") 
  130    #define NO_VALUE wxT("--") 
  135        if( 
clist[ii].m_Lines > -1.0 )
 
  136            txt.Printf( 
FMT, 
clist[ii].m_Lines / aUnitScale);
 
  142        if( 
clist[ii].m_Clearance > -1.0 )
 
  143            txt.Printf( 
FMT, 
clist[ii].m_Clearance / aUnitScale);
 
  150        if( 
clist[ii].m_ViaDiamDiff > -1.0 )
 
  151            txt.Printf( 
FMT, 
clist[ii].m_ViaDiamDiff / aUnitScale);
 
  158        if( 
clist[ii].m_PadDiamDiffPlated > -1.0 )
 
  159            txt.Printf( 
FMT, 
clist[ii].m_PadDiamDiffPlated / aUnitScale);
 
  166        if( 
clist[ii].m_PadDiamDiffNotPlated > -1.0 )
 
  167            txt.Printf( 
FMT, 
clist[ii].m_PadDiamDiffNotPlated / aUnitScale);
 
 
double m_PadDiamDiffPlated
 
BOARD_MIN_SIZE_VALUES(int aClass, double aLines, double aClearance, double aViaDiffPlated, double aPadDiffPlated, double aPadDiffNotPlated)
 
double m_PadDiamDiffNotPlated
 
UNIT_SELECTOR_LEN * m_BoardClassesUnitsSelector
 
wxGrid * m_gridClassesValuesDisplay
 
PANEL_BOARD_CLASS_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)
 
PANEL_BOARD_CLASS(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
 
void OnBoardClassesUnitsSelection(wxCommandEvent &event) override
 
void BoardClassesUpdateData(double aUnitScale)
 
void SaveSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Save the settings from the panel.
 
void ThemeChanged() override
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appr...
 
void LoadSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Load the settings into the panel.
 
static BOARD_MIN_SIZE_VALUES clist[BRDCLASS_COUNT]