Example #1
0
 private void ReloadMenuPaletteEditor()
 {
     if (menuPaletteEditor != null)
     {
         menuPaletteEditor.Reload(Model.Palette_BattleMenu, 2, 0, 2);
     }
 }
Example #2
0
 private void ReloadPaletteMenuEditor()
 {
     if (paletteEditorMenu != null)
     {
         paletteEditorMenu.Reload(Fonts.Model.Palette_Menu, 2, 0, 2);
     }
 }
Example #3
0
 private void ReloadNumeralPaletteEditor()
 {
     if (numeralPaletteEditor != null)
     {
         numeralPaletteEditor.Reload(Model.Palette_Numerals, 2, 0, 2);
     }
 }
Example #4
0
 private void ReloadSpritePaletteEditor()
 {
     if (spritePaletteEditor != null)
     {
         spritePaletteEditor.Reload(Model.ObjectPaletteSet, 8, 0, 8);
     }
 }
Example #5
0
 // Reloading
 private void ReloadPaletteEditor()
 {
     if (PaletteEditor != null)
     {
         PaletteEditor.Reload(PaletteSet, 8, 0, 8);
     }
 }
Example #6
0
 private void ReloadPaletteEditor()
 {
     if (paletteEditor != null)
     {
         paletteEditor.Reload(PaletteSet, 1, 0, 1);
     }
 }
Example #7
0
 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);
     }
 }
Example #9
0
 // 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);
     }
 }
Example #10
0
 //
 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);
     }
 }
Example #11
0
 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);
     }
 }
Example #12
0
 // 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);
     }
 }
Example #13
0
 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);
     }
 }
Example #14
0
 // 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);
     }
 }
Example #15
0
 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);
     }
 }
Example #17
0
 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);
     }
 }
Example #18
0
 // 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);
     }
 }
Example #19
0
 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);
     }
 }
Example #20
0
 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);
     }
 }
Example #21
0
 // 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);
     }
 }
Example #22
0
        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);
            }
        }