From da38e93e55b6ff46a53dcd9d2be393149089d329 Mon Sep 17 00:00:00 2001 From: aldrikboy Date: Fri, 29 Dec 2017 17:27:49 +0100 Subject: obejct info, new level selector, credits haHA --- 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 afda2ce..3a461a1 100644 --- a/Penguloon/StaticUIValues.cs +++ b/Penguloon/StaticUIValues.cs @@ -39,6 +39,8 @@ namespace Penguloon public static Vector2 IngameOptionsSize { get; set; } + public static Vector2 IngameInfoPanelSize { get; set; } + public static void Initialize(Main main) { ScreenViewport = main.GraphicsDevice.Viewport.Bounds.Size.ToVector2(); @@ -61,6 +63,7 @@ namespace Penguloon IngameUITextAreaHeight = 160; StatsMarginXRight = 150; LoadingScreenTitle = "Fonts/GWENT/192"; + IngameInfoPanelSize = new Vector2((int)(800 * 0.8), (int)(400 * 0.8)); } else if (ScreenViewport.X >= 1920) { @@ -78,6 +81,7 @@ namespace Penguloon IngameUITextAreaHeight = 160; StatsMarginXRight = 150; LoadingScreenTitle = "Fonts/GWENT/192"; + IngameInfoPanelSize = new Vector2((int)(800 * 0.8), (int)(400 * 0.8)); } else if (ScreenViewport.X >= 1280) { @@ -94,6 +98,7 @@ namespace Penguloon IngameUITextAreaHeight = 120; StatsMarginXRight = 100; LoadingScreenTitle = "Fonts/GWENT/128"; + IngameInfoPanelSize = new Vector2((int)(800 * 0.55), (int)(400 * 0.55)); } else { @@ -110,6 +115,7 @@ namespace Penguloon IngameUITextAreaHeight = 120; StatsMarginXRight = 100; LoadingScreenTitle = "Fonts/GWENT/128"; + IngameInfoPanelSize = new Vector2((int)(800 * 0.55), (int)(400 * 0.55)); } LoadingProgressbarPosition = new Vector2((ScreenViewport.X - LoadingProgressbarSize.X) / 2, ScreenViewport.Y - LoadingProgressbarSize.Y - 200); -- cgit v1.2.3-70-g09d2