18 #ifndef INCLUDED_VIDEOMODE
19 #define INCLUDED_VIDEOMODE
81 bool SetVideoMode(
int w,
int h,
int bpp,
bool fullscreen);
122 #endif // INCLUDED_VIDEOMODE
bool SetVideoMode(int w, int h, int bpp, bool fullscreen)
bool ToggleFullscreen()
Switch between fullscreen and windowed mode.
bool ResizeWindow(int w, int h)
Resize the SDL window and associated graphics stuff to the new size.
void Shutdown()
Shut down after InitSDL/InitNonSDL, so that they can be used again.
static void UpdateRenderer(int w, int h)
Update the graphics code to start drawing to the new size.
bool InitNonSDL()
Initialise parts of the video mode, for use in Atlas (which uses wxWidgets instead of SDL for GL)...
struct SDL_Window SDL_Window
bool m_IsInitialised
Remember whether Init has been called.
bool SetFullscreen(bool fullscreen)
Switch to fullscreen or windowed mode.
bool m_ConfigForceS3TCEnable
bool InitSDL()
Initialise the video mode, for use in an SDL-using application.