Added window (de-)activate events

This commit is contained in:
Simon Lübeß
2021-03-13 17:50:58 +01:00
parent 163dadbe37
commit cfff2cb738
7 changed files with 205 additions and 126 deletions
+5
View File
@@ -98,6 +98,11 @@ namespace GlitchyEngine
*/
public extern void* NativeWindow {get;}
/**
* Gets whether or not the window is active.
*/
public extern bool IsActive {get;}
public EventCallback EventCallback
{
get => _eventCallback;