mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-23 20:51:14 +00:00
MADS: Add an isCursorVisible() method
This will probably be used by the menu class, but it's nice to have nonetheless
This commit is contained in:
parent
60e78c9f1d
commit
a770419abc
@ -77,6 +77,10 @@ void EventsManager::hideCursor() {
|
||||
CursorMan.showMouse(false);
|
||||
}
|
||||
|
||||
bool EventsManager::isCursorVisible() {
|
||||
return CursorMan.isVisible();
|
||||
}
|
||||
|
||||
void EventsManager::waitCursor() {
|
||||
CursorType cursorId = (CursorType)MIN(_cursorSprites->getCount(), (int)CURSOR_WAIT);
|
||||
_newCursorId = cursorId;
|
||||
|
@ -103,6 +103,11 @@ public:
|
||||
*/
|
||||
void hideCursor();
|
||||
|
||||
/**
|
||||
* Returns if the mouse cursor is visible
|
||||
*/
|
||||
bool isCursorVisible();
|
||||
|
||||
/**
|
||||
* Shows the wait cursor
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user