Oculta el puntero del raton al compilar en modo ARCADE
This commit is contained in:
@@ -146,8 +146,13 @@ void Screen::setVideoMode(int videoMode)
|
|||||||
// Aplica el modo de video
|
// Aplica el modo de video
|
||||||
SDL_SetWindowFullscreen(window, 0);
|
SDL_SetWindowFullscreen(window, 0);
|
||||||
|
|
||||||
|
#ifdef ARCADE
|
||||||
|
// Oculta el puntero
|
||||||
|
SDL_ShowCursor(SDL_DISABLE);
|
||||||
|
#else
|
||||||
// Muestra el puntero
|
// Muestra el puntero
|
||||||
SDL_ShowCursor(SDL_ENABLE);
|
SDL_ShowCursor(SDL_ENABLE);
|
||||||
|
#endif
|
||||||
|
|
||||||
windowWidth = gameCanvasWidth;
|
windowWidth = gameCanvasWidth;
|
||||||
windowHeight = gameCanvasHeight;
|
windowHeight = gameCanvasHeight;
|
||||||
|
|||||||
Reference in New Issue
Block a user