Exemplo n.º 1
0
        public static void LoadPreset(string id)
        {
            Docked   = FromEmbedded($"Presets.{id}.Docked.xml");
            Floating = FromEmbedded($"Presets.{id}.Floating.xml");

            Persistent.SaveLayouts();
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 public static void LoadDefault()
 {
     Docked   = DefaultDocked;
     Floating = DefaultFloating;
 }