153 m_cfg = aAppSettings;
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
@ GAL_TYPE_OPENGL
OpenGL implementation.
@ GAL_TYPE_CAIRO
Cairo implementation.
Class GAL_OPTIONS_PANEL_BASE.
wxBoxSizer * m_renderingSizer
wxChoice * m_gridSnapOptions
wxRadioButton * m_rbFallback
wxRadioButton * m_rbCrosses
wxSpinCtrl * m_gridMinSpacing
wxRadioButton * m_rbSmallCrosshairs
wxChoice * m_gridLineWidth
wxRadioButton * m_rbLines
wxRadioButton * m_rbAccelerated
wxRadioButton * m_rbFullWindowCrosshairs
wxCheckBox * m_forceCursorDisplay
bool ResetPanel(APP_SETTINGS_BASE *aAppSettings)
std::vector< double > m_gridThicknessList
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.
GAL_OPTIONS_PANEL(wxWindow *aParent, APP_SETTINGS_BASE *aAppSettings)
APP_SETTINGS_BASE * m_cfg
static const int gridMinSpacingStep
static const UTIL::CFG_MAP< KIGFX::GRID_STYLE > gridStyleSelectMap
TODO: These are duplicated in gal_display_options - Unify!
static const UTIL::CFG_MAP< KIGFX::GRID_SNAPPING > gridSnapConfigVals
static const double gridThicknessStep
static const int gridMinSpacingMin
static const double gridThicknessMax
static const double gridThicknessMin
static const int gridMinSpacingMax
@ SMALL_CROSS
Use small cross instead of dots for the grid.
@ DOTS
Use dots for the grid.
@ LINES
Use lines for the grid.
std::vector< std::pair< T, long > > CFG_MAP
A config value table is a list of native values (usually enums) to a different set of values,...