public ScaleBoxGump(PlayerMobile from, ScaleBox box) : base(25, 25) { m_From = from; m_Box = box; m_From.CloseGump(typeof(ScaleBoxGump)); AddPage(0); AddBackground(12, 19, 210, 230, 9250); AddLabel(100, 30, 32, @"Scale Box"); AddLabel(60, 50, 32, @"Add Item"); AddButton(25, 50, 4005, 4007, 1, GumpButtonType.Reply, 0); AddLabel(60, 75, 32, @"Close"); AddButton(25, 75, 4005, 4007, 0, GumpButtonType.Reply, 0); AddLabel(60, 115, 0, @"Black"); AddLabel(150, 115, 0x480, box.Black.ToString()); AddButton(25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0); AddLabel(60, 135, 2223, @"Blue"); AddLabel(150, 135, 0x480, box.Blue.ToString()); AddButton(25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0); AddLabel(60, 155, 2128, @"Green"); AddLabel(150, 155, 0x480, box.Green.ToString()); AddButton(25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0); AddLabel(60, 175, 1644, @"Red"); AddLabel(150, 175, 0x480, box.Red.ToString()); AddButton(25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0); AddLabel(60, 195, 2215, @"Yellow"); AddLabel(150, 195, 0x480, box.Yellow.ToString()); AddButton(25, 195, 4005, 4007, 7, GumpButtonType.Reply, 0); AddLabel(60, 215, 2300, @"White"); AddLabel(150, 215, 0x480, box.White.ToString()); AddButton(25, 215, 4005, 4007, 8, GumpButtonType.Reply, 0); }
public ScaleBoxTarget(ScaleBox box) : base(18, false, TargetFlags.None) { m_Box = box; }
public ScaleBoxTarget( ScaleBox box ) : base( 18, false, TargetFlags.None ) { m_Box = box; }
public ScaleBoxGump( PlayerMobile from, ScaleBox box ) : base( 25, 25 ) { m_From = from; m_Box = box; m_From.CloseGump( typeof( ScaleBoxGump ) ); AddPage( 0 ); AddBackground( 12, 19, 210, 230, 9250); AddLabel( 100, 30, 32, @"Scale Box"); AddLabel( 60, 50, 32, @"Add Item"); AddButton( 25, 50, 4005, 4007, 1, GumpButtonType.Reply, 0); AddLabel( 60, 75, 32, @"Close"); AddButton( 25, 75, 4005, 4007, 0, GumpButtonType.Reply, 0); AddLabel( 60, 115, 0, @"Black"); AddLabel( 150, 115, 0x480, box.Black.ToString() ); AddButton( 25, 115, 4005, 4007, 3, GumpButtonType.Reply, 0); AddLabel( 60, 135, 2223, @"Blue"); AddLabel( 150, 135, 0x480, box.Blue.ToString() ); AddButton( 25, 135, 4005, 4007, 4, GumpButtonType.Reply, 0); AddLabel( 60, 155, 2128, @"Green"); AddLabel( 150, 155, 0x480, box.Green.ToString() ); AddButton( 25, 155, 4005, 4007, 5, GumpButtonType.Reply, 0); AddLabel( 60, 175, 1644, @"Red"); AddLabel( 150, 175, 0x480, box.Red.ToString() ); AddButton( 25, 175, 4005, 4007, 6, GumpButtonType.Reply, 0); AddLabel( 60, 195, 2215, @"Yellow"); AddLabel( 150, 195, 0x480, box.Yellow.ToString() ); AddButton( 25, 195, 4005, 4007, 7, GumpButtonType.Reply, 0 ); AddLabel( 60, 215, 2300, @"White"); AddLabel( 150, 215, 0x480, box.White.ToString() ); AddButton( 25, 215, 4005, 4007, 8, GumpButtonType.Reply, 0 ); }