1
0
Fork 0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-11-04 18:29:41 +01:00
VVVVVV/desktop_version/src/Screen.h
Misa 0947840365 Remove unused variable Screen::glScreen
Not sure what this was meant to be - a flag for if the screen is OpenGL
or not? Either way, unused.
2020-04-03 10:40:50 -04:00

38 lines
595 B
C++

#ifndef SCREEN_H
#define SCREEN_H
#include <SDL.h>
class Screen
{
public:
Screen();
void ResizeScreen(int x, int y);
void GetWindowSize(int* x, int* y);
void UpdateScreen(SDL_Surface* buffer, SDL_Rect* rect);
void FlipScreen();
const SDL_PixelFormat* GetFormat();
void toggleFullScreen();
void toggleStretchMode();
void toggleLinearFilter();
bool isWindowed;
bool isFiltered;
bool badSignalEffect;
int stretchMode;
SDL_Window *m_window;
SDL_Renderer *m_renderer;
SDL_Texture *m_screenTexture;
SDL_Surface* m_screen;
SDL_Rect filterSubrect;
};
#endif /* SCREEN_H */