diff --git a/MonoGame.Framework/Input/AccelerometerCapabilities.cs b/MonoGame.Framework/Input/AccelerometerCapabilities.cs index 1d8babb26f6..aab05481799 100644 --- a/MonoGame.Framework/Input/AccelerometerCapabilities.cs +++ b/MonoGame.Framework/Input/AccelerometerCapabilities.cs @@ -1,43 +1,11 @@ -// #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -// #endregion License -// +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion namespace Microsoft.Xna.Framework.Input { diff --git a/MonoGame.Framework/Input/AccelerometerState.cs b/MonoGame.Framework/Input/AccelerometerState.cs index eb923165fb6..c7eba136e9e 100644 --- a/MonoGame.Framework/Input/AccelerometerState.cs +++ b/MonoGame.Framework/Input/AccelerometerState.cs @@ -1,43 +1,11 @@ -// #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -// #endregion License -// +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/ButtonDefinition.cs b/MonoGame.Framework/Input/ButtonDefinition.cs index 667ffdff70a..d4e0494f45f 100644 --- a/MonoGame.Framework/Input/ButtonDefinition.cs +++ b/MonoGame.Framework/Input/ButtonDefinition.cs @@ -1,42 +1,11 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team - -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Graphics; diff --git a/MonoGame.Framework/Input/ButtonState.cs b/MonoGame.Framework/Input/ButtonState.cs index 4a5b16072bc..0351e12bf30 100644 --- a/MonoGame.Framework/Input/ButtonState.cs +++ b/MonoGame.Framework/Input/ButtonState.cs @@ -1,42 +1,11 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team - -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/Buttons.cs b/MonoGame.Framework/Input/Buttons.cs index 4d7752ff8dd..4a786e0ff86 100644 --- a/MonoGame.Framework/Input/Buttons.cs +++ b/MonoGame.Framework/Input/Buttons.cs @@ -1,42 +1,12 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License using System; namespace Microsoft.Xna.Framework.Input diff --git a/MonoGame.Framework/Input/GamePadButtons.cs b/MonoGame.Framework/Input/GamePadButtons.cs index 45ad855c37d..5279049726f 100644 --- a/MonoGame.Framework/Input/GamePadButtons.cs +++ b/MonoGame.Framework/Input/GamePadButtons.cs @@ -1,42 +1,11 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team - -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/GamePadCapabilities.cs b/MonoGame.Framework/Input/GamePadCapabilities.cs index 443b1ab5cc3..c2df0561701 100644 --- a/MonoGame.Framework/Input/GamePadCapabilities.cs +++ b/MonoGame.Framework/Input/GamePadCapabilities.cs @@ -1,42 +1,11 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team - -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/GamePadDPad.cs b/MonoGame.Framework/Input/GamePadDPad.cs index 622dcf613e6..88c22098068 100644 --- a/MonoGame.Framework/Input/GamePadDPad.cs +++ b/MonoGame.Framework/Input/GamePadDPad.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/GamePadDeadZone.cs b/MonoGame.Framework/Input/GamePadDeadZone.cs index 191a0f47e41..0c1b672ceb0 100644 --- a/MonoGame.Framework/Input/GamePadDeadZone.cs +++ b/MonoGame.Framework/Input/GamePadDeadZone.cs @@ -1,4 +1,13 @@ -using System; +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion + +using System; namespace Microsoft.Xna.Framework.Input { diff --git a/MonoGame.Framework/Input/GamePadState.cs b/MonoGame.Framework/Input/GamePadState.cs index 848f09bd6bf..2373b10bfa6 100644 --- a/MonoGame.Framework/Input/GamePadState.cs +++ b/MonoGame.Framework/Input/GamePadState.cs @@ -1,4 +1,13 @@ -using Microsoft.Xna.Framework; +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion + +using Microsoft.Xna.Framework; using System; namespace Microsoft.Xna.Framework.Input diff --git a/MonoGame.Framework/Input/GamePadThumbSticks.cs b/MonoGame.Framework/Input/GamePadThumbSticks.cs index 15d2cea847d..66d8a3af6d6 100644 --- a/MonoGame.Framework/Input/GamePadThumbSticks.cs +++ b/MonoGame.Framework/Input/GamePadThumbSticks.cs @@ -1,42 +1,11 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team - -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using Microsoft.Xna.Framework; using System; diff --git a/MonoGame.Framework/Input/GamePadTriggers.cs b/MonoGame.Framework/Input/GamePadTriggers.cs index 186cf4b40bb..c1febc6ba6e 100644 --- a/MonoGame.Framework/Input/GamePadTriggers.cs +++ b/MonoGame.Framework/Input/GamePadTriggers.cs @@ -1,42 +1,11 @@ -#region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/GamePadType.cs b/MonoGame.Framework/Input/GamePadType.cs index 0f5b8c4b68b..d1ca2797fd2 100644 --- a/MonoGame.Framework/Input/GamePadType.cs +++ b/MonoGame.Framework/Input/GamePadType.cs @@ -1,42 +1,12 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License using System; namespace Microsoft.Xna.Framework.Input diff --git a/MonoGame.Framework/Input/KeyState.cs b/MonoGame.Framework/Input/KeyState.cs index 66e351b6cf4..8442ca2db52 100644 --- a/MonoGame.Framework/Input/KeyState.cs +++ b/MonoGame.Framework/Input/KeyState.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce, " "reproduction, " "derivative works, " and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion namespace Microsoft.Xna.Framework.Input { diff --git a/MonoGame.Framework/Input/Keyboard.cs b/MonoGame.Framework/Input/Keyboard.cs index d2b91a83559..e34ecd1b540 100644 --- a/MonoGame.Framework/Input/Keyboard.cs +++ b/MonoGame.Framework/Input/Keyboard.cs @@ -1,43 +1,11 @@ -// #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -// #endregion License -// +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; using System.Collections.Generic; diff --git a/MonoGame.Framework/Input/KeyboardState.cs b/MonoGame.Framework/Input/KeyboardState.cs index 3de0a128be4..8c973a79441 100644 --- a/MonoGame.Framework/Input/KeyboardState.cs +++ b/MonoGame.Framework/Input/KeyboardState.cs @@ -1,43 +1,11 @@ -// #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -// #endregion License -// +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System.Collections.Generic; diff --git a/MonoGame.Framework/Input/Keys.cs b/MonoGame.Framework/Input/Keys.cs index d20522adae9..efc437bc9f5 100644 --- a/MonoGame.Framework/Input/Keys.cs +++ b/MonoGame.Framework/Input/Keys.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce, " "reproduction, " "derivative works, " and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion #region Using Statements using System; diff --git a/MonoGame.Framework/Input/MouseState.cs b/MonoGame.Framework/Input/MouseState.cs index 8b8510aeeda..258e1115869 100644 --- a/MonoGame.Framework/Input/MouseState.cs +++ b/MonoGame.Framework/Input/MouseState.cs @@ -1,42 +1,12 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License using System; namespace Microsoft.Xna.Framework.Input diff --git a/MonoGame.Framework/Input/ThumbStickDefinition.cs b/MonoGame.Framework/Input/ThumbStickDefinition.cs index 89db73f1994..9467f3b2aff 100644 --- a/MonoGame.Framework/Input/ThumbStickDefinition.cs +++ b/MonoGame.Framework/Input/ThumbStickDefinition.cs @@ -1,42 +1,11 @@ #region License -/* -Microsoft Public License (Ms-PL) -MonoGame - Copyright © 2009 The MonoGame Team - -All rights reserved. - -This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -accept the license, do not use the software. - -1. Definitions -The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -U.S. copyright law. - -A "contribution" is the original software, or any additions or changes to the software. -A "contributor" is any person that distributes its contribution under this license. -"Licensed patents" are a contributor's patent claims that read directly on its contribution. - -2. Grant of Rights -(A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -(B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. - -3. Conditions and Limitations -(A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -(B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -your patent license from such contributor to the software ends automatically. -(C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -notices that are present in the software. -(D) If you distribute any portion of the software in source code form, you may do so only under this license by including -a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -code form, you may only do so under a license that complies with this license. -(E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -purpose and non-infringement. -*/ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; using Microsoft.Xna.Framework.Graphics; diff --git a/MonoGame.Framework/Input/Touch/GestureSample.cs b/MonoGame.Framework/Input/Touch/GestureSample.cs index 21622376497..e4dddefc175 100644 --- a/MonoGame.Framework/Input/Touch/GestureSample.cs +++ b/MonoGame.Framework/Input/Touch/GestureSample.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009-2010 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using Microsoft.Xna.Framework; using System; diff --git a/MonoGame.Framework/Input/Touch/GestureType.cs b/MonoGame.Framework/Input/Touch/GestureType.cs index b0b61e50706..23fdaa26b66 100644 --- a/MonoGame.Framework/Input/Touch/GestureType.cs +++ b/MonoGame.Framework/Input/Touch/GestureType.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009-2010 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion using System; diff --git a/MonoGame.Framework/Input/Touch/TouchCollection.cs b/MonoGame.Framework/Input/Touch/TouchCollection.cs index 3040a8e28ce..8effff40615 100644 --- a/MonoGame.Framework/Input/Touch/TouchCollection.cs +++ b/MonoGame.Framework/Input/Touch/TouchCollection.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009-2010 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion #region Using clause using System; diff --git a/MonoGame.Framework/Input/Touch/TouchLocation.cs b/MonoGame.Framework/Input/Touch/TouchLocation.cs index 42d994bf49b..d2198244319 100644 --- a/MonoGame.Framework/Input/Touch/TouchLocation.cs +++ b/MonoGame.Framework/Input/Touch/TouchLocation.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009-2010 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion #region Using clause using System; diff --git a/MonoGame.Framework/Input/Touch/TouchLocationState.cs b/MonoGame.Framework/Input/Touch/TouchLocationState.cs index d9052be82f1..02e73457799 100644 --- a/MonoGame.Framework/Input/Touch/TouchLocationState.cs +++ b/MonoGame.Framework/Input/Touch/TouchLocationState.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009-2010 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion #region Using clause using System; diff --git a/MonoGame.Framework/Input/Touch/TouchPanel.cs b/MonoGame.Framework/Input/Touch/TouchPanel.cs index 4abce0ee4c0..21c11e3664c 100644 --- a/MonoGame.Framework/Input/Touch/TouchPanel.cs +++ b/MonoGame.Framework/Input/Touch/TouchPanel.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// XnaTouch - Copyright © 2009-2010 The XnaTouch Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion #region Using clause using System; diff --git a/MonoGame.Framework/Input/Touch/TouchPanelCapabilities.cs b/MonoGame.Framework/Input/Touch/TouchPanelCapabilities.cs index 2c6b123681d..1dde5c31427 100644 --- a/MonoGame.Framework/Input/Touch/TouchPanelCapabilities.cs +++ b/MonoGame.Framework/Input/Touch/TouchPanelCapabilities.cs @@ -1,42 +1,11 @@ #region License -// /* -// Microsoft Public License (Ms-PL) -// MonoGame - Copyright © 2009-2010 The MonoGame Team -// -// All rights reserved. -// -// This license governs use of the accompanying software. If you use the software, you accept this license. If you do not -// accept the license, do not use the software. -// -// 1. Definitions -// The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under -// U.S. copyright law. -// -// A "contribution" is the original software, or any additions or changes to the software. -// A "contributor" is any person that distributes its contribution under this license. -// "Licensed patents" are a contributor's patent claims that read directly on its contribution. -// -// 2. Grant of Rights -// (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create. -// (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, -// each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software. -// -// 3. Conditions and Limitations -// (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. -// (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, -// your patent license from such contributor to the software ends automatically. -// (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution -// notices that are present in the software. -// (D) If you distribute any portion of the software in source code form, you may do so only under this license by including -// a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object -// code form, you may only do so under a license that complies with this license. -// (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees -// or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent -// permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular -// purpose and non-infringement. -// */ -#endregion License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion #region Using clause using System; diff --git a/MonoGame.Framework/Input/Touch/TouchPanelState.cs b/MonoGame.Framework/Input/Touch/TouchPanelState.cs index 37d646f1706..22e6ccef596 100644 --- a/MonoGame.Framework/Input/Touch/TouchPanelState.cs +++ b/MonoGame.Framework/Input/Touch/TouchPanelState.cs @@ -1,4 +1,13 @@ -using System; +#region License +/* FNA - XNA4 Reimplementation for Desktop Platforms + * Copyright 2009-2014 Ethan Lee and the MonoGame Team + * + * Released under the Microsoft Public License. + * See LICENSE for details. + */ +#endregion + +using System; using System.Collections.Generic; using System.Linq; using System.Text;