constexpr std::size_t arrayDim(T const (&)[N]) noexcept
Returns # of elements in an array.
bool ResetPanel(APP_SETTINGS_BASE *aAppSettings)
bool TransferDataToWindow() override
Load the panel controls from the given opt.
bool TransferDataFromWindow() override
Read the options set in the UI into the given options object.
bool m_DisplayFlashedItemsFill
Option to draw flashed items (filled/sketch)
double m_OpacityModeAlphaValue
the alpha channel (opacity) value in opacity forced mode
bool m_DisplayPolygonsFill
Option to draw polygons (filled/sketch)
bool m_DisplayLinesFill
Option to draw line items (filled/sketch)
GBR_DISPLAY_OPTIONS m_Display
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
Class PANEL_GERBVIEW_DISPLAY_OPTIONS_BASE.
wxSpinCtrlDouble * m_spOpacityCtrl
wxCheckBox * m_OptDisplayPolygons
wxCheckBox * m_OptDisplayDCodes
wxCheckBox * m_OptDisplayLines
wxBoxSizer * m_galOptionsSizer
wxCheckBox * m_OptDisplayFlashedItems
wxCheckBox * m_ShowPageLimitsOpt
void ResetPanel() override
Reset the contents of this panel.
GAL_OPTIONS_PANEL * m_galOptsPanel
void loadSettings(GERBVIEW_SETTINGS *aCfg)
bool TransferDataToWindow() override
bool TransferDataFromWindow() override
PANEL_GERBVIEW_DISPLAY_OPTIONS(wxWindow *aParent)
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings()
Returns a handle to the a given settings by type If the settings have already been loaded,...
static const wxChar * gerberPageSizeList[]
List of page sizes.
PGM_BASE & Pgm()
The global Program "get" accessor.