diff options
| author | aldrikboy <aldrikboy@gmail.com> | 2017-12-29 17:27:49 +0100 |
|---|---|---|
| committer | aldrikboy <aldrikboy@gmail.com> | 2017-12-29 17:27:49 +0100 |
| commit | da38e93e55b6ff46a53dcd9d2be393149089d329 (patch) | |
| tree | c19fdb964ee6f8dd8dd3102b22de541828850983 /Penguloon/StaticUIValues.cs | |
| parent | 5373e919a0d9e389fc2076963f610d044c21ccb5 (diff) | |
obejct info, new level selector, credits haHA
Diffstat (limited to 'Penguloon/StaticUIValues.cs')
| -rw-r--r-- | Penguloon/StaticUIValues.cs | 6 |
1 files changed, 6 insertions, 0 deletions
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); |
