home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
378.lha
/
MemEater_v1.0
/
MemEater-pw.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-05-02
|
11KB
|
331 lines
UBYTE totalAvailGadgetSIBuff[12];
struct StringInfo totalAvailGadgetSInfo = {
totalAvailGadgetSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
12, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors1[] = {
0,0,
66,0,
66,9,
0,9,
0,0
};
struct Border Border1 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors1, /* pointer to XY vectors */
NULL /* next border in list */
};
struct Gadget totalAvailGadget = {
NULL, /* next gadget */
150,60, /* origin XY of hit box relative to window TopLeft */
65,8, /* hit box width and height */
GADGHBOX+GADGHIMAGE, /* gadget flags */
STRINGRIGHT+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border1, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
0, /* gadget mutual-exclude long word */
(APTR)&totalAvailGadgetSInfo, /* SpecialInfo structure */
TOTAL_AVAIL_GADGET, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE fastAvailGadgetSIBuff[12];
struct StringInfo fastAvailGadgetSInfo = {
fastAvailGadgetSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
12, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors2[] = {
0,0,
66,0,
66,9,
0,9,
0,0
};
struct Border Border2 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors2, /* pointer to XY vectors */
NULL /* next border in list */
};
struct Gadget fastAvailGadget = {
&totalAvailGadget, /* next gadget */
150,45, /* origin XY of hit box relative to window TopLeft */
65,8, /* hit box width and height */
GADGHBOX+GADGHIMAGE, /* gadget flags */
STRINGRIGHT+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border2, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
0, /* gadget mutual-exclude long word */
(APTR)&fastAvailGadgetSInfo, /* SpecialInfo structure */
FAST_AVAIL_GADGET, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE chipAvailGadgetSIBuff[12];
struct StringInfo chipAvailGadgetSInfo = {
chipAvailGadgetSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
12, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors3[] = {
0,0,
66,0,
66,9,
0,9,
0,0
};
struct Border Border3 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors3, /* pointer to XY vectors */
NULL /* next border in list */
};
struct Gadget chipAvailGadget = {
&fastAvailGadget, /* next gadget */
150,30, /* origin XY of hit box relative to window TopLeft */
65,8, /* hit box width and height */
GADGHBOX+GADGHIMAGE, /* gadget flags */
STRINGRIGHT+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border3, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
NULL, /* first IntuiText structure */
0, /* gadget mutual-exclude long word */
(APTR)&chipAvailGadgetSInfo, /* SpecialInfo structure */
CHIP_AVAIL_GADGET, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE totalWantedGadgetSIBuff[12] =
"0";
struct StringInfo totalWantedGadgetSInfo = {
totalWantedGadgetSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
12, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors4[] = {
0,0,
66,0,
66,9,
0,9,
0,0
};
struct Border Border4 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors4, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText1 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
-43,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Total", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget totalWantedGadget = {
&chipAvailGadget, /* next gadget */
50,60, /* origin XY of hit box relative to window TopLeft */
65,8, /* hit box width and height */
GADGHBOX+GADGHIMAGE, /* gadget flags */
STRINGRIGHT+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border4, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText1, /* first IntuiText structure */
0, /* gadget mutual-exclude long word */
(APTR)&totalWantedGadgetSInfo, /* SpecialInfo structure */
TOTAL_WANTED_GADGET, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE fastWantedGadgetSIBuff[12] =
"0";
struct StringInfo fastWantedGadgetSInfo = {
fastWantedGadgetSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
12, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors5[] = {
0,0,
66,0,
66,9,
0,9,
0,0
};
struct Border Border5 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors5, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText2 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
-35,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Fast", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget fastWantedGadget = {
&totalWantedGadget, /* next gadget */
50,45, /* origin XY of hit box relative to window TopLeft */
65,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY+ENDGADGET+STRINGRIGHT+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border5, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText2, /* first IntuiText structure */
0, /* gadget mutual-exclude long word */
(APTR)&fastWantedGadgetSInfo, /* SpecialInfo structure */
FAST_WANTED_GADGET, /* user-definable data */
NULL /* pointer to user-definable data */
};
UBYTE chipWantedGadgetSIBuff[12] =
"0";
struct StringInfo chipWantedGadgetSInfo = {
chipWantedGadgetSIBuff, /* buffer where text will be edited */
NULL, /* optional undo buffer */
0, /* character position in buffer */
12, /* maximum number of characters to allow */
0, /* first displayed character buffer position */
0,0,0,0,0, /* Intuition initialized and maintained variables */
0, /* Rastport of gadget */
0, /* initial value for integer gadgets */
NULL /* alternate keymap (fill in if you set the flag) */
};
SHORT BorderVectors6[] = {
0,0,
66,0,
66,9,
0,9,
0,0
};
struct Border Border6 = {
-1,-1, /* XY origin relative to container TopLeft */
3,0,JAM1, /* front pen, back pen and drawmode */
5, /* number of XY vectors */
BorderVectors6, /* pointer to XY vectors */
NULL /* next border in list */
};
struct IntuiText IText3 = {
3,0,JAM2, /* front and back text pens, drawmode and fill byte */
-35,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Chip", /* pointer to text */
NULL /* next IntuiText structure */
};
struct Gadget chipWantedGadget = {
&fastWantedGadget, /* next gadget */
50,30, /* origin XY of hit box relative to window TopLeft */
65,8, /* hit box width and height */
NULL, /* gadget flags */
RELVERIFY+ENDGADGET+STRINGRIGHT+LONGINT, /* activation flags */
STRGADGET, /* gadget type flags */
(APTR)&Border6, /* gadget border or image to be rendered */
NULL, /* alternate imagery for selection */
&IText3, /* first IntuiText structure */
0, /* gadget mutual-exclude long word */
(APTR)&chipWantedGadgetSInfo, /* SpecialInfo structure */
CHIP_WANTED_GADGET, /* user-definable data */
NULL /* pointer to user-definable data */
};
#define GadgetList1 chipWantedGadget
struct IntuiText IText5 = {
1,0,JAM2, /* front and back text pens, drawmode and fill byte */
149,21, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Current(K)", /* pointer to text */
NULL /* next IntuiText structure */
};
struct IntuiText IText4 = {
1,0,JAM2, /* front and back text pens, drawmode and fill byte */
50,21, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Limits(K)", /* pointer to text */
&IText5 /* next IntuiText structure */
};
#define IntuiTextList1 IText4
struct NewWindow NewWindowStructure1 = {
56,29, /* window XY origin relative to TopLeft of screen */
250,79, /* window width and height */
0,1, /* detail and block pens */
GADGETDOWN+GADGETUP+CLOSEWINDOW, /* IDCMP flags */
WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE+ACTIVATE+RMBTRAP+NOCAREREFRESH, /* other window flags */
&chipWantedGadget, /* first gadget in gadget list */
NULL, /* custom CHECKMARK imagery */
(UBYTE *)"MemEater 1.0", /* window title */
NULL, /* custom screen pointer */
NULL, /* custom bitmap */
5,5, /* minimum width and height */
-1,-1, /* maximum width and height */
WBENCHSCREEN /* destination screen type */
};
/* end of PowerWindows source generation */