2007-07-23 00:15:18 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
2007-07-27 01:20:55 +00:00
|
|
|
|
using OpenTK.Input;
|
|
|
|
|
|
2007-07-23 00:15:18 +00:00
|
|
|
|
namespace OpenTK.Platform
|
|
|
|
|
{
|
|
|
|
|
interface IGameWindow : IDisposable
|
|
|
|
|
{
|
|
|
|
|
void Run();
|
|
|
|
|
|
|
|
|
|
void RenderFrame();
|
|
|
|
|
void UpdateFrame();
|
|
|
|
|
|
|
|
|
|
event UpdateFrameEvent UpdateFrameNotify;
|
|
|
|
|
event RenderFrameEvent RenderFrameNotify;
|
2007-07-27 01:20:55 +00:00
|
|
|
|
|
|
|
|
|
IKeyboard Key { get; }
|
2007-07-23 00:15:18 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public delegate void UpdateFrameEvent(EventArgs e);
|
|
|
|
|
public delegate void RenderFrameEvent(EventArgs e);
|
|
|
|
|
}
|