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