Define cursor enum and custom cursor window message (#980)

* Define cursor enum and custom cursor window message

* Fix param name

* Remove unused header
This commit is contained in:
Christian Semmler
2024-06-01 10:07:58 -04:00
committed by GitHub
parent b67af71f33
commit df20b05510
12 changed files with 54 additions and 48 deletions

View File

@@ -449,9 +449,9 @@ void FUN_1003ef00(MxBool p_enable)
}
// FUNCTION: LEGO1 0x1003ef40
void SetAppCursor(WPARAM p_wparam)
void SetAppCursor(Cursor p_cursor)
{
PostMessageA(MxOmni::GetInstance()->GetWindowHandle(), 0x5400, p_wparam, 0);
PostMessageA(MxOmni::GetInstance()->GetWindowHandle(), WM_ISLE_SETCURSOR, p_cursor, 0);
}
// FUNCTION: LEGO1 0x1003ef60