mmsfbbase.cpp File Reference

#include "mmsgui/fb/mmsfbbase.h"
#include "mmstools/tools.h"
#include <string.h>

Include dependency graph for mmsfbbase.cpp:

Go to the source code of this file.


string MMSFB_ErrorString (const int rc, const string msg)
void MMSFB_SetError (const int rc, const string msg)
bool isAlphaPixelFormat (MMSFBSurfacePixelFormat pf)
bool isIndexedPixelFormat (MMSFBSurfacePixelFormat pf)
bool isRGBPixelFormat (MMSFBSurfacePixelFormat pf)
void getBitsPerPixel (MMSFBSurfacePixelFormat pf, MMSFBPixelDef *pixeldef)
MMSFBSurfacePixelFormat getMMSFBPixelFormatFromDFBPixelFormat (DFBSurfacePixelFormat pf)
DFBSurfacePixelFormat getDFBPixelFormatFromMMSFBPixelFormat (MMSFBSurfacePixelFormat pf)
string getDFBLayerBufferModeString (DFBDisplayLayerBufferMode bm)
DFBDisplayLayerBufferMode getDFBLayerBufferModeFromString (string bm)
string getDFBLayerOptionsString (DFBDisplayLayerOptions opts)
DFBDisplayLayerOptions getDFBLayerOptionsFromString (string opts)
DFBSurfaceBlittingFlags getDFBSurfaceBlittingFlagsFromMMSFBBlittingFlags (MMSFBBlittingFlags flags)
DFBSurfaceDrawingFlags getDFBSurfaceDrawingFlagsFromMMSFBDrawingFlags (MMSFBDrawingFlags flags)
DFBSurfaceFlipFlags getDFBSurfaceFlipFlagsFromMMSFBFlipFlags (MMSFBFlipFlags flags)
DFBSurfaceLockFlags getDFBSurfaceLockFlagsFromMMSFBLockFlags (MMSFBLockFlags flags)
void calcAspectRatio (int sw, int sh, int dw, int dh, MMSFBRectangle &dest, bool aspect_ratio, bool even_aligned)


string MMSFB_LastErrorString
bool MMSFBBase_rotate180 = false

Function Documentation

void calcAspectRatio ( int  sw,
int  sh,
int  dw,
int  dh,
MMSFBRectangle dest,
bool  aspect_ratio,
bool  even_aligned 

Definition at line 549 of file mmsfbbase.cpp.

void getBitsPerPixel ( MMSFBSurfacePixelFormat  pf,
MMSFBPixelDef pixeldef 

Definition at line 107 of file mmsfbbase.cpp.

DFBDisplayLayerBufferMode getDFBLayerBufferModeFromString ( string  bm  ) 

Definition at line 437 of file mmsfbbase.cpp.

string getDFBLayerBufferModeString ( DFBDisplayLayerBufferMode  bm  ) 

Definition at line 416 of file mmsfbbase.cpp.

DFBDisplayLayerOptions getDFBLayerOptionsFromString ( string  opts  ) 

Definition at line 480 of file mmsfbbase.cpp.

string getDFBLayerOptionsString ( DFBDisplayLayerOptions  opts  ) 

Definition at line 456 of file mmsfbbase.cpp.

DFBSurfacePixelFormat getDFBPixelFormatFromMMSFBPixelFormat ( MMSFBSurfacePixelFormat  pf  ) 

Definition at line 380 of file mmsfbbase.cpp.

DFBSurfaceBlittingFlags getDFBSurfaceBlittingFlagsFromMMSFBBlittingFlags ( MMSFBBlittingFlags  flags  ) 

Definition at line 503 of file mmsfbbase.cpp.

DFBSurfaceDrawingFlags getDFBSurfaceDrawingFlagsFromMMSFBDrawingFlags ( MMSFBDrawingFlags  flags  ) 

Definition at line 518 of file mmsfbbase.cpp.

DFBSurfaceFlipFlags getDFBSurfaceFlipFlagsFromMMSFBFlipFlags ( MMSFBFlipFlags  flags  ) 

Definition at line 527 of file mmsfbbase.cpp.

DFBSurfaceLockFlags getDFBSurfaceLockFlagsFromMMSFBLockFlags ( MMSFBLockFlags  flags  ) 

Definition at line 538 of file mmsfbbase.cpp.

MMSFBSurfacePixelFormat getMMSFBPixelFormatFromDFBPixelFormat ( DFBSurfacePixelFormat  pf  ) 

Definition at line 346 of file mmsfbbase.cpp.

bool isAlphaPixelFormat ( MMSFBSurfacePixelFormat  pf  ) 

Definition at line 64 of file mmsfbbase.cpp.

bool isIndexedPixelFormat ( MMSFBSurfacePixelFormat  pf  ) 

Definition at line 86 of file mmsfbbase.cpp.

bool isRGBPixelFormat ( MMSFBSurfacePixelFormat  pf  ) 

Definition at line 93 of file mmsfbbase.cpp.

string MMSFB_ErrorString ( const int  rc,
const string  msg 

Definition at line 44 of file mmsfbbase.cpp.

void MMSFB_SetError ( const int  rc,
const string  msg 

Definition at line 59 of file mmsfbbase.cpp.

Variable Documentation

Definition at line 38 of file mmsfbbase.cpp.

Definition at line 41 of file mmsfbbase.cpp.