mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 18:35:30 +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.
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; }
|
|
}
|
|
}
|