xref: /original-bsd/lib/libcurses/PSD.doc/win_st.c (revision c3e32dec)
1 .\" Copyright (c) 1980, 1993
2 .\"	 The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" %sccs.include.redist.roff%
5 .\"
6 .\"	@(#)win_st.c	8.1 (Berkeley) 06/08/93
7 .\"
8 # define	WINDOW	struct _win_st
9 
10 struct _win_st {
11 	short		_cury, _curx;
12 	short		_maxy, _maxx;
13 	short		_begy, _begx;
14 	short		_flags;
15 	short		_ch_off;
16 	bool		_clear;
17 	bool		_leave;
18 	bool		_scroll;
19 	char		**_y;
20 	short		*_firstch;
21 	short		*_lastch;
22 	struct _win_st	*_nextp, *_orig;
23 };
24 
25 # define	_ENDLINE	001
26 # define	_FULLWIN	002
27 # define	_SCROLLWIN	004
28 # define	_FLUSH		010
29 # define	_FULLLINE	020
30 # define	_IDLINE		040
31 # define	_STANDOUT	0200
32 # define	_NOCHANGE	-1
33