pbbitmap.h

Go to the documentation of this file.
00001 /**********************************************************************
00002  *<
00003     FILE: pbbitmap.h
00004 
00005     DESCRIPTION: BMM Bitmap parameter wrapper for the ParamBlock2 system
00006 
00007     CREATED BY: John Wainwright
00008 
00009     HISTORY: created 4/27/00
00010 
00011  *> Copyright (c) Autodesk 2000, All Rights Reserved.
00012  **********************************************************************/
00013 
00014 #pragma once
00015 #include "PB2Export.h"
00016 #include "maxheap.h"
00017 #include <WTypes.h>
00018 #pragma warning(push)
00019 #pragma warning(disable:4201)
00020 #include <vfw.h>
00021 #pragma warning(pop)
00022 #include "bitmap.h"
00023 
00024 // a wrapper for bitmap/bitmapinfo pairs for holding bitmaps in a ParamBlock
00036 class PBBitmap: public MaxHeapOperators 
00037 {
00038 public:
00039     BitmapInfo  bi;
00040     Bitmap      *bm;
00044     PB2Export   PBBitmap(BitmapInfo &bi);
00047                 PBBitmap() { bm = NULL; }
00050     PB2Export  ~PBBitmap();
00051 
00055     PB2Export void      Load();
00058     PB2Export PBBitmap* Clone();
00059 };
00060 
00061 
00062