migrant a SDL3
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
#pragma once
|
||||
#include <SDL3/SDL.h>
|
||||
|
||||
#include <SDL3/SDL_blendmode.h> // Para SDL_BlendMode
|
||||
#include <SDL3/SDL_rect.h> // Para SDL_FRect, SDL_Point
|
||||
#include <SDL3/SDL_rect.h> // Para SDL_FRect, SDL_FPoint
|
||||
#include <SDL3/SDL_render.h> // Para SDL_Renderer, SDL_Texture
|
||||
#include <SDL3/SDL_stdinc.h> // Para Uint32
|
||||
#include <SDL3/SDL_video.h> // Para SDL_Window
|
||||
@@ -16,12 +17,6 @@ enum class ScreenFilter : int
|
||||
LINEAL = 1,
|
||||
};
|
||||
|
||||
enum class ScreenVideoMode : bool
|
||||
{
|
||||
WINDOW = false,
|
||||
FULLSCREEN = true,
|
||||
};
|
||||
|
||||
class Screen
|
||||
{
|
||||
private:
|
||||
@@ -239,10 +234,10 @@ public:
|
||||
void render();
|
||||
|
||||
// Establece el modo de video
|
||||
void setVideoMode(ScreenVideoMode mode = options.video.mode);
|
||||
void setFullscreenMode(bool mode = options.video.fullscreen);
|
||||
|
||||
// Cambia entre pantalla completa y ventana
|
||||
void toggleVideoMode();
|
||||
void toggleFullscreen();
|
||||
|
||||
// Cambia el tamaño de la ventana
|
||||
void setWindowZoom(int size);
|
||||
|
||||
Reference in New Issue
Block a user