home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
fish
/
enhancements
/
workbench&intuition
/
toolmanager
/
data.c
< prev
next >
Wrap
C/C++ Source or Header
|
1991-01-20
|
2KB
|
45 lines
#include "ToolManager.h"
/* Version string */
MyIdent="$VER: ToolManager " TM_VERSION " (" TM_DATE ")";
/* Structures for icon */
static __chip UWORD ImageData[]={ /* Graphic data (48x48 Pixels) */
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,
0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,
0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,0x3fff,0xffff,0xfffC,
0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,0x0000,0x7ffE,0x0000,
0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000,0x0000};
static struct Image MyIconImage={NULL,NULL,48,24,1,ImageData,1,0,NULL};
struct DiskObject MyIcon={NULL,NULL,
/* Gadget definition */ {NULL,NULL,NULL,48,25,NULL,NULL,NULL,&MyIconImage,
NULL,NULL,NULL,NULL,NULL,NULL},
NULL,NULL,NULL,NO_ICON_POSITION,
NO_ICON_POSITION,NULL,NULL,NULL};
/* Structures for message port */
struct MsgPort *MyMP;
/* List for ToolNodes */
struct List ToolList; /* This list contains ToolNodes */
UWORD ToolCount=0; /* Number of tools in ToolList */
/* Name of the configuration file */
char ConfigName[]="S:ToolManager.Config";
/* Tags for System() */
struct TagItem MyTags[]={SYS_Input,NULL, /* Input file handle */
SYS_Output,NULL, /* Output file handle */
SYS_Asynch,TRUE, /* Run tools asynchronously */
TAG_DONE,NULL};
/* Structures for window */
UBYTE WindowTitle[]="ToolManager V" TM_VERSION " ©" TM_CRYEAR " by S. Becker";
struct NewWindow nw={20,20,640,256,0,1,CLOSEWINDOW|REFRESHWINDOW|GADGETUP|
GADGETDOWN|MOUSEMOVE|INTUITICKS,WINDOWDRAG|WINDOWDEPTH|
WINDOWCLOSE|SIMPLE_REFRESH|ACTIVATE,NULL,
NULL,WindowTitle,NULL,NULL,0,0,0,0,0};