Files
abysmal-isle/Scripts/SubSystem/TownHouses/Gumps/Gumps Plus Light/InfoGump.cs
Unstable Kitsune b918192e4e Overwrite
Complete Overwrite of the Folder with the free shard. ServUO 57.3 has been added.
2023-11-28 23:20:26 -05:00

32 lines
646 B
C#

#region References
using Server;
#endregion
namespace Knives.TownHouses
{
public class InfoGump : GumpPlusLight
{
private readonly int c_Width;
private readonly int c_Height;
private readonly string c_Text;
private readonly bool c_Scroll;
public InfoGump(Mobile m, int width, int height, string text, bool scroll)
: base(m, 100, 100)
{
c_Width = width;
c_Height = height;
c_Text = text;
c_Scroll = scroll;
NewGump();
}
protected override void BuildGump()
{
AddBackground(0, 0, c_Width, c_Height, 0x13BE);
AddHtml(20, 20, c_Width - 40, c_Height - 40, HTML.White + c_Text, false, c_Scroll);
}
}
}