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

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