home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / fish / enhancements / workbench&intuition / toolmanager / data.c < prev    next >
C/C++ Source or Header  |  1991-01-20  |  2KB  |  45 lines

  1. #include "ToolManager.h"
  2.  
  3. /* Version string */
  4. MyIdent="$VER: ToolManager " TM_VERSION " (" TM_DATE ")";
  5.  
  6. /* Structures for icon */
  7. static __chip UWORD ImageData[]={ /* Graphic data (48x48 Pixels) */
  8.  0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  9.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  10.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  11.  0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,
  12.  0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,
  13.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  14.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  15.  0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000};
  16. static struct Image MyIconImage={NULL,NULL,48,24,1,ImageData,1,0,NULL};
  17. struct DiskObject MyIcon={NULL,NULL,
  18.   /* Gadget definition */ {NULL,NULL,NULL,48,25,NULL,NULL,NULL,&MyIconImage,
  19.                            NULL,NULL,NULL,NULL,NULL,NULL},
  20.                           NULL,NULL,NULL,NO_ICON_POSITION,
  21.                           NO_ICON_POSITION,NULL,NULL,NULL};
  22.  
  23. /* Structures for message port */
  24. struct MsgPort *MyMP;
  25.  
  26. /* List for ToolNodes */
  27. struct List ToolList; /* This list contains ToolNodes */
  28. UWORD ToolCount=0;    /* Number of tools in ToolList */
  29.  
  30. /* Name of the configuration file */
  31. char ConfigName[]="S:ToolManager.Config";
  32.  
  33. /* Tags for System() */
  34. struct TagItem MyTags[]={SYS_Input,NULL,  /* Input file handle */
  35.                          SYS_Output,NULL, /* Output file handle */
  36.                          SYS_Asynch,TRUE, /* Run tools asynchronously */
  37.                          TAG_DONE,NULL};
  38.  
  39. /* Structures for window */
  40. UBYTE WindowTitle[]="ToolManager V" TM_VERSION " ©" TM_CRYEAR " by S. Becker";
  41. struct NewWindow nw={20,20,640,256,0,1,CLOSEWINDOW|REFRESHWINDOW|GADGETUP|
  42.                      GADGETDOWN|MOUSEMOVE|INTUITICKS,WINDOWDRAG|WINDOWDEPTH|
  43.                      WINDOWCLOSE|SIMPLE_REFRESH|ACTIVATE,NULL,
  44.                      NULL,WindowTitle,NULL,NULL,0,0,0,0,0};
  45.