mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-28 05:15:28 +00:00
b630d84add
Updated everything to not use raw window handles, but rather WindowInfo objects. Added code that (hopefully) creates an invisible input window for X11.
22 lines
462 B
C#
22 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);
|
|
}
|