home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 492.lha / ToolManager_v1.3 / src / data.c < prev    next >
Encoding:
C/C++ Source or Header  |  1991-04-06  |  2.1 KB  |  57 lines

  1. /*
  2.  * data.c   V1.3
  3.  *
  4.  * global data
  5.  *
  6.  * (c) 1991 by Stefan Becker
  7.  *
  8.  */
  9. #include "ToolManager.h"
  10.  
  11. /* Version string */
  12. MyIdent="$VER: ToolManager " TM_VERSION " (" TM_DATE ")";
  13.  
  14. /* Structures for icon */
  15. static __chip UWORD ImageData[]={ /* Graphic data (48x48 Pixels) */
  16.  0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
  17.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  18.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  19.  0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,
  20.  0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,
  21.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  22.  0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
  23.  0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000};
  24. static struct Image MyIconImage={NULL,NULL,48,24,1,ImageData,1,0,NULL};
  25. static struct DiskObject InternalIcon={NULL,NULL,
  26.                /* Gadget definition */ {NULL,NULL,NULL,48,25,NULL,NULL,NULL,
  27.                                         &MyIconImage,NULL,NULL,NULL,NULL,NULL,
  28.                                         NULL},
  29.                                        NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL};
  30. struct DiskObject *MyIcon=&InternalIcon;
  31. LONG IconXPos=NO_ICON_POSITION;
  32. LONG IconYPos=NO_ICON_POSITION;
  33. BOOL ShowIcon=TRUE;
  34. struct AppIcon *MyAppIcon;
  35.  
  36. /* Structures for message port */
  37. struct MsgPort *MyMP;
  38.  
  39. /* List for ToolNodes */
  40. struct List ToolList; /* This list contains ToolNodes */
  41. UWORD ToolCount=0;    /* Number of tools in ToolList */
  42. ULONG wbactive=0;     /* Active WB tools */
  43.  
  44. /* Name of the message port & icon */
  45. char MyName[]="ToolManager";
  46.  
  47. /* Name of the configuration file */
  48. char InternalConfigName[]="S:ToolManager.Config";
  49. char *ConfigName=NULL;
  50.  
  51. /* Structures for window */
  52. UBYTE WindowTitle[]="ToolManager V" TM_VERSION " (c)" TM_CRYEAR " by S. Becker";
  53. struct NewWindow nw={20,20,640,256,0,1,CLOSEWINDOW|REFRESHWINDOW|GADGETUP|
  54.                      GADGETDOWN|MOUSEMOVE|INTUITICKS,WINDOWDRAG|WINDOWDEPTH|
  55.                      WINDOWCLOSE|SIMPLE_REFRESH|ACTIVATE,NULL,
  56.                      NULL,WindowTitle,NULL,NULL,0,0,0,0,0};
  57.