コード例 #1
0
ファイル: BoneCouch.cs プロジェクト: nogu3ira/xrunuo
            public InternalGump(BoneCouchDeed deed)
                : base(150, 50)
            {
                m_Deed = deed;

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

                AddPage(0);

                AddBackground(0, 0, 300, 140, 0xA28);

                AddItem(94, 25, 0x2A5B);
                AddItem(112, 48, 0x2A5A);
                AddButton(50, 35, 0x867, 0x869, (int)Buttons.South, GumpButtonType.Reply, 0);                    // South

                AddItem(210, 38, 0x2A7F);
                AddItem(228, 25, 0x2A80);
                AddButton(170, 35, 0x867, 0x869, (int)Buttons.East, GumpButtonType.Reply, 0);                    // East
            }
コード例 #2
0
ファイル: BoneCouch.cs プロジェクト: Ravenwolfe/xrunuo
            public InternalGump( BoneCouchDeed deed )
                : base(150, 50)
            {
                m_Deed = deed;

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

                AddPage( 0 );

                AddBackground( 0, 0, 300, 140, 0xA28 );

                AddItem( 94, 25, 0x2A5B );
                AddItem( 112, 48, 0x2A5A );
                AddButton( 50, 35, 0x867, 0x869, (int) Buttons.South, GumpButtonType.Reply, 0 ); // South

                AddItem( 210, 38, 0x2A7F );
                AddItem( 228, 25, 0x2A80 );
                AddButton( 170, 35, 0x867, 0x869, (int) Buttons.East, GumpButtonType.Reply, 0 ); // East
            }