public VerifyActionGump(SellInfo info) : base(true) { m_Info = info; Closable = false; Disposable = false; int seizure = Math.Max((int)(m_Info.Quantity * Config.SellGoodsSeizure), 1); AddBackground(0, 0, 500, 350, 2600); AddBackground(125, 22, 250, 83, 2600); AddHtml(0, 32, 500, 18, Center("West Britain Exchange"), false, false); AddHtml(0, 53, 500, 18, Center("Selling"), false, false); AddBackground(75, 150, 350, 100, 3000); AddHtml(80, 155, 340, 90, String.Format("Warning!<br>Canceling this offer will result in the removal of {0} units of your goods.", seizure), false, false); AddButton(92, 294, 247, 248, 0, GumpButtonType.Reply, 0); AddButton(338, 292, 241, 242, 1, GumpButtonType.Reply, 0); }
public VerifyActionGump(BuyInfo info) : base(true) { m_Info = info; Closable = false; Disposable = false; AddBackground(0, 0, 500, 350, 2600); AddBackground(125, 15, 250, 76, 9250); AddHtml(0, 32, 500, 18, Center("West Britain Exchange"), false, false); AddHtml(0, 53, 500, 18, Center("Selling"), false, false); AddBackground(75, 150, 350, 100, 3000); AddHtml(80, 155, 340, 90, "Warning!<br>Canceling this offer will remove it from the exchange board, the incurred costs will not be returned", false, false); AddButton(92, 294, 247, 248, 0, GumpButtonType.Reply, 0); AddButton(338, 292, 241, 242, 1, GumpButtonType.Reply, 0); }