Guiliani  Version 2.5 revision 7293 (documentation build 13)
CDirectFbInterface Class Reference

#include <DirectFbInterface.h>

Static Public Member Functions

static IDirectFBSurface * GetActiveSurface ()
 
static IDirectFB * GetDirectFb ()
 
static DFBSurfacePixelFormat GetPixelFormatFromBpp (CGfxWrapDirectFb::BppFormat_t eBpp)
 
static IDirectFBSurface * GetScreen ()
 
static void ReleaseDirectFb ()
 Releases (frees) the interface.
 
static void SetActiveSurface (IDirectFBSurface *pkSurface)
 
static void SetScreen (IDirectFBSurface *pkSurface)
 

Detailed Description

DirectFB Interface class holding directFB main interface and initialization.

Member Function Documentation

◆ GetActiveSurface()

static IDirectFBSurface * CDirectFbInterface::GetActiveSurface ( )
static

Returns the active surface.

Returns
the active surface

◆ GetDirectFb()

static IDirectFB * CDirectFbInterface::GetDirectFb ( )
static

Gets and initializes (if needed) the DirectFB main interface.

Returns
the DirectFB interface

◆ GetPixelFormatFromBpp()

static DFBSurfacePixelFormat CDirectFbInterface::GetPixelFormatFromBpp ( CGfxWrapDirectFb::BppFormat_t  eBpp)
static

Maps BPP values to DirectFB surface pixelfomat.

Parameters
eBppbit per pixel
Returns
pixel format to use

◆ GetScreen()

static IDirectFBSurface * CDirectFbInterface::GetScreen ( )
static

Gets the screen.

Returns
the screen

◆ SetActiveSurface()

static void CDirectFbInterface::SetActiveSurface ( IDirectFBSurface *  pkSurface)
static

Sets surface to paint on.

Parameters
pkSurfacesurface to paint on, NULL sets surface to screen

◆ SetScreen()

static void CDirectFbInterface::SetScreen ( IDirectFBSurface *  pkSurface)
static

Sets screen.

Parameters
pkSurfacesurface to paint on, NULL sets surface to screen

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