home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_08_06 / 8n06103a < prev    next >
Text File  |  1990-03-11  |  2KB  |  32 lines

  1.  
  2.                           Figure 3
  3.  
  4.     /* Screen structure */
  5.  
  6.  
  7.     typedef struct {
  8.                       int  sid,              /* Screen id                    */
  9.                            s_row,            /* Normal row offset            */
  10.                            s_col,            /* Normal column offset         */
  11.                            height,           /* Screen height (in rows)      */
  12.                            width,            /* Screen width  (in cols)      */
  13.                            num_labels,       /* Label count                  */
  14.                            num_fields,       /* Field count                  */
  15.                            curr_field,       /* Current field number         */
  16.                            sr_id,            /* Scrolling region id          */
  17.                            first_sfield,     /* First scrolling field        */
  18.                            last_sfield;      /* Last scrolling field         */
  19.                       char *name;
  20.                       int  version,
  21.                            a_exit;           /* Auto exit on last field flag */
  22.                       SML_LABEL *label;
  23.                       SML_FIELD *field;
  24.                       WINDOW *swin;          /* Curses window                */
  25.                       void (*pre_screen)(),
  26.                            (*post_screen)(),
  27.                            (*scroll_fore)(), /* Function for forward page    */
  28.                            (*scroll_back)(); /* Function for backward page   */
  29.  
  30.                 } SML_SCREEN;
  31.  
  32.