From 0af9c840293bff1a0ad699fdd9f3a549294feef9 Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 6 Aug 2017 20:03:10 -0400 Subject: [PATCH] wip shifter and infobox prison --- ShiftOS.Frontend/Apps/Shifter.cs | 162 ++++++++++++++++++ ShiftOS.Frontend/Apps/SkinLoader.cs | 209 ++++++++++++++++++++++- ShiftOS.Frontend/Commands.cs | 35 ++++ ShiftOS.Frontend/GUI/Control.cs | 10 ++ ShiftOS.Frontend/ShiftOS.Frontend.csproj | 1 + 5 files changed, 414 insertions(+), 3 deletions(-) create mode 100644 ShiftOS.Frontend/Apps/Shifter.cs diff --git a/ShiftOS.Frontend/Apps/Shifter.cs b/ShiftOS.Frontend/Apps/Shifter.cs new file mode 100644 index 0000000..0572ed5 --- /dev/null +++ b/ShiftOS.Frontend/Apps/Shifter.cs @@ -0,0 +1,162 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Microsoft.Xna.Framework; +using Newtonsoft.Json; +using ShiftOS.Engine; +using ShiftOS.Frontend.GUI; + +namespace ShiftOS.Frontend.Apps +{ + [WinOpen("shifter")] + [DefaultTitle("Shifter")] + [Launcher("Shifter", false, null, "Customization")] + public class Shifter : Control, IShiftOSWindow + { + private const int metaWidth = 150; + private Button _apply = null; + private List