27 const wxPoint& pos,
const wxSize& size,
28 long style,
const wxString&
name ) :
34 GetSizer()->SetSizeHints(
this );
81 bool show4thBand = aSelection != 0;
void OnToleranceSelection(wxCommandEvent &event) override
void SaveSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Save the settings from the panel.
wxRadioBox * m_rbToleranceSelection
void ToleranceSelection(int aSelection)
wxStaticBitmap * m_Band4bitmap
wxStaticBitmap * m_Band1bitmap
PANEL_COLOR_CODE(wxWindow *parent, wxWindowID id=wxID_ANY, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxEmptyString)
void Refresh()
Update the board display after modifying it by a python script (note: it is automatically called by a...
wxStaticBitmap * m_Band_tol_bitmap
void ThemeChanged() override
Update UI elements of the panel when the theme changes to ensure the images and fonts/colors are appr...
wxStaticBitmap * m_Band2bitmap
wxBitmap KiBitmap(BITMAPS aBitmap, int aHeightTag)
Construct a wxBitmap from an image identifier Returns the image from the active theme if the image ha...
wxStaticBitmap * m_Band_mult_bitmap
wxStaticText * m_staticTextBand4
Class PANEL_COLOR_CODE_BASE.
void LoadSettings(PCB_CALCULATOR_SETTINGS *aCfg) override
Load the settings into the panel.
wxStaticBitmap * m_Band3bitmap