コード例 #1
0
            public InternalGump(BedOfNailsDeed deed)
                : base(150, 50)
            {
                m_Deed = deed;

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

                AddPage(0);

                AddBackground(0, 0, 360, 150, 0xA28);

                AddItem(94, 63, 0x2A81);
                AddItem(116, 25, 0x2A82);
                AddButton(50, 45, 0x867, 0x869, (int)Buttons.South, GumpButtonType.Reply, 0);                    // South

                AddItem(230, 25, 0x2A8A);
                AddItem(249, 63, 0x2A89);
                AddButton(190, 45, 0x867, 0x869, (int)Buttons.East, GumpButtonType.Reply, 0);                    // East
            }
コード例 #2
0
			public InternalGump( BedOfNailsDeed deed ) : base( 150, 50 )
			{
				m_Deed = deed;

				AddBackground( 0, 0, 350, 350, 0xA28 );

				AddItem( 119, 50, 0x2A82 );
				AddItem( 95, 89, 0x2A81 );
				AddButton( 70, 35, 0x868, 0x869, 1, GumpButtonType.Reply, 0 ); // BedOfNailsEast

				AddItem( 210, 50, 0x2A8A );
				AddItem( 228, 86, 0x2A89 );
				AddButton( 185, 35, 0x868, 0x869, 2, GumpButtonType.Reply, 0 ); // BedOfNailsSouth
			}
コード例 #3
0
ファイル: BedOfNails.cs プロジェクト: Ravenwolfe/xrunuo
            public InternalGump( BedOfNailsDeed deed )
                : base(150, 50)
            {
                m_Deed = deed;

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

                AddPage( 0 );

                AddBackground( 0, 0, 360, 150, 0xA28 );

                AddItem( 94, 63, 0x2A81 );
                AddItem( 116, 25, 0x2A82 );
                AddButton( 50, 45, 0x867, 0x869, (int) Buttons.South, GumpButtonType.Reply, 0 ); // South

                AddItem( 230, 25, 0x2A8A );
                AddItem( 249, 63, 0x2A89 );
                AddButton( 190, 45, 0x867, 0x869, (int) Buttons.East, GumpButtonType.Reply, 0 ); // East
            }