#include <impexpop.h>
Inheritance diagram for BitmapExportParam:

Public Member Functions | |
| BitmapExportParam () | |
| Default Constructor.   | |
| BitmapExportParam (UINT32 Count, KernelBitmap **pBitmap, BmpDlgParam *pParam) | |
| Used to pass around lists of bitmaps. Note that deleting the bitmap array is the responsibility of the caller.   | |
| BmpDlgParam * | GetBmpDlgParam () | 
| BOOL | SetBmpDlgParam (BmpDlgParam *pParam) | 
| virtual UINT32 | GetBitmapCount () | 
| For getting the number of bitmaps in the array!   | |
| virtual KernelBitmap * | GetBitmap (UINT32 Index) | 
| For safely getting a pointer to a bitmap in the bitmap array.   | |
| virtual Layer * | GetLayer (UINT32 Index) | 
| virtual UINT32 | GetLayerCount () | 
Protected Attributes | |
| BmpDlgParam * | m_pBmpDlgParam | 
Private Member Functions | |
| CC_DECLARE_DYNAMIC (BitmapExportParam) | |
Definition at line 173 of file impexpop.h.
      
  | 
  
| 
 Default Constructor. > BitmapExportParam::BitmapExportParam() 
 
 
 Definition at line 2024 of file impexpop.cpp. 02024 : OpParam(0, 0) 02025 { 02026 m_pBmpDlgParam = 0; 02027 } 
  | 
  
      
  | 
  ||||||||||||||||
| 
 Used to pass around lists of bitmaps. Note that deleting the bitmap array is the responsibility of the caller. 
 
 
 
 
 Definition at line 2041 of file impexpop.cpp. 02041 : 02042 OpParam((INT32)Count, (void *)pBitmap) 02043 { 02044 ERROR3IF(Count==0, "Zero bitmap count, that's not right"); 02045 ERROR3IF(pBitmap==0, "0 bitmap array"); 02046 ERROR3IF(!(*pBitmap)->IS_KIND_OF(KernelBitmap), "This dosen't seem to be an array of kernel bitmaps"); 02047 02048 // Save a reference to the BmpDlgParam, for use in BmpPrefsDlg. 02049 SetBmpDlgParam(pParam); 02050 } 
  | 
  
      
  | 
  
| 
 
  | 
  
      
  | 
  
| 
 For safely getting a pointer to a bitmap in the bitmap array. 
 
 
 
 
 Reimplemented in GIFAnimationExportParam. Definition at line 2081 of file impexpop.cpp. 02082 { 02083 ERROR2IF(Index>=(UINT32)Param1, 0, "Index out of bounds"); 02084 ERROR2IF(Param2==0, 0, "0 array"); 02085 02086 ERROR3IF( !( ( (KernelBitmap**)(void *)Param2 )[Index])->IS_KIND_OF(KernelBitmap), "This dosen't seem to be a pointer to a kernel bitmap"); 02087 return( (KernelBitmap**)(void *)Param2 )[Index]; 02088 } 
  | 
  
      
  | 
  
| 
 For getting the number of bitmaps in the array! 
 
 
 
 
 Reimplemented in GIFAnimationExportParam. Definition at line 2064 of file impexpop.cpp. 
  | 
  
      
  | 
  
| 
 
 Definition at line 180 of file impexpop.h. 00180 { return m_pBmpDlgParam; } 
  | 
  
      
  | 
  
| 
 
 Reimplemented in GIFAnimationExportParam. Definition at line 188 of file impexpop.h. 00188 { return NULL; } 
  | 
  
      
  | 
  
| 
 
 Reimplemented in GIFAnimationExportParam. Definition at line 189 of file impexpop.h. 
  | 
  
      
  | 
  
| 
 
 
 
 
 
 
 Definition at line 2101 of file impexpop.cpp. 02102 { 02103 ERROR2IF(pParam == 0,FALSE, "pParam is 0"); 02104 m_pBmpDlgParam = pParam; 02105 return TRUE; 02106 } 
  | 
  
      
  | 
  
| 
 
 Definition at line 192 of file impexpop.h.  | 
  
 1.4.4