Update RingRayLib - raylib.c - Add Function : bool IsWindowHidden(void)
@@ -77,6 +77,16 @@ RING_FUNC(ring_IsWindowResized)
RING_API_RETNUMBER(IsWindowResized());
}
+
+RING_FUNC(ring_IsWindowHidden)
+{
+ if ( RING_API_PARACOUNT != 0 ) {
+ RING_API_ERROR(RING_API_BADPARACOUNT);
+ return ;
+ }
+ RING_API_RETNUMBER(IsWindowHidden());
+}
+
RING_API void ringlib_init(RingState *pRingState)
{
ring_vm_funcregister("initwindow",ring_InitWindow);
@@ -85,4 +95,5 @@ RING_API void ringlib_init(RingState *pRingState)
ring_vm_funcregister("iswindowready",ring_IsWindowReady);
ring_vm_funcregister("iswindowminimized",ring_IsWindowMinimized);
ring_vm_funcregister("iswindowresized",ring_IsWindowResized);
+ ring_vm_funcregister("iswindowhidden",ring_IsWindowHidden);
}
