- [FIX] Ja se pot amagar i mostrar el cursor.
- [FIX] Arreglat error al carregar arxius zero_terminated. - [ONGOING] Un poc de treball en shaders més avançats.
This commit is contained in:
@@ -276,6 +276,18 @@ namespace draw
|
||||
shader_enabled ? disableShader() : enableShader();
|
||||
}
|
||||
|
||||
void hideCursor()
|
||||
{
|
||||
screen_cursor = false;
|
||||
SDL_HideCursor();
|
||||
}
|
||||
|
||||
void showCursor()
|
||||
{
|
||||
screen_cursor = true;
|
||||
SDL_ShowCursor();
|
||||
}
|
||||
|
||||
// Crea una superficie i torna un punter a ella
|
||||
surface *createSurface(const uint16_t w, const uint16_t h)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user