Browse files

Minor documentation updates.

  • Loading branch information...
1 parent a678aee commit d43f00c757dc560cb6c324b5fe189f4fe83e6b45 the_fiddler committed May 22, 2012
Showing with 7 additions and 4 deletions.
  1. +7 −4 Source/GLControl/GLControl.cs
View
11 Source/GLControl/GLControl.cs
@@ -41,7 +41,10 @@
namespace OpenTK
{
/// <summary>
- /// Defines a UserControl with OpenGL rendering capabilities.
+ /// OpenGL-aware WinForms control.
+ /// The WinForms designer will always call the default constructor.
+ /// Inherit from this class and call one of its specialized constructors
+ /// to enable antialiasing or custom <see cref="GraphicsMode"/>s.
/// </summary>
public partial class GLControl : UserControl
{
@@ -64,22 +67,22 @@ public partial class GLControl : UserControl
#region --- Constructors ---
/// <summary>
- /// Constructs a new GLControl.
+ /// Constructs a new instance.
/// </summary>
public GLControl()
: this(GraphicsMode.Default)
{ }
/// <summary>
- /// Constructs a new GLControl with the specified GraphicsMode.
+ /// Constructs a new instance with the specified GraphicsMode.
/// </summary>
/// <param name="mode">The OpenTK.Graphics.GraphicsMode of the control.</param>
public GLControl(GraphicsMode mode)
: this(mode, 1, 0, GraphicsContextFlags.Default)
{ }
/// <summary>
- /// Constructs a new GLControl with the specified GraphicsMode.
+ /// Constructs a new instance with the specified GraphicsMode.
/// </summary>
/// <param name="mode">The OpenTK.Graphics.GraphicsMode of the control.</param>
/// <param name="major">The major version for the OpenGL GraphicsContext.</param>

0 comments on commit d43f00c

Please sign in to comment.