Opentk/Source/OpenTK/Platform/Windows/WindowInfo.cs
the_fiddler 23403362e9 Added IWindowInfo.cs, X11/WindowInfo.cs and Windows/WindowInfo.cs, which hold information regarding a platform specific window object.
Updated everything to not use raw window handles, but rather WindowInfo objects.
Added code that (hopefully) creates an invisible input window for X11.
2007-08-05 13:42:31 +00:00

33 lines
764 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Platform.Windows
{
/// <summary>
/// Describes a Windows window.
/// This class supports OpenTK, and is not intended for use by OpenTK programs.
/// </summary>
internal class WindowInfo : IWindowInfo
{
private IntPtr handle;
private WindowInfo parent;
#region --- IWindowInfo Members ---
public IntPtr Handle
{
get { return handle; }
internal set { handle = value; }
}
public IWindowInfo Parent
{
get { return parent; }
internal set { parent = value as WindowInfo; }
}
#endregion
}
}