mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Better UX when touch events aren't supported by Irrlicht device (#15288)
This commit is contained in:
parent
24704b01d9
commit
9f43018df2
10 changed files with 50 additions and 4 deletions
|
@ -1293,6 +1293,12 @@ bool CIrrDeviceSDL::isWindowVisible() const
|
|||
return !IsInBackground;
|
||||
}
|
||||
|
||||
//! Checks if the Irrlicht device supports touch events.
|
||||
bool CIrrDeviceSDL::supportsTouchEvents() const
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
//! returns if window is active. if not, nothing need to be drawn
|
||||
bool CIrrDeviceSDL::isWindowActive() const
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue