home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c222 / 1.ddi / INC / TX_DEFS.H < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-21  |  1.0 KB  |  30 lines

  1. /*********************
  2.  *
  3.  *  tx_defs.h [NON-ANSI] - header file for menu functions.
  4.  *
  5.  *  Purpose: This file defines the structures used by the menu functions.
  6.  *
  7.  *  Blackstar C Function Library
  8.  *  (c) Copyright 1985,1989 Sterling Castle Software
  9.  *
  10.  *******/
  11.  
  12. struct MENU {
  13.     int col,row;
  14.     char *title;
  15.     short width;            /* width of total menu                  */
  16.     short field;            /* width of single selection field      */
  17.     short noel;             /* # of elements in menu                */
  18.     short noelx;        /* # elements to display in x direction */
  19.     char **sel;             /* pointer to selection pointers        */
  20.     char *buf;              /* pointer to selections                */
  21.     };
  22.  
  23. struct MESG {
  24.     int col1,row1;        /* to left corner for message box */
  25.     int col2,row2;          /* bottom right corner            */
  26.     int infield;            /* input field width              */
  27.     char *intext;           /* iput text                      */
  28.     char *text;             /* message text                   */
  29.     };
  30.