9 enum WindowFlags { INVISIBLE = 0x1, VISIBLE = 0x2, FULLSCREEN = 0x4, BORDERLESS = 0x8 };
17 int create(std::string windowName,
int screenWidth,
int screenHeight,
float scale,
unsigned int currentFlags);
21 void setScreenWidth(
int width) { _screenWidth = width; }
22 int getScreenWidth() {
return _screenWidth; }
23 void setScreenHeight(
int height) { _screenHeight = height; }
24 int getScreenHeight() {
return _screenHeight; }
25 void setScale(
float scale) { _scale = scale; }
26 float getScale() {
return _scale; }
27 SDL_Window* _sdlWindow =
nullptr;
28 SDL_GLContext glContext;
30 int _screenWidth = 0, _screenHeight = 0;