mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:05:37 +00:00
4ceea208ac
WinRawInput now correctly subclasses WinGLNative or WinGLControl. WinRawKeyboard now correctly responds to events. Removed T10_GLSL_Cube.cs which was erroneously moved outside the Examples/Tutorial directory. Updated INativeWindow, IGameWindow and IGLControl interfaces. Updated examples to use the new GameWindow interface. Added documentation to GameWindow. Improved GameWindow error handling. More defensive programming.
26 lines
539 B
C#
26 lines
539 B
C#
#region --- License ---
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
* See license.txt for license info
|
|
*/
|
|
#endregion
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
using OpenTK.OpenGL;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
public interface IGLControl : IDisposable
|
|
{
|
|
event CreateEvent Create;
|
|
|
|
bool IsIdle { get; }
|
|
bool Fullscreen { get; set; }
|
|
IGLContext Context { get; }
|
|
}
|
|
|
|
public delegate void CreateEvent(object sender, EventArgs e);
|
|
}
|