home *** CD-ROM | disk | FTP | other *** search
/ Enigma Amiga Life 106 / EnigmaAmiga106CD.iso / software / sviluppo / mcc_speedbar / developer / c / examples / mybrush.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-08-22  |  633 b   |  30 lines

  1. /*
  2. ** $Id: mybrush.h,v 1.2 1999/08/03 17:28:35 kingguppy Exp $
  3. */
  4.  
  5. #ifndef MYBRUSH_H
  6. #define MYBRUSH_H
  7.  
  8. struct MyImage {
  9.         UWORD           Width;
  10.         UWORD           Height;
  11.         UWORD          *ImageData;
  12.         APTR            Datatype;
  13.         ULONG           BytesPerRow;
  14.         UBYTE           Depth;
  15.         UBYTE          *CReg;
  16.         UBYTE          *Planes[8];
  17. };
  18.  
  19. struct MyBrush {
  20.         UWORD           Width;
  21.         UWORD           Height;
  22.         struct BitMap  *BitMap;
  23.         ULONG          *Colors;
  24. };
  25.  
  26. extern struct MyBrush *LoadBrush( STRPTR );
  27. extern void FreeBrush( struct MyBrush * );
  28.  
  29. #endif
  30.