ADDED: IsWindowFullscreen()

This commit is contained in:
raysan5 2020-03-25 18:52:38 +01:00
parent e37d021cd3
commit 96005f2566
2 changed files with 7 additions and 0 deletions

View File

@ -874,6 +874,12 @@ bool IsWindowHidden(void)
return false;
}
// Check if window is currently fullscreen
bool IsWindowFullscreen(void)
{
return CORE.Window.fullscreen;
}
// Toggle fullscreen mode (only PLATFORM_DESKTOP)
void ToggleFullscreen(void)
{

View File

@ -874,6 +874,7 @@ RLAPI bool IsWindowReady(void); // Check if wi
RLAPI bool IsWindowMinimized(void); // Check if window has been minimized (or lost focus)
RLAPI bool IsWindowResized(void); // Check if window has been resized
RLAPI bool IsWindowHidden(void); // Check if window is currently hidden
RLAPI bool IsWindowFullscreen(void); // Check if window is currently fullscreen
RLAPI void ToggleFullscreen(void); // Toggle fullscreen mode (only PLATFORM_DESKTOP)
RLAPI void UnhideWindow(void); // Show the window
RLAPI void HideWindow(void); // Hide the window