home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
DP Tool Club 8
/
CDASC08.ISO
/
NEWS
/
RADIANCE
/
SRC
/
RT
/
X11TWIND.H
< prev
next >
Wrap
C/C++ Source or Header
|
1993-10-07
|
765b
|
32 lines
/* SCCSid "@(#)x11twind.h 2.1 11/12/91 LBL" */
/* Copyright (c) 1989 Regents of the University of California */
/*
* xtwind.h - header for X text window routines.
*
* Written by G. Ward
* 10/30/87
*
* Modified for X11 B. V. Smith
* 9/26/88
*/
#define LEFTMAR 2 /* left margin width */
typedef struct {
Display *dpy; /* the display */
Window w; /* window */
XFontStruct *f; /* font information */
GC gc; /* graphics context */
short nc, nr; /* text number of columns and rows */
char **lp; /* null-terminated lines */
short c, r; /* current position */
short cursor; /* cursor type */
} TEXTWIND; /* a text window */
#define TNOCURS 0
#define TBLKCURS 1
extern TEXTWIND *xt_open();