private GlobalOptions() { fChartOptions = new TreeChartOptions(); fEventFilters = new StringList(); fMRUFiles = new List <MRUFile>(); fNameFilters = new StringList(); fResidenceFilters = new StringList(); fPedigreeOptions = new PedigreeOptions(); fProxy = new ProxyOptions(); fRelations = new StringList(); fAncestorsCircleOptions = new AncestorsCircleOptions(); fGeocoder = "Google"; fRemovableMediaWarning = true; fLoadRecentFiles = true; fEmbeddedMediaPlayer = true; fAllowMediaStoreReferences = false; fUseExtendedNotes = false; fIndividualListColumns = IndividualListMan.CreateIndividualListColumns(); fIndividualListColumns.ResetDefaults(); fLanguages = new List <LangRecord>(); fLastBases = new StringList(); fAutosave = false; fAutosaveInterval = 10; }
public void Assign(IOptions source) { AncestorsCircleOptions srcOptions = source as AncestorsCircleOptions; if (srcOptions == null) { return; } for (int i = 0; i < MAX_BRUSHES; i++) { BrushColor[i] = srcOptions.BrushColor[i]; } ArcText = srcOptions.ArcText; HideEmptySegments = srcOptions.HideEmptySegments; }