예제 #1
0
            public InternalGump(Mobile from, BeardRestylingDeed deed)
                : base(50, 50)
            {
                m_From = from;
                m_Deed = deed;

                from.CloseGump(typeof(InternalGump));

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

                AddHtmlLocalized(100, 25, 400, 35, 1013008, false, false);
                AddButton(175, 340, 0xFA5, 0xFA7, 0x0, GumpButtonType.Reply, 0); // CANCEL

                AddHtmlLocalized(210, 342, 90, 35, 1011012, false, false);// <CENTER>HAIRSTYLE SELECTION MENU</center>

                int[][] RacialData = HumanArray;

                for (int i = 1; i < RacialData.Length; i++)
                {
                    AddHtmlLocalized(LayoutArray[i][2], LayoutArray[i][3], (i == 1) ? 125 : 80, (i == 1) ? 70 : 35, RacialData[i][0], false, false);
                    if (LayoutArray[i][4] != 0)
                    {
                        AddBackground(LayoutArray[i][0], LayoutArray[i][1], 50, 50, 0xA3C);
                        AddImage(LayoutArray[i][4], LayoutArray[i][5], RacialData[i][2]);
                    }
                    AddButton(LayoutArray[i][6], LayoutArray[i][7], 0xFA5, 0xFA7, i, GumpButtonType.Reply, 0);
                }
            }
예제 #2
0
            public InternalGump( Mobile from, BeardRestylingDeed 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>WYBIERZ SZKIC ZAROSTU</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 );
            }
예제 #3
0
            public InternalGump(Mobile from, BeardRestylingDeed 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);
            }
예제 #4
0
            public InternalGump(Mobile from, BeardRestylingDeed deed) : base(200, 50)
            {
                m_From = from;
                m_Deed = deed;

                from.CloseGump(typeof(InternalGump));

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

                AddLabel(150, 25, 255, "FACIAL HAIR SELECTION MENU");
                AddButton(175, 340, 0xFA5, 0xFA7, 0x0, GumpButtonType.Reply, 0);            // CANCEL

                AddHtmlLocalized(210, 342, 90, 35, 1011012, false, false);                  // <CENTER>BEARDSTYLE SELECTION MENU</center>

                AddBackground(230, 60, 50, 50, 0xA3C);
                AddBackground(230, 115, 50, 50, 0xA3C);
                AddBackground(230, 170, 50, 50, 0xA3C);
                AddBackground(230, 225, 50, 50, 0xA3C);
                AddBackground(445, 60, 50, 50, 0xA3C);
                AddBackground(445, 115, 50, 50, 0xA3C);
                AddBackground(445, 170, 50, 50, 0xA3C);
                AddBackground(445, 225, 50, 50, 0xA3C);

                AddLabel(150, 75, 255, "Long Beard");
                AddLabel(150, 130, 255, "Short Beard");
                AddLabel(150, 185, 255, "Goatee");
                AddLabel(150, 240, 255, "Mustache");
                AddLabel(355, 75, 255, "Medium Beard");
                AddLabel(355, 130, 255, "Full Beard");
                AddLabel(355, 185, 255, "Vandyke");
                AddLabel(355, 240, 255, "Remove Beard");

                AddImage(163, 15, 0xC671);
                AddImage(163, 70, 0xC672);
                AddImage(163, 120, 0xC670);
                AddImage(163, 180, 0xC673);
                AddImage(378, 18, 0xC6D8);
                AddImage(378, 65, 0xC6D9);
                AddImage(378, 120, 0xC674);

                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, 7, GumpButtonType.Reply, 0);
                AddButton(323, 128, 0xFA5, 0xFA7, 6, GumpButtonType.Reply, 0);
                AddButton(323, 183, 0xFA5, 0xFA7, 8, GumpButtonType.Reply, 0);
                AddButton(323, 238, 0xFA5, 0xFA7, 1, GumpButtonType.Reply, 0);
            }