public InternalGump(PottedPlantDeed deed) : base(100, 200) { m_Deed = deed; Closable = true; Disposable = true; Dragable = true; Resizable = false; AddPage(0); AddBackground(0, 0, 360, 195, 0xA28); AddPage(1); AddLabel(45, 15, 0, "Choose a Potted Plant:"); AddItem(45, 75, 0x11C8); AddButton(55, 50, 0x845, 0x846, 1, GumpButtonType.Reply, 0); AddItem(100, 75, 0x11C9); AddButton(115, 50, 0x845, 0x846, 2, GumpButtonType.Reply, 0); AddItem(160, 75, 0x11CA); AddButton(175, 50, 0x845, 0x846, 3, GumpButtonType.Reply, 0); AddItem(225, 75, 0x11CB); AddButton(235, 50, 0x845, 0x846, 4, GumpButtonType.Reply, 0); AddItem(280, 75, 0x11CC); AddButton(295, 50, 0x845, 0x846, 5, GumpButtonType.Reply, 0); }
public InternalGump( PottedPlantDeed deed ) : base( 100, 200 ) { m_Deed = deed; Closable = true; Disposable = true; Dragable = true; Resizable = false; AddPage( 0 ); AddBackground( 0, 0, 360, 195, 0xA28 ); AddPage( 1 ); AddLabel( 45, 15, 0, "Choose a Potted Plant:" ); AddItem( 45, 75, 0x11C8 ); AddButton( 55, 50, 0x845, 0x846, 1, GumpButtonType.Reply, 0 ); AddItem( 100, 75, 0x11C9 ); AddButton( 115, 50, 0x845, 0x846, 2, GumpButtonType.Reply, 0 ); AddItem( 160, 75, 0x11CA ); AddButton( 175, 50, 0x845, 0x846, 3, GumpButtonType.Reply, 0 ); AddItem( 225, 75, 0x11CB ); AddButton( 235, 50, 0x845, 0x846, 4, GumpButtonType.Reply, 0 ); AddItem( 280, 75, 0x11CC ); AddButton( 295, 50, 0x845, 0x846, 5, GumpButtonType.Reply, 0 ); }