mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-27 07:10:58 +00:00
New IWindowInfo interface.
This commit is contained in:
parent
97ccade80f
commit
f6b2e63381
|
@ -1,6 +1,8 @@
|
||||||
#region --- License ---
|
#region --- License ---
|
||||||
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
/* Licensed under the MIT/X11 license.
|
||||||
* See license.txt for license info
|
* Copyright (c) 2006-2008 the OpenTK Team.
|
||||||
|
* This notice may not be removed from any source distribution.
|
||||||
|
* See license.txt for licensing detailed licensing details.
|
||||||
*/
|
*/
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
@ -10,17 +12,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace OpenTK.Platform
|
namespace OpenTK.Platform
|
||||||
{
|
{
|
||||||
/// <summary>
|
|
||||||
/// Provides a platform independent mechanism to interact with System.Windows.Forms.Control,
|
|
||||||
/// System.Windows.Forms.NativeWindow and OpenTK.GameWindow low-level implementation data.
|
|
||||||
/// </summary>
|
|
||||||
public interface IWindowInfo
|
public interface IWindowInfo
|
||||||
{
|
{
|
||||||
IntPtr Handle { get; }
|
|
||||||
IWindowInfo Parent { get; }
|
|
||||||
IWindowInfo GetInfoFrom(System.Windows.Forms.Control control);
|
|
||||||
IWindowInfo GetInfoFrom(System.Windows.Forms.NativeWindow window);
|
|
||||||
IWindowInfo GetInfoFrom(OpenTK.GameWindow window);
|
|
||||||
IWindowInfo GetInfoFrom(IWindowInfo info);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue