1#ifndef SDLVISIBLESURFACEBASE_HH
2#define SDLVISIBLESURFACEBASE_HH
29 static int windowPosX;
30 static int windowPosY;
std::unique_ptr< SDL_Window, SDLDestroyWindow > SDLWindowPtr
A frame buffer where pixels can be written to.
Common functionality for the plain SDL and SDLGL VisibleSurface classes.
~SDLVisibleSurfaceBase() override
void createSurface(int width, int height, unsigned flags)
virtual void fullScreenUpdated(bool fullscreen)=0
SDLSubSystemInitializer< SDL_INIT_VIDEO > videoSubSystem
bool setFullScreen(bool fullscreen) override
void updateWindowTitle() override
An OutputSurface which is visible to the user, such as a window or a full screen display.
VisibleSurface(Display &display, RTScheduler &rtScheduler, EventDistributor &eventDistributor, InputEventGenerator &inputEventGenerator, CliComm &cliComm, VideoSystem &videoSystem)
This file implemented 3 utility functions: