Opentk/Source/OpenTK/Platform/IGameWindow.cs
the_fiddler 4ceea208ac Bumped version numbers.
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.
2007-08-04 12:09:58 +00:00

21 lines
460 B
C#

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Platform
{
interface IGameWindow : INativeWindow
{
void Run();
void OnRenderFrame();
void OnUpdateFrame();
event UpdateFrameEvent UpdateFrame;
event RenderFrameEvent RenderFrame;
}
public delegate void UpdateFrameEvent(EventArgs e);
public delegate void RenderFrameEvent(EventArgs e);
}