public ConfirmJoinInstanceGump(PeerlessInstance instance) : base(50, 50) { m_Instance = instance; AddPage(0); AddBackground(0, 0, 240, 135, 0x2422); AddHtmlLocalized(15, 15, 210, 75, 1072525, 0x0, false, false); // <CENTER>Are you sure you want to teleport <BR>your party to an unknown area?</CENTER> AddButton(160, 95, 0xF7, 0xF8, 1, GumpButtonType.Reply, 0); AddButton(90, 95, 0xF2, 0xF1, 0, GumpButtonType.Reply, 0); }
public RejoinInstanceGump(PeerlessInstance instance, int titleCliloc, int msgCliloc) : base(340, 340) { /* Not sure if the gump structure is the same as OSI, but this is better than nothing */ m_Instance = instance; AddPage(0); AddBackground(0, 0, 291, 99, 0x13BE); AddImageTiled(5, 6, 280, 20, 0xA40); AddHtmlLocalized(9, 8, 280, 20, titleCliloc, 0x7FFF, false, false); AddImageTiled(5, 31, 280, 40, 0xA40); AddHtmlLocalized(9, 35, 272, 40, msgCliloc, 0x7FFF, false, false); AddButton(215, 73, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0); AddHtmlLocalized(250, 75, 65, 20, 1006044, 0x7FFF, false, false); // OK AddButton(5, 73, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0); AddHtmlLocalized(40, 75, 100, 20, 1060051, 0x7FFF, false, false); // CANCEL }