mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-27 14:42:51 -04:00
Fix cursors (#17)
This commit is contained in:
parent
4bf9174c15
commit
0d452a7fe2
@ -448,9 +448,9 @@ MxResult IsleApp::SetupWindow()
|
|||||||
srand(time(NULL));
|
srand(time(NULL));
|
||||||
|
|
||||||
// [library:window] Use original game cursors in the resources instead?
|
// [library:window] Use original game cursors in the resources instead?
|
||||||
m_cursorCurrent = m_cursorArrow = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_ARROW);
|
m_cursorCurrent = m_cursorArrow = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_DEFAULT);
|
||||||
m_cursorBusy = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_WAIT);
|
m_cursorBusy = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_WAIT);
|
||||||
m_cursorNo = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_NO);
|
m_cursorNo = SDL_CreateSystemCursor(SDL_SYSTEM_CURSOR_NOT_ALLOWED);
|
||||||
SDL_SetCursor(m_cursorCurrent);
|
SDL_SetCursor(m_cursorCurrent);
|
||||||
|
|
||||||
if (m_fullScreen) {
|
if (m_fullScreen) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user