Kaynağa Gözat

Add IsCursorEnabled

pull/5419/head
sirsegv 2 ay önce
işlemeyi yapan: GitHub
ebeveyn
işleme
737f00ef81
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: B5690EEEBB952194
1 değiştirilmiş dosya ile 6 ekleme ve 0 silme
  1. +6
    -0
      src/rcore.c

+ 6
- 0
src/rcore.c Dosyayı Görüntüle

@ -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)
{

Yükleniyor…
İptal
Kaydet