raylib: Add back ShowCursor

This commit is contained in:
Laytan Laats
2026-07-06 19:02:38 +02:00
parent e8ad21ed2a
commit 7028a3479f
2 changed files with 2 additions and 3 deletions

View File

@@ -205,7 +205,7 @@ foreign user32 {
GetCursorPos :: proc(lpPoint: LPPOINT) -> BOOL ---
SetCursorPos :: proc(X, Y: INT) -> BOOL ---
SetCursor :: proc(hCursor: HCURSOR) -> HCURSOR ---
when !intrinsics.is_package_imported("raylib") {
when !intrinsics.is_package_imported("raylib") && !intrisincs.is_package_imported("raylib6") {
ShowCursor :: proc(bShow: BOOL) -> INT ---
}

View File

@@ -981,8 +981,7 @@ foreign lib {
// Cursor-related functions
// NOTE(Jeroen): Conflicts with `ShowCursor` in `core:sys/windows`
// ShowCursor :: proc() --- // Shows cursor
ShowCursor :: proc() --- // Shows cursor
HideCursor :: proc() --- // Hides cursor
IsCursorHidden :: proc() -> bool --- // Check if cursor is not visible
EnableCursor :: proc() --- // Enables cursor (unlock cursor)