Esempio n. 1
0
            public InternalGump(PottedCactusDeed cactus)
                : base(100, 200)
            {
                m_Cactus = cactus;

                Closable   = true;
                Disposable = true;
                Dragable   = true;
                Resizable  = false;

                AddPage(0);
                AddBackground(0, 0, 425, 250, 0xA28);

                AddPage(1);
                AddLabel(45, 15, 0, "Choose a Potted Cactus:");

                AddItem(45, 75, 0x1E0F);
                AddButton(55, 50, 0x845, 0x846, 0x1E0F, GumpButtonType.Reply, 0);

                AddItem(105, 75, 0x1E10);
                AddButton(115, 50, 0x845, 0x846, 0x1E10, GumpButtonType.Reply, 0);

                AddItem(160, 75, 0x1E14);
                AddButton(175, 50, 0x845, 0x846, 0x1E14, GumpButtonType.Reply, 0);

                AddItem(220, 75, 0x1E11);
                AddButton(235, 50, 0x845, 0x846, 0x1E11, GumpButtonType.Reply, 0);

                AddItem(280, 75, 0x1E12);
                AddButton(295, 50, 0x845, 0x846, 0x1E12, GumpButtonType.Reply, 0);

                AddItem(340, 75, 0x1E13);
                AddButton(355, 50, 0x845, 0x846, 0x1E13, GumpButtonType.Reply, 0);
            }
Esempio n. 2
0
			public InternalGump( PottedCactusDeed cactus ) : base( 100, 200 )
			{
				m_Cactus = cactus;

				Closable = true;
				Disposable = true;
				Dragable = true;
				Resizable = false;

				AddPage( 0 );
				AddBackground( 0, 0, 425, 250, 0xA28 );

				AddPage( 1 );
				AddLabel( 45, 15, 0, "Choose a Potted Cactus:" );

				AddItem( 45, 75, 0x1E0F );
				AddButton( 55, 50, 0x845, 0x846, 0x1E0F, GumpButtonType.Reply, 0 );
				
				AddItem( 105, 75, 0x1E10 );
				AddButton( 115, 50, 0x845, 0x846, 0x1E10, GumpButtonType.Reply, 0 );

				AddItem( 160, 75, 0x1E14 );
				AddButton( 175, 50, 0x845, 0x846, 0x1E14, GumpButtonType.Reply, 0 );
				
				AddItem( 220, 75, 0x1E11 );
				AddButton( 235, 50, 0x845, 0x846, 0x1E11, GumpButtonType.Reply, 0 );
				
				AddItem( 280, 75, 0x1E12 );
				AddButton( 295, 50, 0x845, 0x846, 0x1E12, GumpButtonType.Reply, 0 );

				AddItem( 340, 75, 0x1E13 );
				AddButton( 355, 50, 0x845, 0x846, 0x1E13, GumpButtonType.Reply, 0 );
			}