home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 8 / CDASC08.ISO / NEWS / RADIANCE / SRC / COMMON / XTWIND.H < prev   
C/C++ Source or Header  |  1993-10-07  |  593b  |  26 lines

  1. /* Copyright (c) 1987 Regents of the University of California */
  2.  
  3. /* SCCSid "@(#)xtwind.h 2.1 11/12/91 LBL" */
  4.  
  5. /*
  6.  *  xtwind.h - header for X text window routines.
  7.  *
  8.  *    10/30/87
  9.  */
  10.  
  11. #define LEFTMAR    2            /* left margin width */
  12.  
  13. typedef struct {
  14.     Window  w;            /* window */
  15.     FontInfo  f;            /* font information */
  16.     short  nc, nr;            /* text size */
  17.     char  **lp;            /* null-terminated lines */
  18.     short  c, r;            /* current position */
  19.     short    cursor;            /* cursor type */
  20. }  TEXTWIND;            /* a text window */
  21.  
  22. #define TNOCURS        0
  23. #define TBLKCURS    1
  24.  
  25. extern TEXTWIND  *xt_open();
  26.