BitmapList

Description: Maintains a pool of bitmap pointers.

Source file: …\genesis3d\OpenSource\Source\Engine\BitmapList.h

Contents:

Functions: Create, Destroy, SetGamma, AttachAll, DetachAll, Add, Remove, Has, CountMembers, CountMembersAttached

Types: BitmapList

Changes for Genesis v1.6: None

Types:

typedef struct BitmapList BitmapList;

NOTE: The contents of this structure have been intentionally left out of the interface, by the designers of this module. Think of this as a handle only.

 Return to Contents

Functions:

BitmapList* BitmapList_Create(void);

Return to Contents

geBoolean BitmapList_Destroy(BitmapList* pList);

Return to Contents

geBoolean BitmapList_SetGamma(BitmapList* pList, geFloat Gamma);

 Return to Contents

geBoolean BitmapList_AttachAll(BitmapList* pList, DRV_Driver* Drivera, geFloat Gamma);

Return to Contents

geBoolean BitmapList_DetachAll(BitmapList* pList);

 

Return to Contents

geBoolean BitmapList_Add(BitmapList* pList, geBitmap* Bitmap);

Does do not do any Attach or Detach

Returns: Was It New ? (Note: does NOT return Ok/NOk )

 

Return to Contents

geBoolean BitmapList_Remove(BitmapList* pList, geBitmap* Bitmap);

Does do not do any Attach or Detach

Returns: Was It New ? (Note: does NOT return Ok/NOk )

 

Return to Contents

geBoolean BitmapList_Has(BitmapList* pList, geBitmap* Bitmap);

 

Return to Contents

int BitmapList_CountMembers(BitmapList* pList);

only available if: #ifndef NDEBUG

 

Return to Contents

int BitmapList_CountMembersAttached(BitmapList* pList);

only available if: #ifndef NDEBUG

 
Return to Contents