Sfoglia il codice sorgente

Add IsCursorEnabled

pull/5419/head
sirsegv 2 mesi fa
committed by GitHub
parent
commit
737f00ef81
Non sono state trovate chiavi note per questa firma nel database ID Chiave GPG: B5690EEEBB952194
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. +6
    -0
      src/rcore.c

+ 6
- 0
src/rcore.c Vedi File

@ -853,6 +853,12 @@ bool IsCursorHidden(void)
return CORE.Input.Mouse.cursorHidden;
}
// Check if cursor is enabled (unlocked)
bool IsCursorEnabled(void)
{
return !CORE.Input.Mouse.cursorLocked;
}
// Check if cursor is on the current screen
bool IsCursorOnScreen(void)
{

Caricamento…
Annulla
Salva