Afegit mouse.cpp per amagar el cursor quan no està moventse

This commit is contained in:
2025-01-03 23:35:48 +01:00
parent 08dfaf7641
commit b586a117c8
10 changed files with 109 additions and 19 deletions

View File

@@ -14,6 +14,7 @@
#include "notifier.h" // Para Notifier
#include "on_screen_help.h" // Para OnScreenHelp
#include "options.h" // Para Options, OptionsVideo, options, Options...
#include "mouse.h"
#ifndef NO_SHADERS
#include "jail_shader.h" // para init, render
@@ -259,6 +260,7 @@ void Screen::update()
Notifier::get()->update();
updateFPS();
OnScreenHelp::get()->update();
Mouse::updateCursorVisibility();
}
// Agita la pantalla