OpenTTD: FVideoDriver_SDL Class Reference

OpenTTD

- Main Page
- Related Pages
- Modules
- Namespaces
- Data Structures
- Files

- Data Structures
- Class Hierarchy
- Data Fields

Public Member Functions
FVideoDriver_SDL Class Reference

Factory for the SDL video driver. More...

`#include <sdl_v.h>`

Inheritance diagram for FVideoDriver_SDL:

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

## 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.
static char * | GetDriversInfo (char *p, const char *last)
| Build a human readable list of available drivers, grouped by type.
Protected Member Functions inherited from DriverFactoryBase
| DriverFactoryBase (Driver::Type type, int priority, const char *name, const char *description)
| Construct a new DriverFactory.
virtual | ~DriverFactoryBase ()
| Frees memory used for this->name.

## Detailed Description

Factory for the SDL video driver.

Definition at line 44 of file sdl_v.h.

## Member Function Documentation

Driver* FVideoDriver_SDL::CreateInstance | ( |  | ) | const
| inlinevirtual

Create an instance of this driver-class.

Returns
  The instance.

Implements DriverFactoryBase.

Definition at line 47 of file sdl_v.h.

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

- src/video/sdl_v.h