2007-08-10 09:27:13 +00:00
|
|
|
|
#region --- License ---
|
|
|
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
|
|
|
* See license.txt for license info
|
|
|
|
|
*/
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
using System;
|
2007-07-23 00:15:18 +00:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
|
|
|
{
|
2007-08-05 13:42:31 +00:00
|
|
|
|
/// <summary>
|
2007-09-09 11:52:09 +00:00
|
|
|
|
/// Provides a platform independent mechanism to interact with System.Windows.Forms.Control,
|
|
|
|
|
/// System.Windows.Forms.NativeWindow and OpenTK.GameWindow low-level implementation data.
|
2007-08-05 13:42:31 +00:00
|
|
|
|
/// </summary>
|
2007-07-23 00:15:18 +00:00
|
|
|
|
public interface IWindowInfo
|
|
|
|
|
{
|
2007-08-05 13:42:31 +00:00
|
|
|
|
IntPtr Handle { get; }
|
|
|
|
|
IWindowInfo Parent { get; }
|
2007-09-21 20:07:30 +00:00
|
|
|
|
IWindowInfo GetInfoFrom(System.Windows.Forms.Control control);
|
|
|
|
|
IWindowInfo GetInfoFrom(System.Windows.Forms.NativeWindow window);
|
|
|
|
|
IWindowInfo GetInfoFrom(OpenTK.GameWindow window);
|
|
|
|
|
IWindowInfo GetInfoFrom(IWindowInfo info);
|
2007-07-23 00:15:18 +00:00
|
|
|
|
}
|
|
|
|
|
}
|