Beispiel #1
0
            public InternalGump(ArmorEngravingTool tool, BaseArmor target)
                : base(0, 0)
            {
                m_Tool   = tool;
                m_Target = target;

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

                AddBackground(50, 50, 400, 300, 0xA28);

                AddPage(0);

                AddHtmlLocalized(50, 70, 400, 20, 1072359, 0x0, false, false);                  // <CENTER>Engraving Tool</CENTER>
                AddHtmlLocalized(75, 95, 350, 145, 1076229, 0x0, true, true);                   // Please enter the text to add to the selected object. Leave the text area blank to remove any existing text.  Removing text does not use a charge.
                AddButton(125, 300, 0x81A, 0x81B, 1, GumpButtonType.Reply, 0);
                AddButton(320, 300, 0x819, 0x818, 0, GumpButtonType.Reply, 0);
                AddImageTiled(75, 245, 350, 40, 0xDB0);
                AddImageTiled(76, 245, 350, 2, 0x23C5);
                AddImageTiled(75, 245, 2, 40, 0x23C3);
                AddImageTiled(75, 285, 350, 2, 0x23C5);
                AddImageTiled(425, 245, 2, 42, 0x23C3);

                AddTextEntry(78, 246, 343, 37, 0xA28, 15, "", 64);
            }
Beispiel #2
0
 public InternalTarget(ArmorEngravingTool tool)
     : base(-1, true, TargetFlags.None)
 {
     m_Tool = tool;
 }
 public InternalTarget( ArmorEngravingTool tool )
     : base(-1, true, TargetFlags.None)
 {
     m_Tool = tool;
 }
            public InternalGump( ArmorEngravingTool tool, BaseArmor target )
                : base(0, 0)
            {
                m_Tool = tool;
                m_Target = target;

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

                AddBackground( 50, 50, 400, 300, 0xA28 );

                AddPage( 0 );

                AddHtmlLocalized( 50, 70, 400, 20, 1072359, 0x0, false, false ); // <CENTER>Engraving Tool</CENTER>
                AddHtmlLocalized( 75, 95, 350, 145, 1076229, 0x0, true, true ); // Please enter the text to add to the selected object. Leave the text area blank to remove any existing text.  Removing text does not use a charge.
                AddButton( 125, 300, 0x81A, 0x81B, 1, GumpButtonType.Reply, 0 );
                AddButton( 320, 300, 0x819, 0x818, 0, GumpButtonType.Reply, 0 );
                AddImageTiled( 75, 245, 350, 40, 0xDB0 );
                AddImageTiled( 76, 245, 350, 2, 0x23C5 );
                AddImageTiled( 75, 245, 2, 40, 0x23C3 );
                AddImageTiled( 75, 285, 350, 2, 0x23C5 );
                AddImageTiled( 425, 245, 2, 42, 0x23C3 );

                AddTextEntry( 78, 246, 343, 37, 0xA28, 15, "", 64 );
            }