Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

Bitmap::Bitmap ( int  width,
int  height,
const char *  dir,
const char *  suit,
const char *  rank 
)

Constructor for a card bitmap read from an xpm file

Definition at line 43 of file bitmap.c.

References loadXpm().

                                                   :
  cBitmap(width, height, 4)
{
  char* path;
  asprintf(&path, "%s/%s_%s.xpm", dir, suit, rank);
  loadXpm(path);
  free(path);
}


Generated by  Doxygen 1.6.0   Back to index