home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------//
- // File: BitMask.Hpp //
- // Desc: Definition of a Single-Plane Bitmap Class //
- // Author: Marv Luse, Autumn Hill Software //
- //-------------------------------------------------------------//
-
- #ifndef _BITMASK_HPP_
- #define _BITMASK_HPP_
-
- //........ BitMask Class
-
- class BitMask
- {
- protected:
-
- int width; // width in pixels
- int height; // height in pixels
- int rowbytes; // bytes per row
- char *mask; // pointer to bitmask
-
- public:
-
- BitMask( );
- BitMask( int w, int h, char *m );
- ~BitMask( );
- virtual void draw( int x, int y, int clr );
- };
-
- #endif
-