Display.Width/.Height are now obsolete.

This commit is contained in:
the_fiddler 2008-01-23 12:41:30 +00:00
parent e0ec10d11c
commit c0c0690a43

View file

@ -199,6 +199,7 @@ namespace OpenTK
/// <summary>
/// Gets or sets the Height of the DisplayMode. Height is the vertical span measured in pixels.
/// </summary>
[Obsolete("Use GameWindow.Height or GLControl.Height instead.")]
public int Height
{
get { return height; }
@ -218,6 +219,7 @@ namespace OpenTK
/// <summary>
/// Gets or sets the Width of the DisplayMode. Width is the horizontal span measured in pixels.
/// </summary>
[Obsolete("Use GameWindow.Width or GLControl.Width instead.")]
public int Width
{
get { return width; }