private void ReloadMenuPaletteEditor() { if (menuPaletteEditor != null) { menuPaletteEditor.Reload(Model.Palette_BattleMenu, 2, 0, 2); } }
private void ReloadPaletteMenuEditor() { if (paletteEditorMenu != null) { paletteEditorMenu.Reload(Fonts.Model.Palette_Menu, 2, 0, 2); } }
private void ReloadNumeralPaletteEditor() { if (numeralPaletteEditor != null) { numeralPaletteEditor.Reload(Model.Palette_Numerals, 2, 0, 2); } }
private void ReloadSpritePaletteEditor() { if (spritePaletteEditor != null) { spritePaletteEditor.Reload(Model.ObjectPaletteSet, 8, 0, 8); } }
// Reloading private void ReloadPaletteEditor() { if (PaletteEditor != null) { PaletteEditor.Reload(PaletteSet, 8, 0, 8); } }
private void ReloadPaletteEditor() { if (paletteEditor != null) { paletteEditor.Reload(PaletteSet, 1, 0, 1); } }
private void ReloadPaletteEditor() { if (paletteEditor != null) { paletteEditor.Reload(animation.PaletteSet, 8, 0, 8); } }
private void LoadSpritePaletteEditor() { if (spritePaletteEditor == null) { spritePaletteEditor = new PaletteEditor(new Function(SpritePaletteUpdate), spritePaletteSet, 5, 0, 5); spritePaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { spritePaletteEditor.Reload(new Function(SpritePaletteUpdate), spritePaletteSet, 5, 0, 5); } }
// Editor loading private void LoadPaletteEditor() { if (paletteEditor == null) { paletteEditor = new PaletteEditor(new PaletteUpdater(), PaletteSet, 8, 0, 8); paletteEditor.Owner = this; } else { paletteEditor.Reload(PaletteSet, 8, 0, 8); } }
// private void LoadStagePaletteEditor() { if (stagePaletteEditor == null) { stagePaletteEditor = new PaletteEditor(new Function(StagePaletteUpdate), paletteSet, 8, 0, 8); stagePaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { stagePaletteEditor.Reload(new Function(StagePaletteUpdate), paletteSet, 8, 0, 8); } }
private void LoadMenuPaletteEditor() { if (menuPaletteEditor == null) { menuPaletteEditor = new PaletteEditor(new Function(MenuPaletteUpdate), Model.BattleMenuPalette, 2, 0, 2); menuPaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { menuPaletteEditor.Reload(new Function(MenuPaletteUpdate), Model.BattleMenuPalette, 2, 0, 2); } }
// editors public void LoadPaletteEditor() { if (paletteEditor == null) { paletteEditor = new PaletteEditor(new Function(PaletteUpdate), animation.PaletteSet, 8, 0, 8); paletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { paletteEditor.Reload(new Function(PaletteUpdate), animation.PaletteSet, 8, 0, 8); } }
public void LoadPaletteMenuEditor() { if (paletteEditorMenu == null) { paletteEditorMenu = new PaletteEditor(new Function(PaletteMenuUpdate), Model.FontPaletteMenu, 2, 0, 2); paletteEditorMenu.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { paletteEditorMenu.Reload(new Function(PaletteMenuUpdate), Model.FontPaletteMenu, 2, 0, 2); } }
// editors public void LoadPaletteEditor() { if (paletteEditor == null) { paletteEditor = new PaletteEditor(new Function(PaletteUpdate), fontPalette, 2, 1, 1); paletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { paletteEditor.Reload(new Function(PaletteUpdate), fontPalette, 2, 1, 1); } }
private void LoadLogoPaletteEditor() { if (logoPaletteEditor == null) { logoPaletteEditor = new PaletteEditor(new Function(LogoPaletteUpdate), logoPalette, 1, 0, 1); logoPaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { logoPaletteEditor.Reload(new Function(LogoPaletteUpdate), logoPalette, 1, 0, 1); } }
// private void LoadPaletteEditor() { if (paletteEditor == null) { paletteEditor = new PaletteEditor(new Function(PaletteUpdate), paletteSet, 8, 1, 7); paletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { paletteEditor.Reload(new Function(PaletteUpdate), paletteSet, 8, 1, 7); } }
private void LoadPaletteEditor() { if (numeralPaletteEditor == null) { numeralPaletteEditor = new PaletteEditor(new Function(PaletteUpdate), Model.NumeralPaletteSet, 2, 0, 2); numeralPaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { numeralPaletteEditor.Reload(new Function(PaletteUpdate), Model.NumeralPaletteSet, 2, 0, 2); } }
// Form loading private void LoadPaletteEditor() { if (paletteEditor == null) { paletteEditor = new PaletteEditor(new PaletteUpdater(), paletteSets[palette], 8, 2, 6); paletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { paletteEditor.Reload(paletteSets[palette], 8, 2, 6); } }
private void LoadSpritePaletteEditor() { if (spritePaletteEditor == null) { spritePaletteEditor = new PaletteEditor(new Function(SpritePaletteUpdate), Model.MinecartObjectPaletteSet, 8, 0, 8); spritePaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); } else { spritePaletteEditor.Reload(new Function(SpritePaletteUpdate), Model.MinecartObjectPaletteSet, 8, 0, 8); } }
private void LoadPaletteEditor() { if (PaletteEditor == null) { PaletteEditor = new PaletteEditor(new PaletteTitleUpdater(), PaletteSet, 8, 0, 8); PaletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); PaletteEditor.Owner = this.Owner; } else { PaletteEditor.Reload(PaletteSet, 8, 0, 8); } }
// Form management private void LoadPaletteEditor() { if (paletteEditor == null) { paletteEditor = new PaletteEditor(new PalettePreGameUpdater(), paletteSet, 1, 0, 1); paletteEditor.FormClosing += new FormClosingEventHandler(editor_FormClosing); paletteEditor.Owner = this.Owner; } else { paletteEditor.Reload(paletteSet, 1, 0, 1); } }
private void LoadLogoPaletteEditor() { var ownerForm = LazyShell.Model.Program.WorldMaps.WorldMapsForm; if (logoPaletteEditor == null) { logoPaletteEditor = new PaletteEditor(new LogoPaletteUpdater(), Model.Logos_PaletteSet, 1, 0, 1); logoPaletteEditor.Owner = ownerForm; } else { logoPaletteEditor.Reload(Model.Logos_PaletteSet, 1, 0, 1); } }