Exemple #1
0
            public InternalGump(StandingBrokenChairDeed deed)
                : base(60, 36)
            {
                m_Deed = deed;

                AddPage(0);

                AddBackground(0, 0, 273, 324, 0x13BE);
                AddImageTiled(10, 10, 253, 20, 0xA40);
                AddImageTiled(10, 40, 253, 244, 0xA40);
                AddImageTiled(10, 294, 253, 20, 0xA40);
                AddAlphaRegion(10, 10, 253, 304);

                AddButton(10, 294, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0);
                AddHtmlLocalized(45, 296, 450, 20, 1060051, 0x7FFF, false, false);                                                                // CANCEL
                AddHtml(14, 12, 273, 20, @"<CENTER><basefont color=#FFFFFF>Select your broken chair position</basefont></CENTER>", false, false); // Please select your broken bed position

                AddPage(1);

                AddButton(19, 49, 0x845, 0x846, 1, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 47, 213, 20, 1075386, 0x7FFF, false, false);                   // South
                AddButton(19, 73, 0x845, 0x846, 2, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 71, 213, 20, 1075387, 0x7FFF, false, false);                   // East
                AddButton(19, 97, 0x845, 0x846, 3, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 95, 213, 20, 1075389, 0x7FFF, false, false);                   // North
                AddButton(19, 121, 0x845, 0x846, 4, GumpButtonType.Reply, 0);
                AddHtmlLocalized(44, 119, 213, 20, 1075390, 0x7FFF, false, false);                  // West
            }
            public InternalGump( StandingBrokenChairDeed deed )
                : base(60, 36)
            {
                m_Deed = deed;

                AddPage( 0 );

                AddBackground( 0, 0, 273, 324, 0x13BE );
                AddImageTiled( 10, 10, 253, 20, 0xA40 );
                AddImageTiled( 10, 40, 253, 244, 0xA40 );
                AddImageTiled( 10, 294, 253, 20, 0xA40 );
                AddAlphaRegion( 10, 10, 253, 304 );

                AddButton( 10, 294, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 45, 296, 450, 20, 1060051, 0x7FFF, false, false ); // CANCEL
                AddHtml( 14, 12, 273, 20, @"<CENTER><basefont color=#FFFFFF>Select your broken chair position</basefont></CENTER>", false, false ); // Please select your broken bed position

                AddPage( 1 );

                AddButton( 19, 49, 0x845, 0x846, 1, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 44, 47, 213, 20, 1075386, 0x7FFF, false, false ); // South
                AddButton( 19, 73, 0x845, 0x846, 2, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 44, 71, 213, 20, 1075387, 0x7FFF, false, false ); // East
                AddButton( 19, 97, 0x845, 0x846, 3, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 44, 95, 213, 20, 1075389, 0x7FFF, false, false ); // North
                AddButton( 19, 121, 0x845, 0x846, 4, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 44, 119, 213, 20, 1075390, 0x7FFF, false, false ); // West
            }