#pragma warning restore CA1051 // Do not declare visible instance fields

        public VisualizationSettings()
        {
            PlayMode = PlayModeOption.History;

            DateFrom = new DateTime(1900, 1, 1);
            DateTo   = new DateTime(2099, 1, 1);

            UsersFilter = new StringFilter("*", "");
            FilesFilter = new StringFilter("*", "");

            ViewFileNames = false;
            ViewDirNames  = true;
            ViewUserNames = true;
            ViewAvatars   = true;

            TimeScale     = TimeScaleOption.None;
            SecondsPerDay = 5;
            MaxFiles      = 10000;

            ResolutionWidth  = Screen.PrimaryScreen.Bounds.Width;
            ResolutionHeight = Screen.PrimaryScreen.Bounds.Height;

            ViewLogo     = CheckState.Indeterminate;
            LogoFileName = null;
        }
Exemplo n.º 2
0
 public void SelectTimeScaleOption(int index)
 {
     selectedTimeScale = TimeScaleOption.Values[index];
     timeScale         = selectedTimeScale.SecondsPerSecond;
 }