コード例 #1
0
            public InternalGump(GorgonLens lens, IGorgonCharges item)
                : base(340, 340)
            {
                m_Lens = lens;
                m_Item = item;

                AddPage(0);

                AddBackground(0, 0, 291, 99, 0x13BE);
                AddImageTiled(5, 6, 280, 20, 0xA40);

                // Replace active Gorgon Lenses
                AddHtmlLocalized(9, 8, 280, 20, 1112597, 0x7FFF, false, false);

                AddImageTiled(5, 31, 280, 40, 0xA40);

                // The remaining charges of the active lenses will be lost. Do you wish to proceed?
                AddHtmlLocalized(9, 35, 272, 40, 1112598, 0x7FFF, false, false);

                AddButton(215, 73, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0);
                AddHtmlLocalized(250, 75, 65, 20, 1006044, 0x7FFF, false, false);                   // OK

                AddButton(5, 73, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0);
                AddHtmlLocalized(40, 75, 100, 20, 1060051, 0x7FFF, false, false);                   // CANCEL
            }
コード例 #2
0
ファイル: GorgonLens.cs プロジェクト: suiy187/runuocustom
 public InternalTarget(GorgonLens gorg) : base(10, false, TargetFlags.None)
 {
     m_Gorg = gorg;
 }
コード例 #3
0
 public InternalTarget(GorgonLens gorg)
     : base(10, false, TargetFlags.None)
 {
     this.m_Gorg = gorg;
 }
コード例 #4
0
ファイル: GorgonLens.cs プロジェクト: Ravenwolfe/xrunuo
            public InternalGump( GorgonLens lens, IGorgonCharges item )
                : base(340, 340)
            {
                m_Lens = lens;
                m_Item = item;

                AddPage( 0 );

                AddBackground( 0, 0, 291, 99, 0x13BE );
                AddImageTiled( 5, 6, 280, 20, 0xA40 );

                // Replace active Gorgon Lenses
                AddHtmlLocalized( 9, 8, 280, 20, 1112597, 0x7FFF, false, false );

                AddImageTiled( 5, 31, 280, 40, 0xA40 );

                // The remaining charges of the active lenses will be lost. Do you wish to proceed?
                AddHtmlLocalized( 9, 35, 272, 40, 1112598, 0x7FFF, false, false );

                AddButton( 215, 73, 0xFB7, 0xFB8, 1, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 250, 75, 65, 20, 1006044, 0x7FFF, false, false ); // OK

                AddButton( 5, 73, 0xFB1, 0xFB2, 0, GumpButtonType.Reply, 0 );
                AddHtmlLocalized( 40, 75, 100, 20, 1060051, 0x7FFF, false, false ); // CANCEL
            }