Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.
/ ModManager Public archive

Commit

Permalink
version 4.0.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MatuxGG committed Jun 2, 2021
1 parent 7c405e5 commit b6b62b2
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 43 deletions.
2 changes: 1 addition & 1 deletion MakeExecutableFile.iss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "ModManager"
#define MyAppVersion "4.0.6"
#define MyAppVersion "4.0.7"
#define MyAppPublisher "Matux"
#define MyAppURL "https://matux.fr"
#define MyAppExeName "ModManager4.exe"
Expand Down
13 changes: 8 additions & 5 deletions ModManager4/Class/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,14 @@ public Config()
public List<int[]> getResolutions()
{
List<int[]> temp = new List<int[]>();
temp.Add(new int[] { 2560, 1600 });
temp.Add(new int[] { 1920, 1200 });
temp.Add(new int[] { 1680, 1050 });
temp.Add(new int[] { 1440, 900 });
temp.Add(new int[] { 1280, 800 });
int x = 2560;
int y = 1600;
while (y >= 450)
{
temp.Add(new int[] { x, y });
x = (x * (y - 50)) / y;
y = y - 50;
}

List<int[]> res = new List<int[]>();
foreach (int[] r in temp)
Expand Down
36 changes: 4 additions & 32 deletions ModManager4/Class/Fontlist.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,10 @@ public class Fontlist

public Fontlist(int height)
{
sizeS = 10F;
sizeM = 12F;
sizeL = 14F;
sizeXL = 20F;
if (height == 900)
{
sizeS = 12F;
sizeM = 14F;
sizeL = 16F;
sizeXL = 22F;
}
else if (height == 1050)
{
sizeS = 14F;
sizeM = 16F;
sizeL = 18F;
sizeXL = 24F;
}
else if (height == 1200)
{
sizeS = 16F;
sizeM = 18F;
sizeL = 20F;
sizeXL = 26F;
}
else if (height == 1600)
{
sizeS = 18F;
sizeM = 20F;
sizeL = 22F;
sizeXL = 28F;
}
sizeS = 18 - (int)((1600 - height) / 100);
sizeM = 20 - (int)((1600 - height) / 100);
sizeL = 22 - (int)((1600 - height) / 100);
sizeXL = 28 - (int)((1600 - height) / 50);
}
}
}
2 changes: 1 addition & 1 deletion ModManager4/ModManager.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions ModManager4/ModManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ public ModManager()
{
InitializeComponent();

this.Size = new Size(0, 0);
this.CenterToScreen();
this.Hide();

_ = this.Start();
}
Expand Down
4 changes: 2 additions & 2 deletions ModManager4/ModManager4.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<TargetFramework>net5.0-windows</TargetFramework>
<UseWindowsForms>true</UseWindowsForms>
<ApplicationIcon>modmanager.ico</ApplicationIcon>
<AssemblyVersion>4.0.6.0</AssemblyVersion>
<FileVersion>4.0.6.0</FileVersion>
<AssemblyVersion>4.0.7.0</AssemblyVersion>
<FileVersion>4.0.7.0</FileVersion>
<Authors>Matux</Authors>
<PackageProjectUrl>https://github.com/MatuxGG/ModManager</PackageProjectUrl>
<PackageIcon>modmanager.ico</PackageIcon>
Expand Down

0 comments on commit b6b62b2

Please sign in to comment.