2007-08-10 11:27:13 +02:00
|
|
|
|
#region --- License ---
|
|
|
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
|
|
|
* See license.txt for license info
|
|
|
|
|
*/
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
using System;
|
2007-07-23 02:15:18 +02:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
|
|
|
{
|
2007-08-05 15:42:31 +02:00
|
|
|
|
/// <summary>
|
2007-09-09 13:52:09 +02: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 15:42:31 +02:00
|
|
|
|
/// </summary>
|
2007-07-23 02:15:18 +02:00
|
|
|
|
public interface IWindowInfo
|
|
|
|
|
{
|
2007-08-05 15:42:31 +02:00
|
|
|
|
IntPtr Handle { get; }
|
|
|
|
|
IWindowInfo Parent { get; }
|
2007-09-21 22:07:30 +02: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 02:15:18 +02:00
|
|
|
|
}
|
|
|
|
|
}
|