constexpr BOX2I KiROUND(const BOX2D &aBoxD)
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
CROSS_PROBING_SETTINGS m_CrossProbing
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.
virtual void Load()
Updates the parameters of this object based on the current JSON document contents.
Class PANEL_EESCHEMA_DISPLAY_OPTIONS_BASE.
wxCheckBox * m_checkCrossProbeCenter
wxCheckBox * m_checkCrossProbeZoom
wxSpinCtrlDouble * m_highlightWidthCtrl
wxCheckBox * m_cbMarkSimExclusions
wxCheckBox * m_checkShowHiddenPins
wxSpinCtrlDouble * m_colHighlightThickness
wxCheckBox * m_checkShowOPCurrents
wxCheckBox * m_checkShowOPVoltages
wxCheckBox * m_checkSelDrawChildItems
wxCheckBox * m_checkShowERCExclusions
FONT_CHOICE * m_defaultFontCtrl
wxCheckBox * m_checkShowERCWarnings
wxCheckBox * m_checkShowERCErrors
wxStaticText * m_highlightColorNote
wxCheckBox * m_checkShowHiddenFields
wxCheckBox * m_checkPageLimits
wxCheckBox * m_checkCrossProbeAutoHighlight
wxSpinCtrlDouble * m_colHighlightTransparency
wxCheckBox * m_checkShowPinAltModeIcons
wxCheckBox * m_highlightNetclassColors
wxSpinCtrlDouble * m_selWidthCtrl
wxCheckBox * m_checkCrossProbeOnSelection
wxCheckBox * m_checkSelFillShapes
wxBoxSizer * m_galOptionsSizer
void ResetPanel() override
Reset the contents of this panel.
bool TransferDataFromWindow() override
PANEL_EESCHEMA_DISPLAY_OPTIONS(wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings)
GAL_OPTIONS_PANEL * m_galOptsPanel
bool TransferDataToWindow() override
void loadEEschemaSettings(EESCHEMA_SETTINGS *aCfg)
virtual SETTINGS_MANAGER & GetSettingsManager() const
T * GetAppSettings()
Returns a handle to the a given settings by type If the settings have already been loaded,...
KICOMMON_API wxFont GetInfoFont(wxWindow *aWindow)
PGM_BASE & Pgm()
The global Program "get" accessor.
bool on_selection
Synchronize the selection for multiple items too.
bool zoom_to_fit
Zoom to fit items (ignored if center_on_items is off)
bool center_on_items
Automatically pan to cross-probed items.
bool auto_highlight
Automatically turn on highlight mode in the target frame.
int highlight_netclass_colors_thickness
bool draw_selected_children
bool highlight_netclass_colors
double highlight_netclass_colors_alpha
Functions to provide common constants and other functions to assist in making a consistent UI.