home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 114 / af114sub.adf / GadToolsBox3.lzx / GadToolsBox3 / Developers / smartbitmap.image / include / images / smartbitmap.h
Encoding:
C/C++ Source or Header  |  1998-01-12  |  1.2 KB  |  44 lines

  1. #ifndef IMAGES_SMARTBITMAP_H
  2. #define IMAGES_SMARTBITMAP_H
  3. /*
  4. **    $VER: smartbitmap.h 37.0 (13.2.96)
  5. **
  6. **    Definitions for the image BOOPSI class
  7. **
  8. **    (C) Copyright 1998 Tomasz Muszynski.
  9. **    All Rights Reserved
  10. */
  11.  
  12. /*****************************************************************************/
  13.  
  14.  
  15. #ifndef UTILITY_TAGITEM_H
  16. #include <utility/tagitem.h>
  17. #endif
  18.  
  19.  
  20. /*****************************************************************************/
  21.  
  22. #define SMARTBITMAPNAME "images/smartbitmap.image"
  23. #define SMARTBITMAPVERSION 39
  24.  
  25. struct SmartBitMapIRGB
  26. {
  27.     ULONG I,R,G,B;
  28. };
  29.  
  30. #define SMBM_Dummy        (TAG_USER+0x00001000)
  31. #define SMBM_Border        (SMBM_Dummy+1)            // draw gadget alike border around image
  32. #define SMBM_SelBorder        (SMBM_Dummy+2)    // draw gadget alike border around image if selected
  33. #define SMBM_Screen        (SMBM_Dummy+3)            // screen to display on
  34. #define SMBM_BitMap        (IA_Data)                        // bitmap data
  35. #define SMBM_Palette    (SMBM_Dummy+4)            // smartbitmapirgbs
  36. #define SMBM_Pens            (IA_Pens)                        // UWORDs for pens conversion
  37. #define SMBM_AllocPens (SMBM_Dummy+5)            // always allocate pens
  38.  
  39.  
  40. /*****************************************************************************/
  41.  
  42.  
  43. #endif /* IMAGES_SMARTBITMAP_H */
  44.