APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
wxRadioButton * m_xIncreasesRight
wxRadioButton * m_xIncreasesLeft
wxRadioButton * m_gridOrigin
wxRadioButton * m_drillPlaceOrigin
wxRadioButton * m_yIncreasesUp
wxRadioButton * m_yIncreasesDown
PANEL_PCBNEW_DISPLAY_ORIGIN_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)
wxBoxSizer * m_displayOrigin
wxRadioButton * m_pageOrigin
APP_SETTINGS_BASE * m_cfg
void ResetPanel() override
Reset the contents of this panel.
PANEL_PCBNEW_DISPLAY_ORIGIN(wxWindow *aParent, APP_SETTINGS_BASE *aCfg, FRAME_T aFrameType)
void loadSettings(APP_SETTINGS_BASE *aCfg)
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
DISPLAY_OPTIONS m_Display
FRAME_T
The set of EDA_BASE_FRAME derivatives, typically stored in EDA_BASE_FRAME::m_Ident.
T * GetAppSettings(const char *aFilename)
bool m_DisplayInvertYAxis
bool m_DisplayInvertXAxis
PCB_DISPLAY_ORIGIN m_DisplayOrigin