|
OpenTTD Source
1.11.0-beta1
|
Go to the documentation of this file.
36 bool ClaimMousePointer()
override;
40 const char *
GetName()
const override {
return "win32"; }
bool fullscreen
Whether to use (true) fullscreen mode.
bool ToggleFullscreen(bool fullscreen) override
Change the full screen setting.
const char * GetName() const override
Get the name of this driver.
The base of all video drivers.
Dimensions (a width and height) of a rectangle in 2D.
DriverFactoryBase(Driver::Type type, int priority, const char *name, const char *description)
Construct a new DriverFactory.
The factory for Windows' video driver.
Driver * CreateInstance() const override
Create an instance of this driver-class.
int height
Height in pixels of our display surface.
void MainLoop() override
Perform the actual drawing.
void MakeDirty(int left, int top, int width, int height) override
Mark a particular area dirty.
void Stop() override
Stop this driver.
void EditBoxLostFocus() override
An edit box lost the input focus.
The video driver for windows.
std::vector< std::string > StringList
Type for a list of strings.
void ReleaseBlitterLock() override
Release any lock(s) required to be held when changing blitters.
@ DT_VIDEO
A video driver.
int width
Width in pixels of our display surface.
bool ChangeResolution(int w, int h) override
Change the resolution of the window.
A driver for communicating with the user.
const char * Start(const StringList ¶m) override
Start this driver.
void AcquireBlitterLock() override
Acquire any lock(s) required to be held when changing blitters.
bool MakeWindow(bool full_screen)
Instantiate a new window.
Base for all driver factories.
bool AfterBlitterChange() override
Callback invoked after the blitter was changed.