diff options
| author | Richie Moch <[email protected]> | 2018-12-22 15:24:55 -0600 |
|---|---|---|
| committer | Richie Moch <[email protected]> | 2018-12-22 15:24:55 -0600 |
| commit | d94c79dbf5183230e5fd3342848408f776de60ea (patch) | |
| tree | e679a6ebd541e4c84ef39fdc2af78229eebea363 /ShiftOS.Main/MainGame/Apps/ShiftDemo.cs | |
| parent | 9d9958e18bda9142cb118f13332f2649a530f27f (diff) | |
| download | shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.tar.gz shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.tar.bz2 shiftos-rewind-d94c79dbf5183230e5fd3342848408f776de60ea.zip | |
Various changes, began working on the texture skinning.
Diffstat (limited to 'ShiftOS.Main/MainGame/Apps/ShiftDemo.cs')
| -rw-r--r-- | ShiftOS.Main/MainGame/Apps/ShiftDemo.cs | 18 |
1 files changed, 18 insertions, 0 deletions
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 |
