/* *****                                                            *****
** *****           Program created by Ken Farinsky, 1986.           *****
** *****                                                            *****
**
** All material contained herein may be used in any way desired.
**                    >>>>> i.e.  PUBLIC DOMAIN. <<<<<
** Not limited to any single bulletin board - can be freely transferred.
**
** Original distribution through:
**     Slipped Disk, Inc.
**     Madison Heights,  MI  48071
**     (313) 583-9803
**
** Distributed in the hopes of increasing the level of understanding of the
** Amiga personal computer.  Even the best computer can only succeed with
** the proper software support.
*/
#include <exec/types.h>
#include <intuition/intuition.h>

struct IntuiText item_text[] =
	{ { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Open...   ", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Quit ", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Numbers ON", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Numbers OFF  ", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Tab Stops", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    4   ", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    8   ", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Open Fonts", NULL },
	  { 0, 1, JAM1, 0, 1, NULL, (UBYTE *)"    Credits", NULL },
	};

struct MenuItem Items[] =
	{
	  /*  OPEN - Items[0] */
	  { &Items[1], 0, 0, 163, 10, ITEMENABLED | ITEMTEXT | COMMSEQ | HIGHCOMP,
	    0, (APTR)&item_text[0], NULL, 'O', NULL, NULL  },
	  /*  QUIT - Items[1] */
	  { &Items[8], 0, 10, 163, 10, ITEMENABLED | ITEMTEXT | COMMSEQ | HIGHCOMP,
	    0, (APTR)&item_text[1], NULL, 'Q', NULL, NULL  },
	  /*  format (line number) - Items[2] */
	  { &Items[3], 0, 0, 200, 10,
	    ITEMENABLED | ITEMTEXT | COMMSEQ | HIGHCOMP | CHECKIT,
	    2, (APTR)&item_text[2], NULL, 'F', NULL, NULL  },
	  /*  unformat (no line numbers) - Items[3] */
	  { &Items[4], 0, 10, 200, 10,
	    ITEMENABLED | ITEMTEXT | COMMSEQ | HIGHCOMP | CHECKIT | CHECKED,
	    1, (APTR)&item_text[3], NULL, 'U', NULL, NULL  },
	  /*  tabstop item - Items[4] */
	  { NULL, 0, 20, 200, 10, ITEMENABLED | ITEMTEXT | HIGHCOMP,
	    0, (APTR)&item_text[4], NULL, ' ', &Items[5], NULL  },
	  /*  tabstop 4 - Items[5] */
	  { &Items[6], 30, 8, 150, 10,
	    ITEMENABLED | ITEMTEXT | COMMSEQ | HIGHCOMP | CHECKIT | CHECKED,
	    2, (APTR)&item_text[5], NULL, '4', NULL, NULL  },
	  /*  tabstop 8 - Items[6] */
	  { NULL, 30, 18, 150, 10,
	    ITEMENABLED | ITEMTEXT | COMMSEQ | HIGHCOMP | CHECKIT,
	    1, (APTR)&item_text[6], NULL, '8', NULL, NULL  },
	  /*  Open Fonts - Items[7] */
	  { NULL, 0, 0, 150, 10, ITEMENABLED | ITEMTEXT | HIGHCOMP,
	    0, (APTR)&item_text[7], NULL, ' ', NULL, NULL  },
	  /*  Credits - Items[8] */
	  { NULL, 0, 20, 163, 10, ITEMENABLED | ITEMTEXT | HIGHCOMP,
	    0, (APTR)&item_text[8], NULL, ' ', NULL, NULL  },
	};

struct Menu font_menu =
	{ NULL, 187, 0, 90, 0, MENUENABLED, " Font   ", &Items[7] } ;
struct Menu options_menu =
	{ &font_menu, 94, 0, 90, 0, MENUENABLED, " Options", &Items[2] } ;
struct Menu menu_header =
	{ &options_menu, 3, 0, 90, 0, MENUENABLED, " Project", &Items[0] } ;
