Opentk/Source/OpenTK/Platform/IGameWindow.cs
the_fiddler 8f159aef72 IKeyboard is now public. Updated the GameWindow to not create the Keyboard itself (it is done further up).
Added all Raw Input structs, functions and enums in Windows.API.
WinRawKeyboard implements IKeyboard using Raw Input on Windows.
2007-07-27 01:20:55 +00:00

25 lines
521 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using OpenTK.Input;
namespace OpenTK.Platform
{
interface IGameWindow : IDisposable
{
void Run();
void RenderFrame();
void UpdateFrame();
event UpdateFrameEvent UpdateFrameNotify;
event RenderFrameEvent RenderFrameNotify;
IKeyboard Key { get; }
}
public delegate void UpdateFrameEvent(EventArgs e);
public delegate void RenderFrameEvent(EventArgs e);
}