Пример #1
0
        public static void LoadPreset(string id)
        {
            Docked   = FromEmbedded($"Presets.{id}.Docked.xml");
            Floating = FromEmbedded($"Presets.{id}.Floating.xml");

            Persistent.SaveLayouts();
        }
Пример #2
0
        private static void LoadDefault()
        {
            Docked   = DefaultDocked;
            Floating = DefaultFloating;

            Theme.InspectPaneHeight.ToDefault();
            Theme.InspectPaneTabWidth.ToDefault();
            Theme.InspectPaneMinTabs.ToDefault();
            Theme.HudHeight.ToDefault();
            Theme.HudWidth.ToDefault();

            Persistent.Save();
        }
Пример #3
0
 public static void LoadDefault()
 {
     Docked   = DefaultDocked;
     Floating = DefaultFloating;
 }