OpenTTD
Public Member Functions
FVideoDriver_SDL Class Reference

Factory for the SDL video driver. More...

#include <sdl_v.h>

Inheritance diagram for FVideoDriver_SDL:
DriverFactoryBase

Public Member Functions

DriverCreateInstance () const
 Create an instance of this driver-class. More...
 
- Public Member Functions inherited from DriverFactoryBase
const char * GetDescription () const
 Get a nice description of the driver-class. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from DriverFactoryBase
static void ShutdownDrivers ()
 Shuts down all active drivers.
 
static void SelectDriver (const char *name, Driver::Type type)
 Find the requested driver and return its class. More...
 
static char * GetDriversInfo (char *p, const char *last)
 Build a human readable list of available drivers, grouped by type. More...
 
- Protected Member Functions inherited from DriverFactoryBase
 DriverFactoryBase (Driver::Type type, int priority, const char *name, const char *description)
 Construct a new DriverFactory. More...
 
virtual ~DriverFactoryBase ()
 Frees memory used for this->name.
 

Detailed Description

Factory for the SDL video driver.

Definition at line 48 of file sdl_v.h.

Member Function Documentation

◆ CreateInstance()

Driver* FVideoDriver_SDL::CreateInstance ( ) const
inlinevirtual

Create an instance of this driver-class.

Returns
The instance.

Implements DriverFactoryBase.

Definition at line 51 of file sdl_v.h.


The documentation for this class was generated from the following file: