#include <mmsimagemanager.h>
Public Member Functions | |
MMSImageManager (MMSFBLayer *layer=NULL) | |
~MMSImageManager () | |
MMSFBSurface * | getImage (const string &path, const string &filename, MMSIM_DESC_SUF **surfdesc=NULL, int mirror_size=0, bool gen_taff=true) |
MMSFBSurface * | newImage (const string &name, unsigned int width, unsigned int height, MMSFBSurfacePixelFormat pixelformat=MMSFB_PF_NONE) |
void | releaseImage (const string &path, const string &filename) |
void | releaseImage (MMSFBSurface *surface) |
Private Member Functions | |
bool | surface2TAFF (string &imagefile, MMSFBSurface *surface) |
bool | loadGIF (string file, MMSIM_DESC *desc) |
Private Attributes | |
MMSFBLayer * | layer |
MMSFBSurfacePixelFormat | pixelformat |
bool | usetaff |
MMSTAFF_PF | taffpf |
vector< MMSIM_DESC * > | images |
MMSMutex | lock |
MMSConfigData | config |
Definition at line 60 of file mmsimagemanager.h.
MMSImageManager::MMSImageManager | ( | MMSFBLayer * | layer = NULL |
) |
Definition at line 42 of file mmsimagemanager.cpp.
MMSImageManager::~MMSImageManager | ( | ) |
Definition at line 92 of file mmsimagemanager.cpp.
bool MMSImageManager::surface2TAFF | ( | string & | imagefile, | |
MMSFBSurface * | surface | |||
) | [private] |
bool MMSImageManager::loadGIF | ( | string | file, | |
MMSIM_DESC * | desc | |||
) | [private] |
MMSFBSurface * MMSImageManager::getImage | ( | const string & | path, | |
const string & | filename, | |||
MMSIM_DESC_SUF ** | surfdesc = NULL , |
|||
int | mirror_size = 0 , |
|||
bool | gen_taff = true | |||
) |
Definition at line 103 of file mmsimagemanager.cpp.
MMSFBSurface * MMSImageManager::newImage | ( | const string & | name, | |
unsigned int | width, | |||
unsigned int | height, | |||
MMSFBSurfacePixelFormat | pixelformat = MMSFB_PF_NONE | |||
) |
Definition at line 711 of file mmsimagemanager.cpp.
void MMSImageManager::releaseImage | ( | const string & | path, | |
const string & | filename | |||
) |
Definition at line 760 of file mmsimagemanager.cpp.
void MMSImageManager::releaseImage | ( | MMSFBSurface * | surface | ) |
Definition at line 798 of file mmsimagemanager.cpp.
MMSFBLayer* MMSImageManager::layer [private] |
Definition at line 62 of file mmsimagemanager.h.
Definition at line 63 of file mmsimagemanager.h.
bool MMSImageManager::usetaff [private] |
Definition at line 64 of file mmsimagemanager.h.
MMSTAFF_PF MMSImageManager::taffpf [private] |
Definition at line 65 of file mmsimagemanager.h.
vector<MMSIM_DESC*> MMSImageManager::images [private] |
Definition at line 67 of file mmsimagemanager.h.
MMSMutex MMSImageManager::lock [private] |
Definition at line 69 of file mmsimagemanager.h.
MMSConfigData MMSImageManager::config [private] |
Definition at line 71 of file mmsimagemanager.h.