mirror of
https://github.com/aharabada/glitchy-engine-beef.git
synced 2026-09-05 21:01:52 +00:00
Implemented WindowsWindow and EventCallback
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user