Implemented WindowsWindow and EventCallback

This commit is contained in:
Simon Lübeß
2020-11-08 18:21:54 +01:00
parent 634f310b7f
commit aa2165ef77
4 changed files with 331 additions and 44 deletions
+23
View File
@@ -0,0 +1,23 @@
using System;
namespace GlitchyEngine
{
[CRepr]
public struct WindowRectangle
{
public int32 X;
public int32 Y;
public int32 Width;
public int32 Height;
public this() => this = default;
public this(int32 x, int32 y, int32 width, int32 height)
{
X = x;
Y = y;
Width = width;
Height = height;
}
}
}