New IWindowInfo interface.
This commit is contained in:
parent
e5bf555644
commit
e9b2fe6106
1 changed files with 4 additions and 12 deletions
|
@ -1,6 +1,8 @@
|
|||
#region --- License ---
|
||||
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
||||
* See license.txt for license info
|
||||
/* Licensed under the MIT/X11 license.
|
||||
* 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
|
||||
|
||||
|
@ -10,17 +12,7 @@ using System.Text;
|
|||
|
||||
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
|
||||
{
|
||||
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