|
OpenTTD Source
1.11.0-beta1
|
Go to the documentation of this file.
36 bool ClaimMousePointer()
override;
38 const char *
GetName()
const override {
return "sdl"; }
41 bool CreateMainSurface(uint w, uint h);
bool fullscreen
Whether to use (true) fullscreen mode.
const char * Start(const StringList ¶m) override
Start this driver.
The base of all video drivers.
const char * GetName() const override
Get the name of this driver.
void ReleaseBlitterLock() override
Release any lock(s) required to be held when changing blitters.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
void MainLoop() override
Perform the actual drawing.
int height
Height in pixels of our display surface.
void AcquireBlitterLock() override
Acquire any lock(s) required to be held when changing blitters.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
std::vector< std::string > StringList
Type for a list of strings.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
Factory for the SDL video driver.
bool AfterBlitterChange() override
Callback invoked after the blitter was changed.
int width
Width in pixels of our display surface.
Driver * CreateInstance() const override
Create an instance of this driver-class.
A driver for communicating with the user.
void Stop() override
Stop this driver.
Base for all driver factories.