mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-28 13:15:31 +00:00
59b503b3c3
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.
20 lines
405 B
C#
20 lines
405 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
interface INativeWindow : IGLControl, IResizable
|
|
{
|
|
void CreateWindow(DisplayMode mode);
|
|
void ProcessEvents();
|
|
void Exit();
|
|
|
|
event CreateEvent Create;
|
|
|
|
bool Created { get; }
|
|
bool Quit { get; }
|
|
IntPtr Handle { get; }
|
|
}
|
|
}
|