home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
348.lha
/
chatterbox_v1.0
/
sources
/
windows.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-02-14
|
13KB
|
332 lines
struct IntuiText XIText1 = {
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 XMenuItem3 = {
NULL, /* next MenuItem structure */
0,18, /* XY of Item hitbox relative to TopLeft of parent hitbox */
112,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText1, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText2 = {
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 *)"arranging services, and pro sampling.", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem5 = {
NULL, /* next SubItem structure */
97,24, /* XY of Item hitbox relative to TopLeft of parent hitbox */
416,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText2, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText3 = {
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 *)"(including SMUS and MIDI players), composition and", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem4 = {
&XSubItem5, /* next SubItem structure */
97,16, /* XY of Item hitbox relative to TopLeft of parent hitbox */
416,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText3, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText4 = {
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 *)"Contact me for innovative, licensable audio software", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem3 = {
&XSubItem4, /* next SubItem structure */
97,8, /* XY of Item hitbox relative to TopLeft of parent hitbox */
416,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText4, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText5 = {
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 *)"", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem2 = {
&XSubItem3, /* next SubItem structure */
97,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */
416,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText5, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText6 = {
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 *)"Freely redistributable for noncommercial purposes.", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem1 = {
&XSubItem2, /* next SubItem structure */
97,-8, /* XY of Item hitbox relative to TopLeft of parent hitbox */
416,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText6, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText7 = {
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 *)"Redistribution", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XMenuItem2 = {
&XMenuItem3, /* next MenuItem structure */
0,9, /* XY of Item hitbox relative to TopLeft of parent hitbox */
112,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText7, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
&XSubItem1, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText8 = {
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 *)"Internet: karl@sugar.hackercorp.com", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem11 = {
NULL, /* next SubItem structure */
97,32, /* XY of Item hitbox relative to TopLeft of parent hitbox */
280,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText8, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText9 = {
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 *)"Usenet: uunet!sugar!karl", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem10 = {
&XSubItem11, /* next SubItem structure */
97,24, /* XY of Item hitbox relative to TopLeft of parent hitbox */
280,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText9, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText10 = {
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 *)"Missouri City, TX 77459", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem9 = {
&XSubItem10, /* next SubItem structure */
97,16, /* XY of Item hitbox relative to TopLeft of parent hitbox */
280,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText10, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText11 = {
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 *)"3918 Panorama", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem8 = {
&XSubItem9, /* next SubItem structure */
97,8, /* XY of Item hitbox relative to TopLeft of parent hitbox */
280,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText11, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText12 = {
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 *)"by Karl Lehenbauer, Hackercorp", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem7 = {
&XSubItem8, /* next SubItem structure */
97,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */
280,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText12, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText13 = {
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 *)"Chatterbox - v0.1", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XSubItem6 = {
&XSubItem7, /* next SubItem structure */
97,-8, /* XY of Item hitbox relative to TopLeft of parent hitbox */
280,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText13, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
NULL, /* no SubItem list for SubItems */
MENUNULL /* filled in by Intuition for drag selections */
};
struct IntuiText XIText14 = {
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 *)"About", /* pointer to text */
NULL /* next IntuiText structure */
};
struct MenuItem XMenuItem1 = {
&XMenuItem2, /* next MenuItem structure */
0,0, /* XY of Item hitbox relative to TopLeft of parent hitbox */
112,8, /* hit box width and height */
ITEMTEXT+ITEMENABLED+HIGHCOMP, /* Item flags */
0, /* each bit mutually-excludes a same-level Item */
(APTR)&XIText14, /* Item render (IntuiText or Image or NULL) */
NULL, /* Select render */
NULL, /* alternate command-key */
&XSubItem6, /* SubItem list */
MENUNULL /* filled in by Intuition for drag selections */
};
struct Menu XMenu1 = {
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 */
&XMenuItem1 /* MenuItem linked list pointer */
};
#define XMenuList1 XMenu1
struct NewWindow XNewWindowStructure1 = {
355,22, /* window XY origin relative to TopLeft of screen */
165,10, /* window width and height */
0,1, /* detail and block pens */
MENUPICK+CLOSEWINDOW+NEWPREFS+DISKINSERTED+DISKREMOVED+ACTIVEWINDOW+INACTIVEWINDOW, /* IDCMP flags */
WINDOWDRAG+WINDOWDEPTH+WINDOWCLOSE, /* other window flags */
NULL, /* first gadget in gadget list */
NULL, /* custom CHECKMARK imagery */
(UBYTE *)"Chatterbox", /* window title */
NULL, /* custom screen pointer */
NULL, /* custom bitmap */
5,5, /* minimum width and height */
640,200, /* maximum width and height */
WBENCHSCREEN /* destination screen type */
};
void HandleEvent(object)
APTR object;
{
if (object == (APTR)&XMenuItem3) { Quit(object); return; }
}
#define HANDLEEVENT HandleEvent
/* end of PowerWindows source generation */