Ne methods Draw_ShowCursor and Input_GetPointerDown

This commit is contained in:
2021-04-27 01:14:36 +02:00
committed by Valeriano A.R
parent 7482cb6868
commit 7aeafd4f32
4 changed files with 30 additions and 0 deletions

View File

@@ -1155,3 +1155,15 @@ void Draw_SaveScreenshoot(char *filename) {
free(pixelData);
#endif
}
/////////////////////////////
// Draw_ShowCursor
//
//
void Draw_ShowCursor(int showCursor) {
if (showCursor) {
SDL_ShowCursor(31);
} else {
SDL_ShowCursor(0);
}
}