using System; using System.Collections; using Server; using Server.Gumps; using Server.Mobiles; using Server.Network; namespace Server.Gumps { public class FubarHelpGump : Gump { public FubarHelpGump( Mobile from ) : this( from, 5, 33 ) { } public FubarHelpGump( Mobile from, int x, int y ) : base( 0, 0 ) { from.CloseGump( typeof( FubarHelpGump ) ); Closable=true; Disposable=true; Dragable=true; Resizable=false; AddPage(0); AddBackground(9, 93, 762, 389, 9300); AddBackground(37, 178, 700, 53, 9200); AddImage(46, 182, 1210); AddImage(41, 198, 10830); AddImage(50, 206, 2092); AddLabel(71, 181, 0, @"Edit->"); AddButton(710, 182, 9910, 248, 0, GumpButtonType.Reply, 0); AddButton(113, 182, 4027, 4028, 0, GumpButtonType.Reply, 0); AddButton(213, 181, 4027, 4028, 0, GumpButtonType.Reply, 0); AddButton(313, 181, 4027, 4028, 0, GumpButtonType.Reply, 0); AddButton(413, 181, 4027, 4028, 0, GumpButtonType.Reply, 0); AddButton(513, 181, 4027, 4028, 0, GumpButtonType.Reply, 0); AddTextEntry(143, 183, 70, 20, 0, 0, @"Who"); AddTextEntry(243, 183, 70, 20, 0, 0, @"Where"); AddTextEntry(343, 181, 70, 20, 0, 0, @"Bank"); AddTextEntry(443, 182, 70, 20, 0, 0, @"Move"); AddTextEntry(543, 181, 70, 20, 0, 0, @"Props"); AddButton(180, 207, 4009, 4010, 0, GumpButtonType.Reply, 0); AddButton(147, 206, 4006, 4007, 0, GumpButtonType.Reply, 0); AddButton(247, 206, 4006, 4007, 0, GumpButtonType.Reply, 0); AddButton(347, 205, 4006, 4007, 0, GumpButtonType.Reply, 0); AddButton(447, 204, 4006, 4007, 0, GumpButtonType.Reply, 0); AddButton(547, 204, 4006, 4007, 0, GumpButtonType.Reply, 0); AddButton(280, 204, 4009, 4010, 0, GumpButtonType.Reply, 0); AddButton(380, 205, 4009, 4010, 0, GumpButtonType.Reply, 0); AddButton(480, 205, 4009, 4010, 0, GumpButtonType.Reply, 0); AddButton(580, 206, 4009, 4010, 0, GumpButtonType.Reply, 0); AddLabel(71, 202, 0, @"run/multi->"); AddImage(712, 209, 5402); AddImage(643, 209, 5401); AddButton(643, 187, 22153, 22155, 0, GumpButtonType.Reply, 0); AddLabel(670, 206, 0, @"Page"); AddImage(44, 153, 2225); AddImage(119, 154, 2226); AddImage(45, 234, 2229); AddImage(152, 234, 2230); AddImage(185, 234, 2231); AddImage(713, 154, 2228); AddImage(641, 232, 2232); AddImage(173, 155, 2227); AddImage(44, 265, 2225); AddImage(44, 290, 2226); AddImage(44, 315, 2227); AddImage(44, 340, 2228); AddImage(44, 365, 2229); AddImage(44, 390, 2230); AddImage(44, 415, 2231); AddImage(44, 440, 2232); AddLabel(70, 265, 0, @"Minimize Button: This button will shrinks the toolbar, calling the Minibar."); AddLabel(70, 290, 0, @"Edit Button: This button will change the command to whatever you have typed in the box next to it."); AddLabel(70, 315, 0, @"Command Box: This is where the command is typed and stored for use in single- or multi-mode."); AddLabel(70, 340, 0, @"Stealth Button: When ON (pointing left) the Bar will minimize after each command."); AddLabel(70, 365, 0, @"Lock Button: When Locked (Red) command editing is disabled."); AddLabel(70, 390, 0, @"Single-Command Button: Executes the above command normally."); AddLabel(70, 415, 0, @"Multi-Command Button: Executes the above command in Multi-mode."); AddLabel(70, 440, 0, @"Page Buttons: Used to scan the saved commands."); AddImage(711, 232, 2232); } public override void OnResponse( NetState state, RelayInfo info ) { state.Mobile.CloseGump( typeof( FubarHelpGump ) ); } } }