Ejemplo n.º 1
0
			public InternalGump( Mobile from, BeardDeed deed ) : base( 50, 50 )
			{
				m_From = from;
				m_Deed = deed;

				from.CloseGump( typeof( InternalGump ) );

				AddBackground( 100, 10, 400, 385, 0xA28 );

				AddHtml( 100, 25, 400, 35, "<CENTER>BEARD SELECTION MENU</CENTER>", false, false ); //localized is not cookie cutter style of hair restyle :P
				
				AddButton( 175, 340, 0xFA5, 0xFA7, 0x0, GumpButtonType.Reply, 0 ); // CANCEL
				AddHtmlLocalized( 210, 342, 90, 35, 3000091, false, false);

				AddBackground( 220, 60, 50, 50, 0xA3C );
				AddBackground( 220, 115, 50, 50, 0xA3C );
				AddBackground( 220, 170, 50, 50, 0xA3C );
				AddBackground( 220, 225, 50, 50, 0xA3C );
				AddBackground( 425, 60, 50, 50, 0xA3C );
				AddBackground( 425, 115, 50, 50, 0xA3C );
				AddBackground( 425, 170, 50, 50, 0xA3C );
				AddBackground( 425, 225, 50, 50, 0xA3C );

				AddHtmlLocalized( 150, 75, 80, 35, 1011060, false, false );  // Short Beard
				AddHtmlLocalized( 150, 130, 80, 35, 1011061, false, false ); // Long Beard
				AddHtmlLocalized( 150, 185, 80, 35, 1011062, false, false ); // Mustache
				AddHtmlLocalized( 150, 240, 80, 35, 1015323, false, false ); // Goatee
				
				AddHtmlLocalized( 355, 75, 80, 35, 1011401, false, false );  // Vandyke
				AddHtmlLocalized( 355, 130, 80, 35, 1015321, false, false ); // Short Beard w/Mustache
				AddHtmlLocalized( 355, 185, 80, 35, 1015322, false, false ); // Long Beard w/ Mustache
				AddHtmlLocalized( 355, 240, 80, 35, 1075521, false, false ); // Clean Shaven

				AddImage( 153, 20,  0xC672 ); 
				AddImage( 153, 65,  0xC671 );
				AddImage( 153, 120, 0xC673 );
				AddImage( 153, 185, 0xC670 );
				AddImage( 358, 18,  0xC674 );
				AddImage( 358, 75,  0xC676 ); 
				AddImage( 358, 120, 0xC675 ); 

				AddButton( 118,  73, 0xFA5, 0xFA7, 2, GumpButtonType.Reply, 0 ); 
				AddButton( 118, 128, 0xFA5, 0xFA7, 3, GumpButtonType.Reply, 0 );
				AddButton( 118, 183, 0xFA5, 0xFA7, 4, GumpButtonType.Reply, 0 );
				AddButton( 118, 238, 0xFA5, 0xFA7, 5, GumpButtonType.Reply, 0 ); 
				
				AddButton( 323,  73, 0xFA5, 0xFA7, 6, GumpButtonType.Reply, 0 );
				AddButton( 323, 128, 0xFA5, 0xFA7, 7, GumpButtonType.Reply, 0 ); 
				AddButton( 323, 183, 0xFA5, 0xFA7, 8, GumpButtonType.Reply, 0 ); 
				AddButton( 323, 238, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0 );
			}
Ejemplo n.º 2
0
            public InternalGump(Mobile from, BeardDeed deed) : base(50, 50)
            {
                m_From = from;
                m_Deed = deed;

                from.CloseGump(typeof(InternalGump));

                AddBackground(100, 10, 400, 385, 0xA28);

                AddHtml(100, 25, 400, 35, "<CENTER>BEARD SELECTION MENU</CENTER>", false, false);  //localized is not cookie cutter style of hair restyle :P

                AddButton(175, 340, 0xFA5, 0xFA7, 0x0, GumpButtonType.Reply, 0);                   // CANCEL
                AddHtmlLocalized(210, 342, 90, 35, 3000091, false, false);

                AddBackground(220, 60, 50, 50, 0xA3C);
                AddBackground(220, 115, 50, 50, 0xA3C);
                AddBackground(220, 170, 50, 50, 0xA3C);
                AddBackground(220, 225, 50, 50, 0xA3C);
                AddBackground(425, 60, 50, 50, 0xA3C);
                AddBackground(425, 115, 50, 50, 0xA3C);
                AddBackground(425, 170, 50, 50, 0xA3C);
                AddBackground(425, 225, 50, 50, 0xA3C);

                AddHtmlLocalized(150, 75, 80, 35, 1011060, false, false);                    // Short Beard
                AddHtmlLocalized(150, 130, 80, 35, 1011061, false, false);                   // Long Beard
                AddHtmlLocalized(150, 185, 80, 35, 1011062, false, false);                   // Mustache
                AddHtmlLocalized(150, 240, 80, 35, 1015323, false, false);                   // Goatee

                AddHtmlLocalized(355, 75, 80, 35, 1011401, false, false);                    // Vandyke
                AddHtmlLocalized(355, 130, 80, 35, 1015321, false, false);                   // Short Beard w/Mustache
                AddHtmlLocalized(355, 185, 80, 35, 1015322, false, false);                   // Long Beard w/ Mustache
                AddHtmlLocalized(355, 240, 80, 35, 1075521, false, false);                   // Clean Shaven

                AddImage(153, 20, 0xC672);
                AddImage(153, 65, 0xC671);
                AddImage(153, 120, 0xC673);
                AddImage(153, 185, 0xC670);
                AddImage(358, 18, 0xC674);
                AddImage(358, 75, 0xC676);
                AddImage(358, 120, 0xC675);

                AddButton(118, 73, 0xFA5, 0xFA7, 2, GumpButtonType.Reply, 0);
                AddButton(118, 128, 0xFA5, 0xFA7, 3, GumpButtonType.Reply, 0);
                AddButton(118, 183, 0xFA5, 0xFA7, 4, GumpButtonType.Reply, 0);
                AddButton(118, 238, 0xFA5, 0xFA7, 5, GumpButtonType.Reply, 0);

                AddButton(323, 73, 0xFA5, 0xFA7, 6, GumpButtonType.Reply, 0);
                AddButton(323, 128, 0xFA5, 0xFA7, 7, GumpButtonType.Reply, 0);
                AddButton(323, 183, 0xFA5, 0xFA7, 8, GumpButtonType.Reply, 0);
                AddButton(323, 238, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0);
            }