43 case PCB_DISPLAY_ORIGIN::PCB_ORIGIN_PAGE: origin = 0;
break;
44 case PCB_DISPLAY_ORIGIN::PCB_ORIGIN_AUX: origin = 1;
break;
45 case PCB_DISPLAY_ORIGIN::PCB_ORIGIN_GRID: origin = 2;
break;
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
PANEL_PCBNEW_DISPLAY_ORIGIN(wxWindow *aParent)
void ResetPanel() override
Reset the contents of this panel.
bool TransferDataToWindow() override
void loadPCBSettings(PCBNEW_SETTINGS *aCfg)
bool TransferDataFromWindow() override
DISPLAY_OPTIONS m_Display
KIWAY Kiway & Pgm(), KFCTL_STANDALONE
The global Program "get" accessor.
bool m_DisplayInvertYAxis
bool m_DisplayInvertXAxis
PCB_DISPLAY_ORIGIN m_DisplayOrigin