public SurveyToolGump(int header, int headerColor, object content, int contentColor, int width, int height, SurveyToolGumpCallback callback, object state) : base(50, 50) { m_Callback = callback; m_State = state; Closable = true; AddPage(0); AddBackground(10, 10, 190, 140, 0x242C); AddHtml(30, 30, 150, 75, String.Format("<div align=CENTER>{0}</div>", "This house seems to fit here."), false, false); AddButton(40, 85, 4005, 4007, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(40, 107, 0x81A, 0x81B, 1011036, 32767, false, false); // okay }
public SurveyToolGump( int header, int headerColor, object content, int contentColor, int width, int height, SurveyToolGumpCallback callback, object state ) : base( 50, 50) { m_Callback = callback; m_State = state; Closable = true; AddPage( 0 ); AddBackground( 10, 10, 190, 140, 0x242C ); AddHtml( 30, 30, 150, 75, String.Format( "<div align=CENTER>{0}</div>", "This house seems to fit here." ), false, false ); AddButton( 40, 85, 4005, 4007, 0, GumpButtonType.Reply, 0 ); AddHtmlLocalized( 40, 107, 0x81A, 0x81B, 1011036, 32767, false, false ); // okay }