home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Fish 1
/
GoldFishApril1994_CD1.img
/
d1xx
/
d166
/
autograf
/
menu.h
< prev
next >
Wrap
C/C++ Source or Header
|
1988-11-22
|
6KB
|
159 lines
struct IntuiText MenuText1 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Quit", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem7 = {
NULL, /* next MenuItem structure */
0,54, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText1, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
'q', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText MenuText2 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Help", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem6 = {
&MenuItem7, /* next MenuItem structure */
0,45, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText2, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
'h', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText MenuText3 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Print Window", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem5 = {
&MenuItem6, /* next MenuItem structure */
0,36, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText3, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
'p', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText MenuText4 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Set Options", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem4 = {
&MenuItem5, /* next MenuItem structure */
0,27, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText4, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
's', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText MenuText5 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Averages", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem3 = {
&MenuItem4, /* next MenuItem structure */
0,18, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText5, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
'a', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText MenuText6 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Draw Graph", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem2 = {
&MenuItem3, /* next MenuItem structure */
0,9, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText6, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
'd', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText MenuText7 = {
3,1,COMPLEMENT, /* front and back text pens, drawmode and fill byte */
0,0, /* XY origin relative to container TopLeft */
NULL, /* font pointer or NULL for default */
(UBYTE *)"Read File", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem MenuItem1 = {
&MenuItem2, /* next MenuItem structure */
0,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */
136,8, /* hit box width and height */
ITEMTEXT+COMMSEQ+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&MenuText7, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
'r', /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct Menu Menu1 = {
NULL, /* next Menu structure */
0,0, /* XY origin of Menu hit box relative to screen TopLeft */
75,0, /* Menu hit box width and height */
MENUENABLED, /* Menu flags */
"Project", /* text of Menu name */
&MenuItem1 /* MenuItem linked list pointer */
};
#define MenuList1 Menu1