From d94c79dbf5183230e5fd3342848408f776de60ea Mon Sep 17 00:00:00 2001 From: Richie Moch Date: Sat, 22 Dec 2018 15:24:55 -0600 Subject: Various changes, began working on the texture skinning. --- ShiftOS.Main/MainGame/Apps/ShiftDemo.cs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ShiftOS.Main/MainGame/Apps/ShiftDemo.cs (limited to 'ShiftOS.Main/MainGame/Apps/ShiftDemo.cs') diff --git a/ShiftOS.Main/MainGame/Apps/ShiftDemo.cs b/ShiftOS.Main/MainGame/Apps/ShiftDemo.cs new file mode 100644 index 0000000..ced10d2 --- /dev/null +++ b/ShiftOS.Main/MainGame/Apps/ShiftDemo.cs @@ -0,0 +1,18 @@ +using System.Windows.Forms; +using ShiftOS.Engine.WindowManager; + +namespace ShiftOS.Main.ShiftOS.Apps +{ + public partial class ShiftDemo : UserControl, IShiftWindowExtensions + { + public ShiftDemo() + { + InitializeComponent(); + } + + public void OnLoaded(ShiftWindow window) + { + icon.Image = this.GetShiftWindow().Icon.ToBitmap(); + } + } +} \ No newline at end of file -- cgit v1.2.3