openMSX
SDLVisibleSurfaceBase.hh
Go to the documentation of this file.
1 #ifndef SDLVISIBLESURFACEBASE_HH
2 #define SDLVISIBLESURFACEBASE_HH
3 
4 #include "SDLOutputSurface.hh"
5 #include "VisibleSurface.hh"
6 #include "SDLSurfacePtr.hh"
7 
8 namespace openmsx {
9 
13 {
14 public:
15  void updateWindowTitle() override;
16  bool setFullScreen(bool fullscreen) override;
17 
18 protected:
20  void createSurface(int width, int height, unsigned flags);
21 
24 };
25 
26 } // namespace openmsx
27 
28 #endif
openmsx::SDLVisibleSurfaceBase::updateWindowTitle
void updateWindowTitle() override
Definition: SDLVisibleSurfaceBase.cc:69
VisibleSurface.hh
openmsx::SDLVisibleSurfaceBase
Common functionality for the plain SDL and SDLGL VisibleSurface classes.
Definition: SDLVisibleSurfaceBase.hh:12
openmsx::VisibleSurface::VisibleSurface
VisibleSurface(Display &display, RTScheduler &rtScheduler, EventDistributor &eventDistributor, InputEventGenerator &inputEventGenerator, CliComm &cliComm, VideoSystem &videoSystem)
Definition: VisibleSurface.cc:14
openmsx::SDLVisibleSurfaceBase::setFullScreen
bool setFullScreen(bool fullscreen) override
Definition: SDLVisibleSurfaceBase.cc:75
openmsx::VisibleSurface
An OutputSurface which is visible to the user, such as a window or a full screen display.
Definition: VisibleSurface.hh:26
SDLSurfacePtr.hh
SDLOutputSurface.hh
openmsx::SDLOutputSurface
A frame buffer where pixels can be written to.
Definition: SDLOutputSurface.hh:29
openmsx::SDLVisibleSurfaceBase::createSurface
void createSurface(int width, int height, unsigned flags)
Definition: SDLVisibleSurfaceBase.cc:17
openmsx::SDLVisibleSurfaceBase::window
SDLWindowPtr window
Definition: SDLVisibleSurfaceBase.hh:23
SDLSubSystemInitializer< SDL_INIT_VIDEO >
SDLWindowPtr
std::unique_ptr< SDL_Window, SDLDestroyWindow > SDLWindowPtr
Definition: SDLSurfacePtr.hh:153
openmsx::SDLVisibleSurfaceBase::videoSubSystem
SDLSubSystemInitializer< SDL_INIT_VIDEO > videoSubSystem
Definition: SDLVisibleSurfaceBase.hh:22
openmsx
Thanks to enen for testing this on a real cartridge:
Definition: Autofire.cc:5