mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 15:25:32 +00:00
23403362e9
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);
|
|
}
|