summaryrefslogtreecommitdiff
path: root/Penguloon/StaticUIValues.cs
diff options
context:
space:
mode:
authoraldrikboy <aldrikboy@gmail.com>2017-12-23 19:14:34 +0100
committeraldrikboy <aldrikboy@gmail.com>2017-12-23 19:14:34 +0100
commitad0d29bf5d881ab619a90ffb8a1f3352eba21615 (patch)
treec69fe6ea7212f2d839ca52e3adb523b27dc532b9 /Penguloon/StaticUIValues.cs
parent1276593bfbbfcdbac24b48cf8b574da25945d763 (diff)
Communism
Diffstat (limited to 'Penguloon/StaticUIValues.cs')
-rw-r--r--Penguloon/StaticUIValues.cs18
1 files changed, 17 insertions, 1 deletions
diff --git a/Penguloon/StaticUIValues.cs b/Penguloon/StaticUIValues.cs
index e675ea5..9068461 100644
--- a/Penguloon/StaticUIValues.cs
+++ b/Penguloon/StaticUIValues.cs
@@ -30,6 +30,10 @@ namespace Penguloon
public static int IngameUIPlayButtonHeight { get; set; }
+ public static int ChangeSpeedButtonWidth { get; set; }
+
+ public static Vector2 IngameOptionsSize { get; set; }
+
public static void Initialize(Main main)
{
ScreenViewport = main.GraphicsDevice.Viewport.Bounds.Size.ToVector2();
@@ -43,6 +47,9 @@ namespace Penguloon
MenuButtonSize = new Vector2(800, 150);
MenuFont = "Fonts/GWENT/72";
IngameUIWidth = 350;
+ IngameUIPlayButtonHeight = 120;
+ ChangeSpeedButtonWidth = 200;
+ IngameOptionsSize = new Vector2(800, 1000);
}
else if (ScreenViewport.X >= 1920)
{
@@ -51,6 +58,9 @@ namespace Penguloon
LoadingProgressbarSize = new Vector2((int)(800 * 1.3), (int)(150 * 1.3));
MenuFont = "Fonts/GWENT/72";
IngameUIWidth = 350;
+ IngameUIPlayButtonHeight = 120;
+ ChangeSpeedButtonWidth = 200;
+ IngameOptionsSize = new Vector2((int)(800 * 0.85), (int)(1000 * 0.85));
}
else if (ScreenViewport.X >= 1280)
{
@@ -58,6 +68,9 @@ namespace Penguloon
MenuButtonSize = new Vector2((int)(800 * 0.7), (int)(150 * 0.7));
LoadingProgressbarSize = new Vector2((int)(800 * 1), (int)(150 * 1));
MenuFont = "Fonts/GWENT/48";
+ IngameUIPlayButtonHeight = 80;
+ ChangeSpeedButtonWidth = 130;
+ IngameOptionsSize = new Vector2((int)(800 * 0.7), (int)(1000 * 0.7));
}
else
{
@@ -65,6 +78,9 @@ namespace Penguloon
MenuButtonSize = new Vector2((int)(800 * 0.7), (int)(150 * 0.7));
LoadingProgressbarSize = new Vector2((int)(800 * 0.7), (int)(150 * 0.7));
MenuFont = "Fonts/GWENT/48";
+ IngameUIPlayButtonHeight = 80;
+ ChangeSpeedButtonWidth = 130;
+ IngameOptionsSize = new Vector2((int)(800 * 0.7), (int)(1000 * 0.7));
}
IngameFont = "Fonts/GWENT/24";
@@ -75,7 +91,7 @@ namespace Penguloon
SnowflakeSize = 100;
IngameUITextAreaHeight = 120;
- IngameUIPlayButtonHeight = 120;
+
}
}
} \ No newline at end of file