diff options
| author | Michael <[email protected]> | 2017-08-05 22:57:40 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-05 22:57:40 -0400 |
| commit | 97a5a97370bc8f4d721791457d551c6bd2b0b67c (patch) | |
| tree | cf4bcc05af8f6153fd35fcd2e6a2f6e21945b27a /ShiftOS.Frontend/ShiftOS.cs | |
| parent | f4d11fcdad5fdfc7c25cf3c6f96516b2330dca1c (diff) | |
| download | shiftos_thereturn-97a5a97370bc8f4d721791457d551c6bd2b0b67c.tar.gz shiftos_thereturn-97a5a97370bc8f4d721791457d551c6bd2b0b67c.tar.bz2 shiftos_thereturn-97a5a97370bc8f4d721791457d551c6bd2b0b67c.zip | |
skin loader and ui tint
Diffstat (limited to 'ShiftOS.Frontend/ShiftOS.cs')
| -rw-r--r-- | ShiftOS.Frontend/ShiftOS.cs | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/ShiftOS.Frontend/ShiftOS.cs b/ShiftOS.Frontend/ShiftOS.cs index 65ec7aa..7cc142e 100644 --- a/ShiftOS.Frontend/ShiftOS.cs +++ b/ShiftOS.Frontend/ShiftOS.cs @@ -29,6 +29,8 @@ namespace ShiftOS.Frontend private bool failEnded = false; private double failCharAddMS = 0; + public Color UITint = Color.White; + private bool DisplayDebugInfo = false; private KeyboardListener keyboardListener = new KeyboardListener (); @@ -59,7 +61,7 @@ namespace ShiftOS.Frontend ); Content.RootDirectory = "Content"; - + graphicsDevice.PreferMultiSampling = true; //Make window borderless Window.IsBorderless = false; @@ -327,9 +329,10 @@ namespace ShiftOS.Frontend var rasterizerState = new RasterizerState(); rasterizerState.CullMode = CullMode.None; rasterizerState.MultiSampleAntiAlias = true; + spriteBatch.Begin(SpriteSortMode.Immediate, BlendState.NonPremultiplied, - SamplerState.LinearClamp, DepthStencilState.Default, + SamplerState.LinearWrap, DepthStencilState.Default, rasterizerState); //Draw the desktop BG. UIManager.DrawBackgroundLayer(GraphicsDevice, spriteBatch, 640, 480); |
