mark a todo + add some #regions

pull/32/head
Miepee 5 years ago
parent ea0a5d947f
commit b9eb2228a3

@ -682,6 +682,7 @@ namespace AM2RLauncher
// Get drawing variables // Get drawing variables
float height = drawable.Height; float height = drawable.Height;
float width = drawable.Width; float width = drawable.Width;
//TODO: apparently winforms is the big outlier here. Works normal on wpf, I have *no* idea why, investigate and submit issue at eto
float scaleDivisor = OS.IsWindows ? 955f : 715f; // Magic brute-forced values. Don't ask questions, because we don't have answers >_> float scaleDivisor = OS.IsWindows ? 955f : 715f; // Magic brute-forced values. Don't ask questions, because we don't have answers >_>
// Also, seems like nix systems share the same scaleDivisor. Again, don't ask. // Also, seems like nix systems share the same scaleDivisor. Again, don't ask.
float scale = height / scaleDivisor; float scale = height / scaleDivisor;

@ -390,6 +390,7 @@ namespace AM2RLauncher
#region TABS #region TABS
#region MAIN PAGE
// [MAIN PAGE] // [MAIN PAGE]
mainPage = new TabPage mainPage = new TabPage
{ {
@ -397,9 +398,10 @@ namespace AM2RLauncher
Text = Language.Text.PlayTab, Text = Language.Text.PlayTab,
Content = drawable Content = drawable
}; };
#endregion
#region CHANGELOG PAGE
// [CHANGELOG] // [CHANGELOG]
changelogUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/changelog.html"); changelogUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/changelog.html");
changelogWebView = new WebView { Url = changelogUri }; changelogWebView = new WebView { Url = changelogUri };
@ -427,6 +429,10 @@ namespace AM2RLauncher
} }
}; };
#endregion
#region NEWS PAGE
// [NEWS] // [NEWS]
newsUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/news.html"); newsUri = new Uri("https://am2r-community-developers.github.io/DistributionCenter/news.html");
newsWebView = new WebView { Url = newsUri }; newsWebView = new WebView { Url = newsUri };
@ -476,6 +482,10 @@ namespace AM2RLauncher
}; };
} }
#endregion
#region SETTINGS PAGE
// [LAUNCHER SETTINGS] // [LAUNCHER SETTINGS]
DynamicLayout settingsLayout = new DynamicLayout(); DynamicLayout settingsLayout = new DynamicLayout();
@ -634,8 +644,11 @@ namespace AM2RLauncher
Text = Language.Text.LauncherSettingsTab Text = Language.Text.LauncherSettingsTab
}; };
// [MOD SETTINGS] #endregion
#region MODSETTINGS PAGE
// [MOD SETTINGS]
DynamicLayout profileLayout = new DynamicLayout(); DynamicLayout profileLayout = new DynamicLayout();
@ -753,6 +766,8 @@ namespace AM2RLauncher
#endregion #endregion
#endregion
Content = new TabControl Content = new TabControl
{ {
Pages = Pages =

Loading…
Cancel
Save