using System; using System.Collections.Generic; using System.Text; namespace OpenTK.Platform { /// /// This interface supports OpenTK, and is not intended for use by OpenTK programs. /// interface INativeGLWindow : IGLControl, IResizable { void CreateWindow(DisplayMode mode); void DestroyWindow(); void ProcessEvents(); void Exit(); void OnCreate(EventArgs e); void OnDestroy(EventArgs e); bool Exists { get; } bool Quit { get; } IWindowInfo WindowInfo { get; } event CreateEvent Create; event DestroyEvent Destroy; } public delegate void CreateEvent(object sender, EventArgs e); public delegate void DestroyEvent(object sender, EventArgs e); }