This reference page is linked to from the following overview topics: Principal Bitmap Classes, Creating Bitmaps, Loading Bitmaps, Saving Bitmaps, Custom Bitmap Properties, Memory Management for Plug-ins that Work with Bitmaps, Error Reporting, Plug-in Configuration System.
#include <bitmap.h>
Public Member Functions |
|
BitmapManager (BMMInterface *i) | |
BitmapManager (BMMInterface *i, const MCHAR *name) | |
virtual BMMExport | ~BitmapManager () |
virtual int | DeleteAllMaps ()=0 |
virtual int | AddStorage (BitmapStorage *s)=0 |
virtual int | AddFilter (BitmapFilter *a)=0 |
virtual int | AddBitmap (Bitmap *b)=0 |
virtual int | DelStorage (BitmapStorage *s)=0 |
virtual int | DelFilter (BitmapFilter *a)=0 |
virtual int | DelBitmap (Bitmap *b)=0 |
virtual BitmapFilter * | FindFilter (BitmapStorage *s, UINT type)=0 |
virtual BitmapStorage * | FindStorage (BitmapInfo *bi, int openMode)=0 |
virtual int | FnametoBitMapInfo (BitmapInfo *bi)=0 |
virtual void | FixFileExt (OPENFILENAME &ofn, const MCHAR *extension)=0 |
virtual void | MakeVfbPalette ()=0 |
virtual void | ListIO ()=0 |
virtual HINSTANCE | AppInst ()=0 |
virtual HWND | AppWnd ()=0 |
virtual DllDir * | AppDllDir ()=0 |
virtual const MCHAR * | GetDir (int i)=0 |
virtual BOOL | AddMapDir (const MCHAR *dir, int update)=0 |
virtual int | GetMapDirCount ()=0 |
virtual const MCHAR * | GetMapDir (int i)=0 |
virtual Interface * | Max ()=0 |
virtual Bitmap * | NewBitmap ()=0 |
virtual void | SetFileInputDialog (BitmapFileInputDialog *dlg=NULL)=0 |
virtual void | SetFileOutputDialog (BitmapFileOutputDialog *dlg=NULL)=0 |
virtual int | Status (int *sCount, int *aCount, int *bCount)=0 |
virtual int | Error (const MCHAR *string)=0 |
virtual BOOL | SilentMode ()=0 |
virtual void | SysLog (int type, char *format,...)=0 |
virtual BOOL | SetSilentMode (BOOL s)=0 |
virtual void | SetLogLevel (DWORD level)=0 |
virtual DWORD | GetLogLevel ()=0 |
virtual BMMExport Bitmap * | Create (BitmapInfo *bi)=0 |
virtual BMMExport Bitmap * | Create (PBITMAPINFO pbmi)=0 |
virtual BMMExport Bitmap * | Load (BitmapInfo *bi, BMMRES *status=NULL)=0 |
virtual BMMRES | LoadInto (BitmapInfo *bi, Bitmap **map, BOOL forceReload=FALSE)=0 |
virtual BMMRES | GetImageInfoDlg (HWND hWnd, BitmapInfo *bi, const MCHAR *filename=NULL)=0 |
virtual BMMRES | GetImageInfo (BitmapInfo *bi, const MCHAR *filename=NULL)=0 |
virtual BOOL | ImageInputOptions (BitmapInfo *bi, HWND hWnd)=0 |
virtual BOOL | SelectDeviceInput (BitmapInfo *bi, HWND hWnd)=0 |
virtual BOOL | SelectDeviceOutput (BitmapInfo *bi, HWND hWnd)=0 |
virtual BOOL | SelectFileOutput (BitmapInfo *bi, HWND hWnd, MCHAR *title=NULL, ULONG *pflags=NULL)=0 |
virtual BOOL | SelectFileInput (BitmapInfo *bi, HWND hWnd, MCHAR *title=NULL)=0 |
virtual BOOL | SelectFileInputEx (BitmapInfo *bi, HWND hWnd, MCHAR *title=NULL, BOOL viewonly=FALSE)=0 |
virtual void | RefreshAllVFBs ()=0 |
virtual void | DeleteAllAutonomousVFBMaps ()=0 |
virtual INT_PTR | Execute (int cmd, ULONG_PTR arg1=0, ULONG_PTR arg2=0, ULONG_PTR arg3=0)=0 |
virtual void | BeginSavingLoadErrorFiles ()=0 |
virtual NameTab & | GetLoadErrorFileList ()=0 |
virtual void | EndSavingLoadErrorFiles ()=0 |
virtual BMMExport bool | CanImport (const MCHAR *filename)=0 |
void | ClearInternalRelativePathResolutionCache () |
Public Attributes |
|
BMMVfbPalette * | pal |
BMM_IOList | ioList |
Friends |
|
void | DoConstruct (BitmapManager *m, BMMInterface *i, const MCHAR *name) |
BitmapManager | ( | BMMInterface * | i | ) | [inline] |
{ pal = NULL; }
BitmapManager | ( | BMMInterface * | i, |
const MCHAR * | name | ||
) | [inline] |
{ pal = NULL; }
virtual BMMExport ~BitmapManager | ( | ) | [virtual] |
virtual int DeleteAllMaps | ( | ) | [pure virtual] |
virtual int AddStorage | ( | BitmapStorage * | s | ) | [pure virtual] |
virtual int AddFilter | ( | BitmapFilter * | a | ) | [pure virtual] |
virtual int AddBitmap | ( | Bitmap * | b | ) | [pure virtual] |
virtual int DelStorage | ( | BitmapStorage * | s | ) | [pure virtual] |
virtual int DelFilter | ( | BitmapFilter * | a | ) | [pure virtual] |
virtual int DelBitmap | ( | Bitmap * | b | ) | [pure virtual] |
virtual BitmapFilter* FindFilter | ( | BitmapStorage * | s, |
UINT | type | ||
) | [pure virtual] |
virtual BitmapStorage* FindStorage | ( | BitmapInfo * | bi, |
int | openMode | ||
) | [pure virtual] |
virtual int FnametoBitMapInfo | ( | BitmapInfo * | bi | ) | [pure virtual] |
virtual void FixFileExt | ( | OPENFILENAME & | ofn, |
const MCHAR * | extension | ||
) | [pure virtual] |
virtual void MakeVfbPalette | ( | ) | [pure virtual] |
virtual void ListIO | ( | ) | [pure virtual] |
virtual HINSTANCE AppInst | ( | ) | [pure virtual] |
virtual HWND AppWnd | ( | ) | [pure virtual] |
virtual DllDir* AppDllDir | ( | ) | [pure virtual] |
virtual const MCHAR* GetDir | ( | int | i | ) | [pure virtual] |
virtual BOOL AddMapDir | ( | const MCHAR * | dir, |
int | update | ||
) | [pure virtual] |
virtual int GetMapDirCount | ( | ) | [pure virtual] |
virtual const MCHAR* GetMapDir | ( | int | i | ) | [pure virtual] |
virtual Interface* Max | ( | ) | [pure virtual] |
virtual Bitmap* NewBitmap | ( | ) | [pure virtual] |
virtual void SetFileInputDialog | ( | BitmapFileInputDialog * | dlg = NULL |
) | [pure virtual] |
virtual void SetFileOutputDialog | ( | BitmapFileOutputDialog * | dlg = NULL |
) | [pure virtual] |
virtual int Status | ( | int * | sCount, |
int * | aCount, | ||
int * | bCount | ||
) | [pure virtual] |
virtual int Error | ( | const MCHAR * | string | ) | [pure virtual] |
virtual BOOL SilentMode | ( | ) | [pure virtual] |
virtual void SysLog | ( | int | type, |
char * | format, | ||
... | |||
) | [pure virtual] |
virtual BOOL SetSilentMode | ( | BOOL | s | ) | [pure virtual] |
virtual void SetLogLevel | ( | DWORD | level | ) | [pure virtual] |
virtual DWORD GetLogLevel | ( | ) | [pure virtual] |
virtual BMMExport Bitmap* Create | ( | BitmapInfo * | bi | ) | [pure virtual] |
virtual BMMExport Bitmap* Create | ( | PBITMAPINFO | pbmi | ) | [pure virtual] |
virtual BMMExport Bitmap* Load | ( | BitmapInfo * | bi, |
BMMRES * | status =
NULL |
||
) | [pure virtual] |
virtual BMMRES LoadInto | ( | BitmapInfo * | bi, |
Bitmap ** | map, | ||
BOOL | forceReload =
FALSE |
||
) | [pure virtual] |
virtual BMMRES GetImageInfoDlg | ( | HWND | hWnd, |
BitmapInfo * | bi, | ||
const MCHAR * | filename =
NULL |
||
) | [pure virtual] |
virtual BMMRES GetImageInfo | ( | BitmapInfo * | bi, |
const MCHAR * | filename =
NULL |
||
) | [pure virtual] |
virtual BOOL ImageInputOptions | ( | BitmapInfo * | bi, |
HWND | hWnd | ||
) | [pure virtual] |
virtual BOOL SelectDeviceInput | ( | BitmapInfo * | bi, |
HWND | hWnd | ||
) | [pure virtual] |
virtual BOOL SelectDeviceOutput | ( | BitmapInfo * | bi, |
HWND | hWnd | ||
) | [pure virtual] |
virtual BOOL SelectFileOutput | ( | BitmapInfo * | bi, |
HWND | hWnd, | ||
MCHAR * | title = NULL , |
||
ULONG * | pflags =
NULL |
||
) | [pure virtual] |
virtual BOOL SelectFileInput | ( | BitmapInfo * | bi, |
HWND | hWnd, | ||
MCHAR * | title = NULL |
||
) | [pure virtual] |
virtual BOOL SelectFileInputEx | ( | BitmapInfo * | bi, |
HWND | hWnd, | ||
MCHAR * | title = NULL , |
||
BOOL | viewonly =
FALSE |
||
) | [pure virtual] |
virtual void RefreshAllVFBs | ( | ) | [pure virtual] |
virtual void DeleteAllAutonomousVFBMaps | ( | ) | [pure virtual] |
virtual INT_PTR Execute | ( | int | cmd, |
ULONG_PTR | arg1 = 0 , |
||
ULONG_PTR | arg2 = 0 , |
||
ULONG_PTR | arg3 = 0 |
||
) | [pure virtual] |
virtual void BeginSavingLoadErrorFiles | ( | ) | [pure virtual] |
virtual NameTab& GetLoadErrorFileList | ( | ) | [pure virtual] |
virtual void EndSavingLoadErrorFiles | ( | ) | [pure virtual] |
virtual BMMExport bool CanImport | ( | const MCHAR * | filename | ) | [pure virtual] |
void ClearInternalRelativePathResolutionCache | ( | ) | [inline] |
{ Execute(BMM_FLUSH_RELATIVE_FILE_RESOLUTION_CACHE); }
void DoConstruct | ( | BitmapManager * | m, |
BMMInterface * | i, | ||
const MCHAR * | name | ||
) | [friend] |