mirror of https://github.com/minetest/irrlicht.git
Update after review
This commit is contained in:
parent
61c66bf147
commit
030208f9f2
|
@ -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. */
|
||||
|
|
|
@ -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()
|
||||
|
|
|
@ -36,7 +36,7 @@ namespace irr
|
|||
|
||||
virtual bool isWindowMinimized() const;
|
||||
|
||||
virtual bool isAppPaused() const;
|
||||
virtual bool isWindowVisible() const;
|
||||
|
||||
virtual void closeDevice();
|
||||
|
||||
|
|
Loading…
Reference in New Issue