public DisguiseGump( Mobile from, DisguiseKit kit, bool startAtHair, bool used ) : base( 50, 50 )
{
m_From = from;
m_Kit = kit;
m_Used = used;
from.CloseGump( typeof( DisguiseGump ) );
AddPage( 0 );
AddBackground( 100, 10, 400, 385, 2600 );
// <center>THIEF DISGUISE KIT</center>
AddHtmlLocalized( 100, 25, 400, 35, 1011045, false, false );
AddButton( 140, 353, 4005, 4007, 0, GumpButtonType.Reply, 0 );
AddHtmlLocalized( 172, 355, 90, 35, 1011036, false, false ); // OKAY
AddButton( 257, 353, 4005, 4007, 1, GumpButtonType.Reply, 0 );
AddHtmlLocalized( 289, 355, 90, 35, 1011046, false, false ); // APPLY
if ( from.Female || from.Body.IsFemale )
{
DrawEntries( 0, 1, -1, m_HairEntries, -1 );
}
else if ( startAtHair )
{
DrawEntries( 0, 1, 2, m_HairEntries, 1011056 );
DrawEntries( 1, 2, 1, m_BeardEntries, 1011059 );
}
else
{
DrawEntries( 1, 1, 2, m_BeardEntries, 1011059 );
DrawEntries( 0, 2, 1, m_HairEntries, 1011056 );
}
}