From de9bc8567b268e9659d174f65ce7dc23dff6fafe Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 5 Jul 2017 13:15:00 -0400 Subject: experimental stuff --- ShiftOS.Frontend/Infobox.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ShiftOS.Frontend/Infobox.cs') diff --git a/ShiftOS.Frontend/Infobox.cs b/ShiftOS.Frontend/Infobox.cs index 3f47b54..a71785b 100644 --- a/ShiftOS.Frontend/Infobox.cs +++ b/ShiftOS.Frontend/Infobox.cs @@ -4,6 +4,8 @@ using System.Linq; using System.Text; using System.Threading.Tasks; using ShiftOS.Engine; +using ShiftOS.Frontend.Desktop; +using ShiftOS.Frontend.GraphicsSubsystem; using ShiftOS.Frontend.GUI; namespace ShiftOS.Frontend @@ -165,7 +167,7 @@ namespace ShiftOS.Frontend this.pbicon.Y = 19; this.pbicon.Width = 64; this.pbicon.Height = 64; - this.pbicon.Image = Properties.Resources.justthes; + this.pbicon.Image = Properties.Resources.justthes.ToTexture2D(UIManager.GraphicsDevice); this.pbicon.ImageLayout = ImageLayout.Stretch; // // Dialog -- cgit v1.2.3