home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 2 / RISC_DISC_2.iso / pd_share / program / code / desklib / DeskLib / !DeskLib / h / Clear next >
Encoding:
Text File  |  1995-07-17  |  589 b   |  29 lines

  1.  
  2. #ifndef __dl_clear_h
  3. #define __dl_clear_h
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #ifndef __dl_wimp_h
  8. #include "Wimp.h"
  9. #endif
  10. typedef struct
  11. {
  12. char *creator;
  13. unsigned creatorversion;
  14. unsigned width,
  15. height;
  16. unsigned bpp;
  17. palette_entry *palette;
  18. unsigned char *bitmap;
  19. } clear_picture;
  20. void Clear_Init(char *creator, unsigned version);
  21. clear_picture *Clear_Load(char *filename);
  22. void Clear_Save(clear_picture *picture, char *filename);
  23. clear_picture *Clear_Create(unsigned width, unsigned height, unsigned bpp);
  24. void Clear_Free(clear_picture *picture);
  25. #ifdef __cplusplus
  26. }
  27. #endif
  28. #endif
  29.