Codechange: Allow video drivers to handle the cursor themselves.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:33 +01:00
parent 6776229047
commit 3e49aff35c
3 changed files with 23 additions and 0 deletions

View File

@@ -85,6 +85,20 @@ public:
return true;
}
/**
* Get whether the mouse cursor is drawn by the video driver.
* @return True if cursor drawing is done by the video driver.
*/
virtual bool UseSystemCursor()
{
return false;
}
/**
* Clear all cached sprites.
*/
virtual void ClearSystemSprites() {}
/**
* Whether the driver has a graphical user interface with the end user.
* Or in other words, whether we should spawn a thread for world generation