Skip to content

Commit

Permalink
Showdown Markings Toggle (#1868)
Browse files Browse the repository at this point in the history
Perhaps we could have a temporary toggle while waiting for a master
settings page? :) Related: #1864
#1862
  • Loading branch information
ReignOfComputer authored and kwsch committed Mar 19, 2018
1 parent 9bb4120 commit 430938d
Show file tree
Hide file tree
Showing 6 changed files with 82 additions and 273 deletions.
3 changes: 3 additions & 0 deletions PKHeX.WinForms/App.config
Expand Up @@ -34,6 +34,9 @@
<setting name="ShinySprites" serializeAs="String">
<value>True</value>
</setting>
<setting name="ApplyMarkings" serializeAs="String">
<value>True</value>
</setting>
</PKHeX.WinForms.Properties.Settings>
</userSettings>
</configuration>
100 changes: 57 additions & 43 deletions PKHeX.WinForms/MainWindow/Main.Designer.cs

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

5 changes: 5 additions & 0 deletions PKHeX.WinForms/MainWindow/Main.cs
Expand Up @@ -251,6 +251,7 @@ private void FormLoadConfig(out bool BAKprompt, out bool showChangelog, out int

PKME_Tabs.Unicode = Unicode = Menu_Unicode.Checked = Settings.Unicode;
PKME_Tabs.UpdateUnicode(GenderSymbols);
Menu_ApplyMarkings.Checked = CommonEdits.ShowdownSetIVMarkings = Settings.ApplyMarkings;
SaveFile.SetUpdateDex = Menu_ModifyDex.Checked = Settings.SetUpdateDex;
SaveFile.SetUpdatePKM = C_SAV.ModifyPKM = PKME_Tabs.ModifyPKM = Menu_ModifyPKM.Checked = Settings.SetUpdatePKM;
C_SAV.FlagIllegal = Menu_FlagIllegal.Checked = Settings.FlagIllegal;
Expand Down Expand Up @@ -356,6 +357,10 @@ private void MainMenuUnicode(object sender, EventArgs e)
Settings.Default.Unicode = PKME_Tabs.Unicode = Unicode = Menu_Unicode.Checked;
PKME_Tabs.UpdateUnicode(GenderSymbols);
}
private void MainMenuMarkings(object sender, EventArgs e)
{
Settings.Default.ApplyMarkings = CommonEdits.ShowdownSetIVMarkings = Menu_ApplyMarkings.Checked;
}
private void MainMenuModifyDex(object sender, EventArgs e) => Settings.Default.SetUpdateDex = SaveFile.SetUpdateDex = Menu_ModifyDex.Checked;
private void MainMenuModifyUnset(object sender, EventArgs e) => Settings.Default.ModifyUnset = Menu_ModifyUnset.Checked;
private void MainMenuModifyPKM(object sender, EventArgs e) => Settings.Default.SetUpdatePKM = SaveFile.SetUpdatePKM = Menu_ModifyPKM.Checked;
Expand Down

0 comments on commit 430938d

Please sign in to comment.