mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 16:15:34 +00:00
Enabled xml documentation in debug builds.
Fixed a few XML documentation warnings.
This commit is contained in:
parent
33c6d091c0
commit
8e70a94d3d
|
@ -34,13 +34,13 @@
|
|||
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Debug/Exe</OutputPath>
|
||||
<OutputPath>../../Binaries/Debug</OutputPath>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Release/Exe</OutputPath>
|
||||
<OutputPath>../../Binaries/Release</OutputPath>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
|
@ -56,13 +56,13 @@
|
|||
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Debug/Exe</OutputPath>
|
||||
<OutputPath>../../Binaries/Debug</OutputPath>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Release/Exe</OutputPath>
|
||||
<OutputPath>../../Binaries/Release</OutputPath>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
|
@ -84,14 +84,15 @@
|
|||
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Debug/Libraries</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
<OutputPath>../../Binaries/Debug</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
<XmlDocFile>OpenTK.xml</XmlDocFile>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Release/Libraries</OutputPath>
|
||||
<OutputPath>../../Binaries/Release</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
<XmlDocFile>OpenTK.xml</XmlDocFile>
|
||||
</Options>
|
||||
|
@ -114,14 +115,15 @@
|
|||
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Debug/Libraries</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
<OutputPath>../../Binaries/Debug</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
<XmlDocFile>OpenTK.Utilities.xml</XmlDocFile>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Release/Libraries</OutputPath>
|
||||
<OutputPath>../../Binaries/Release</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
<XmlDocFile>OpenTK.Utilities.xml</XmlDocFile>
|
||||
</Options>
|
||||
|
@ -143,14 +145,14 @@
|
|||
|
||||
<Configuration name="Debug">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Debug/Examples</OutputPath>
|
||||
<OutputPath>../../Binaries/Debug</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
||||
<Configuration name="Release">
|
||||
<Options>
|
||||
<OutputPath>../../Binaries/Release/Examples</OutputPath>
|
||||
<OutputPath>../../Binaries/Release</OutputPath>
|
||||
<AllowUnsafe>true</AllowUnsafe>
|
||||
</Options>
|
||||
</Configuration>
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
OpenTK 0.9.9 -> 0.9.9-1
|
||||
-------------------------
|
||||
+ OpenTK
|
||||
+ Enabled documentation generation in debug builds.
|
||||
+ Compute
|
||||
+ Bitfields are now mapped to 'long' instead of 'int'.
|
||||
|
||||
|
|
|
@ -238,7 +238,7 @@ namespace OpenTK
|
|||
/// <summary>
|
||||
/// Destroys the GraphicsContext attached to this GLControl.
|
||||
/// </summary>
|
||||
/// <exception cref="NullReferenceException">Occurs when no GraphicsContext is attached.</exception>
|
||||
/// <exception cref="System.NullReferenceException">Occurs when no GraphicsContext is attached.</exception>
|
||||
public void DestroyContext()
|
||||
{
|
||||
Context.Dispose();
|
||||
|
@ -332,7 +332,7 @@ namespace OpenTK
|
|||
|
||||
/// <summary>Grabs a screenshot of the frontbuffer contents.</summary>
|
||||
/// <returns>A System.Drawing.Bitmap, containing the contents of the frontbuffer.</returns>
|
||||
/// <exception cref="GraphicsContextException">
|
||||
/// <exception cref="OpenTK.Graphics.GraphicsContextException">
|
||||
/// Occurs when no OpenTK.Graphics.GraphicsContext is current in the calling thread.
|
||||
/// </exception>
|
||||
public Bitmap GrabScreenshot()
|
||||
|
|
|
@ -1149,7 +1149,7 @@ namespace OpenTK
|
|||
#region Location
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="System.Drawing.Point"> structure that contains the location of this window on the desktop.
|
||||
/// Gets or sets a <see cref="System.Drawing.Point"/> structure that contains the location of this window on the desktop.
|
||||
/// </summary>
|
||||
public Point Location
|
||||
{
|
||||
|
@ -1174,7 +1174,7 @@ namespace OpenTK
|
|||
#region Size
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets a <see cref="System.Drawing.Size"> structure that contains the external size of this window.
|
||||
/// Gets or sets a <see cref="System.Drawing.Size"/> structure that contains the external size of this window.
|
||||
/// </summary>
|
||||
public Size Size
|
||||
{
|
||||
|
@ -1401,14 +1401,14 @@ namespace OpenTK
|
|||
/// <returns>
|
||||
/// The point transformed to screen coordinates.
|
||||
/// </returns>
|
||||
public System.Drawing.Point PointToScreen(System.Drawing.Point p)
|
||||
public System.Drawing.Point PointToScreen(System.Drawing.Point point)
|
||||
{
|
||||
// Here we use the fact that PointToClient just translates the point, and PointToScreen
|
||||
// should perform the inverse operation.
|
||||
System.Drawing.Point trans = PointToClient(System.Drawing.Point.Empty);
|
||||
p.X -= trans.X;
|
||||
p.Y -= trans.Y;
|
||||
return p;
|
||||
point.X -= trans.X;
|
||||
point.Y -= trans.Y;
|
||||
return point;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue