protected virtual void CompileOptionLayout( SuperGumpLayout layout, int index, int x, int y, int w, int h, NotifyGumpOption option) { layout.Add( "opts/" + index, () => { AddHtmlButton( x, y, w, h, b => { if (option.Callback != null) { option.Callback(b); } Refresh(); }, option.Label.GetString(User), option.LabelColor, option.FillColor, option.BorderColor, 1); }); }