9 #include "animatedimage.h"
26 static void Init(std::string title =
"Window");
42 static void DrawTexture(SDL_Texture *tex,
const Rectf &dstRect,
Recti *clip = NULL,
float angle = 0.0,
55 float angle = 0.0,
Vector2f pivot =
Vector2f(0, 0),
int flip = SDL_FLIP_NONE);
104 int flip = SDL_FLIP_NONE);
120 static SDL_Texture*
RenderText(std::string message, std::string fontFile,
Color color,
int fontSize);
145 static std::unique_ptr<SDL_Window, void (*)(SDL_Window*)> mWindow;
146 static std::unique_ptr<SDL_Renderer, void (*)(SDL_Renderer*)> mRenderer;
151 static int SCREEN_WIDTH;
152 static int SCREEN_HEIGHT;