Пример #1
0
 private void UpdateCharacter()
 {
     if (!Battle && Menu.IGM_Junction != null)
     {
         GFs             g = Contents[CURSOR_SELECT];
         IGMDataItem.Box i =
             (IGMDataItem.Box)((IGM_Junction.IGMData_GF_Group)Menu.IGM_Junction.Data[IGM_Junction.SectionName.TopMenu_GF_Group]).ITEM[2, 0];
         i.Data = JunctionedGFs.Count > 0 && JunctionedGFs.ContainsKey(g) ? Memory.Strings.GetName(JunctionedGFs[g]) : null;
     }
 }
Пример #2
0
        protected override void Init()
        {
            base.Init();
            filter = "";
            Game1.onTextEntered += Game1_onTextEntered;
            Contents             = new DataType[Rows * Cols];
            foreach (int i in Enumerable.Range(0, Rows * Cols))
            {
                ITEM[i, 0] = new IGMDataItem.Text {
                    Pos = SIZE[i]
                };
            }
            Rectangle rect = new Rectangle(CONTAINER.X + CONTAINER.Width / 4, CONTAINER.Y - 112, CONTAINER.Width / 2, 120);

            ITEM[Count - 3, 0] = new IGMDataItem.Box {
                Pos = rect, Options = Box_Options.Center | Box_Options.Middle, Title = Icons.ID.INFO
            };
            Cursor_Status |= Cursor_Status.Horizontal;
            Hide();
        }