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
|
|
|
|
|
2007-07-23 00:15:18 +00:00
|
|
|
|
namespace OpenTK.Platform
|
|
|
|
|
{
|
2007-08-05 13:42:31 +00:00
|
|
|
|
interface IGameWindow : INativeGLWindow
|
2007-07-23 00:15:18 +00:00
|
|
|
|
{
|
|
|
|
|
void Run();
|
|
|
|
|
|
2007-08-04 12:09:58 +00:00
|
|
|
|
void OnRenderFrame();
|
|
|
|
|
void OnUpdateFrame();
|
2007-07-23 00:15:18 +00:00
|
|
|
|
|
2007-08-04 12:09:58 +00:00
|
|
|
|
event UpdateFrameEvent UpdateFrame;
|
|
|
|
|
event RenderFrameEvent RenderFrame;
|
2007-07-23 00:15:18 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public delegate void UpdateFrameEvent(EventArgs e);
|
|
|
|
|
public delegate void RenderFrameEvent(EventArgs e);
|
|
|
|
|
}
|