From c3c4f2c7617c393ad6e8c7f1d87abf4a9a8cf602 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Mon, 1 Jan 2018 23:49:59 +0100 Subject: bobba --- Penguloon/StaticUIValues.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Penguloon/StaticUIValues.cs') diff --git a/Penguloon/StaticUIValues.cs b/Penguloon/StaticUIValues.cs index 3a461a1..b436283 100644 --- a/Penguloon/StaticUIValues.cs +++ b/Penguloon/StaticUIValues.cs @@ -41,6 +41,8 @@ namespace Penguloon public static Vector2 IngameInfoPanelSize { get; set; } + public static Vector2 AlertSize { get; set; } + public static void Initialize(Main main) { ScreenViewport = main.GraphicsDevice.Viewport.Bounds.Size.ToVector2(); @@ -64,6 +66,7 @@ namespace Penguloon StatsMarginXRight = 150; LoadingScreenTitle = "Fonts/GWENT/192"; IngameInfoPanelSize = new Vector2((int)(800 * 0.8), (int)(400 * 0.8)); + AlertSize = new Vector2((int)(800 * 1), (int)(200 * 1)); } else if (ScreenViewport.X >= 1920) { @@ -82,6 +85,7 @@ namespace Penguloon StatsMarginXRight = 150; LoadingScreenTitle = "Fonts/GWENT/192"; IngameInfoPanelSize = new Vector2((int)(800 * 0.8), (int)(400 * 0.8)); + AlertSize = new Vector2((int)(800 * 1), (int)(200 * 1)); } else if (ScreenViewport.X >= 1280) { @@ -99,6 +103,7 @@ namespace Penguloon StatsMarginXRight = 100; LoadingScreenTitle = "Fonts/GWENT/128"; IngameInfoPanelSize = new Vector2((int)(800 * 0.55), (int)(400 * 0.55)); + AlertSize = new Vector2((int)(800 * 0.8), (int)(200 * 0.8)); } else { @@ -116,6 +121,7 @@ namespace Penguloon StatsMarginXRight = 100; LoadingScreenTitle = "Fonts/GWENT/128"; IngameInfoPanelSize = new Vector2((int)(800 * 0.55), (int)(400 * 0.55)); + AlertSize = new Vector2((int)(800 * 0.8), (int)(200 * 0.8)); } LoadingProgressbarPosition = new Vector2((ScreenViewport.X - LoadingProgressbarSize.X) / 2, ScreenViewport.Y - LoadingProgressbarSize.Y - 200); -- cgit v1.2.3-70-g09d2