mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 05:45:28 +00:00
23403362e9
Updated everything to not use raw window handles, but rather WindowInfo objects. Added code that (hopefully) creates an invisible input window for X11.
33 lines
764 B
C#
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
|
|
}
|
|
}
|