66 ret &= fromLegacy<int>( aCfg,
"PropertiesFrameWidth",
"properties_frame_width" );
67 ret &= fromLegacy<int>( aCfg,
"CornerOriginChoice",
"corner_origin" );
68 ret &= fromLegacy<bool>( aCfg,
"BlackBgColor",
"black_background" );
69 ret &= fromLegacy<int>( aCfg,
"LastUsedPaperSize",
"last_paper_size" );
70 ret &= fromLegacy<int>( aCfg,
"LastUsedCustomWidth",
"last_custom_width" );
71 ret &= fromLegacy<int>( aCfg,
"LastUsedCustomHeight",
"last_custom_height" );
72 ret &= fromLegacy<bool>( aCfg,
"LastUsedWasPortrait",
"last_was_portrait" );
APP_SETTINGS_BASE is a settings class that should be derived for each standalone KiCad application.
virtual bool MigrateFromLegacy(wxConfigBase *aCfg) override
Migrates from wxConfig to JSON-based configuration.
std::vector< PARAM_BASE * > m_params
The list of parameters (owned by this object)
virtual bool MigrateFromLegacy(wxConfigBase *aLegacyConfig) override
Migrates from wxConfig to JSON-based configuration.
int m_PropertiesFrameWidth
const int plEditorSchemaVersion
! Update the schema version whenever a migration is required