b630d84add
Updated everything to not use raw window handles, but rather WindowInfo objects. Added code that (hopefully) creates an invisible input window for X11.
21 lines
462 B
C#
21 lines
462 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
interface IGameWindow : INativeGLWindow
|
|
{
|
|
void Run();
|
|
|
|
void OnRenderFrame();
|
|
void OnUpdateFrame();
|
|
|
|
event UpdateFrameEvent UpdateFrame;
|
|
event RenderFrameEvent RenderFrame;
|
|
}
|
|
|
|
public delegate void UpdateFrameEvent(EventArgs e);
|
|
public delegate void RenderFrameEvent(EventArgs e);
|
|
}
|