37 m_frameType( aFrameType )
59 case PCB_DISPLAY_ORIGIN::PCB_ORIGIN_PAGE: origin = 0;
break;
60 case PCB_DISPLAY_ORIGIN::PCB_ORIGIN_AUX: origin = 1;
break;
61 case PCB_DISPLAY_ORIGIN::PCB_ORIGIN_GRID: origin = 2;
break;
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.
Class PANEL_PCBNEW_DISPLAY_ORIGIN_BASE.
wxRadioBox * m_XAxisDirection
wxRadioBox * m_DisplayOrigin
wxRadioBox * m_YAxisDirection
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.
bool m_DisplayInvertYAxis
bool m_DisplayInvertXAxis
PCB_DISPLAY_ORIGIN m_DisplayOrigin