ftp.nice.ch/pub/next/unix/tools/jug.0.7.N.bs.tar.gz#/menustrp.h

This is menustrp.h in view mode; [Download] [Up]

/*
  (c) 1990 S.Hawtin.
  Permission is granted to copy this file provided
   1) It is not used for commercial gain
   2) This notice is included in all copies
   3) Altered copies are marked as such

  No liability is accepted for the contents of the file.

    menustrip.h	within		Jug
*/

/*
  I know that include files should not define data structures but this
makes "amiga.c" that much cleaner
*/

/* The text for the items */

static struct IntuiText quit_text =
   {
    15,8,JAM1,0,1,NULL,"Quit",NULL
    };

/* The MenuItem structures */
struct MenuItem quit_item =
   {
    NULL,
    0,11,75,10,
    ITEMTEXT|ITEMENABLED|HIGHCOMP,
    0,(APTR) &quit_text,
    NULL,0,NULL,MENUNULL,
    };

#define  QUIT_ITEM  1

static struct IntuiText req_text =
   {
    15,8,JAM1,0,1,NULL,"Controls",NULL
    };

/* The MenuItem structures */
struct MenuItem req_item =
   {
    &quit_item,
    0,1,75,10,
    ITEMTEXT|ITEMENABLED|HIGHCOMP,
    0,(APTR) &req_text,
    NULL,0,NULL,MENUNULL,
    };

#define  REQ_ITEM  0

struct Menu edit_menu =
    {
    NULL,
    0,0,75,0,
    MENUENABLED,
    "Edit",
    &req_item
    };

#define EDIT_MENU  0

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.