Update after review

This commit is contained in:
Gregor Parzefall 2024-01-04 15:10:12 +01:00
parent 61c66bf147
commit 030208f9f2
3 changed files with 6 additions and 6 deletions

View File

@ -177,9 +177,9 @@ namespace irr
/** \return True if window is fullscreen. */
virtual bool isFullscreen() const = 0;
//! Checks if the application is truly paused.
//! Currently, this can only happen on Android.
virtual bool isAppPaused() const { return false; };
//! Checks if the window could possibly be visible.
//! Currently, this only returns false when the app is paused on Android.
virtual bool isWindowVisible() const { return true; };
//! Get the current color format of the window
/** \return Color format of the window. */

View File

@ -193,9 +193,9 @@ bool CIrrDeviceAndroid::isWindowMinimized() const
return !Focused;
}
bool CIrrDeviceAndroid::isAppPaused() const
bool CIrrDeviceAndroid::isWindowVisible() const
{
return Paused;
return !Paused;
}
void CIrrDeviceAndroid::closeDevice()

View File

@ -36,7 +36,7 @@ namespace irr
virtual bool isWindowMinimized() const;
virtual bool isAppPaused() const;
virtual bool isWindowVisible() const;
virtual void closeDevice();