Ejemplo n.º 1
0
        private static void InitLoad()
        {
            strLoadScreen = new Dictionary <Enum, Item>()
            {
                { Litems.GameFolder, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 86)
                  } },
                { Litems.Load, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 0, 54)
                  } },
                { Litems.LoadFF8, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 128)
                  } },
                { Litems.Save, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 0, 14)
                  } },
                { Litems.SaveFF8, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 117)
                  } },
                { Litems.FF8, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 127)
                  } },
                { Litems.Loading, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 93)
                  } },
                { Litems.Saving, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 94)
                  } },
                { Litems.Slot1, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 87)
                  } },
                { Litems.Slot2, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 88)
                  } },
                { Litems.GameFolderSlot1, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 121)
                  } },
                { Litems.GameFolderSlot2, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 122)
                  } },
                { Litems.CheckGameFolder, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 110)
                  } },
                { Litems.BlockToLoad, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 114)
                  } },
                { Litems.BlockToSave, new Item {
                      Text = Memory.Strings.Read(Strings.FileID.MNGRP, 1, 89)
                  } },
            };
            SlotLoc  = 0;
            BlockLoc = 0;

            SlotLocs  = new Menu.BoxReturn[2];
            BlockLocs = new Menu.BoxReturn[3];
        }
Ejemplo n.º 2
0
        private static Menu.BoxReturn DrawLGSGSlot(Vector2 offset, FF8String title, FF8String main)
        {
            Rectangle dst  = new Rectangle((int)(vp_per.X * 0.3703125f), (int)(vp_per.Y * 0.386111111f), (int)(vp_per.X * 0.259375f), (int)(vp_per.Y * 0.141666667f));
            Rectangle slot = new Rectangle(dst.Location, new Point((int)(vp_per.X * 0.1f), (int)(vp_per.Y * 0.0875f)));

            slot.Offset(vp_per.X * -0.00859375f, vp_per.Y * -0.033333333f);
            slot.Offset(offset);
            dst.Offset(offset);
            Menu.BoxReturn location = Menu.DrawBox(dst, main, options: Box_Options.Buttom);
            Menu.DrawBox(slot, title);
            return(location);
        }
Ejemplo n.º 3
0
 public override void Refresh()
 {
     if (Enabled)
     {
         Cursor_Status |= (Cursor_Status.Draw | Cursor_Status.Blinking);
         if (ITEM[0, 0].GetType() == typeof(IGMDataItem.Box))
         {
             ((IGMDataItem.Box)ITEM[0, 0]).Draw(true);
             Menu.BoxReturn dims = ((IGMDataItem.Box)ITEM[0, 0]).Dims;
             if (dims.Cursor != Point.Zero)
             {
                 CURSOR[0] = dims.Cursor;
             }
         }
     }
     base.Refresh();
 }