public GItemList(int serial, int menuID, string question, AnswerEntry[] answers) : base(0x910, 0x19, 0x19) { this.m_xLast = -1234; this.m_yLast = -1234; this.m_Serial = serial; this.m_MenuID = menuID; this.m_EntryLabel = new GLabel("", Engine.GetFont(1), Hues.Load(0x75f), 0x27, 0x6a); base.m_Children.Add(this.m_EntryLabel); GLabel toAdd = new GLabel(question, Engine.GetFont(1), Hues.Load(0x75f), 0x27, 0x13); toAdd.Scissor(0, 0, 0xda, 11); base.m_Children.Add(toAdd); int x = 0x25; for (int i = 0; i < answers.Length; i++) { GItemListEntry entry = new GItemListEntry(x, answers[i], this); base.m_Children.Add(entry); x += entry.Width; } x -= 0x25; if (x >= 0xde) { this.m_xOffsetCap = -(x - 0xde); this.m_Left = new GItemListScroller(0x17, this, 150); this.m_Right = new GItemListScroller(0x105, this, -150); base.m_Children.Add(this.m_Left); base.m_Children.Add(this.m_Right); } }