home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 5 / DATAFILE_PDCD5.iso / utilities / h / hp11 / Amiga_Code / c_ami / icon < prev    next >
Encoding:
Text File  |  1992-05-07  |  722 b   |  52 lines

  1. /*->c.icon  */
  2. #include "exec/types.h"
  3. #include "intuition/intuition.h"
  4. #include "workbench/workbench.h"
  5.  
  6. extern UWORD off_image_data[];
  7. extern UWORD prog_image_data[];
  8.  
  9. static struct Image prog_image = {
  10.    0, 0,
  11.    53, 42, 2,
  12.    prog_image_data,
  13.    3, 0,
  14.    NULL
  15. };
  16.  
  17. struct Image off_image = {
  18.    0, 0,
  19.    53, 42, 2,
  20.    off_image_data,
  21.    3, 0,
  22.    NULL
  23. };
  24.  
  25. static char *tool_types[] = {
  26.    "FILETYPE=HP11",
  27.    NULL
  28. };
  29.  
  30. char tool[120];
  31.  
  32. struct DiskObject prog_icon = {
  33.    WB_DISKMAGIC, WB_DISKVERSION,
  34.    { /* gadget */
  35.       NULL,
  36.       0, 0,
  37.       53, 43,
  38.       5,
  39.       3,
  40.       1,
  41.       (APTR)&prog_image,
  42.       NULL
  43.    },
  44.    4,
  45.    tool,
  46.    tool_types,
  47.    NO_ICON_POSITION, NO_ICON_POSITION,
  48.    NULL,
  49.    "",
  50.    0
  51. };
  52.