New banner editor (#44)

* Make basic interface framework (unfinished)

* Show Items

* Show Weights

* Update Weights

* Complete the new banner editor

* Simple supplementary English translation (unfinished)

* i18n Update

* Update version to v1.4.0

* Clean up code
This commit is contained in:
2022-05-21 15:56:33 +08:00
committed by GitHub
parent 037d2c4a5a
commit ed9b393478
11 changed files with 4644 additions and 1251 deletions

View File

@@ -162,35 +162,35 @@ namespace GrasscutterTools.Forms
#region - -
private FormGachaBannerEditor FormGachaBannerEditor;
private Form GachaBannerEditor;
private void BtnOpenGachaBannerEditor_Click(object sender, EventArgs e)
{
if (FormGachaBannerEditor == null || FormGachaBannerEditor.IsDisposed)
if (GachaBannerEditor == null || GachaBannerEditor.IsDisposed)
{
FormGachaBannerEditor = new FormGachaBannerEditor();
FormGachaBannerEditor.Show();
GachaBannerEditor = new FormGachaBannerEditor2();
GachaBannerEditor.Show();
}
else
{
FormGachaBannerEditor.TopMost = true;
FormGachaBannerEditor.TopMost = false;
GachaBannerEditor.TopMost = true;
GachaBannerEditor.TopMost = false;
}
}
private FormTextMapBrowser FormTextMapBrowser;
private FormTextMapBrowser TextMapBrowser;
private void BtnOpenTextMap_Click(object sender, EventArgs e)
{
if (FormTextMapBrowser == null || FormTextMapBrowser.IsDisposed)
if (TextMapBrowser == null || TextMapBrowser.IsDisposed)
{
FormTextMapBrowser = new FormTextMapBrowser();
FormTextMapBrowser.Show();
TextMapBrowser = new FormTextMapBrowser();
TextMapBrowser.Show();
}
else
{
FormTextMapBrowser.TopMost = true;
FormTextMapBrowser.TopMost = false;
TextMapBrowser.TopMost = true;
TextMapBrowser.TopMost = false;
}
}