Commit | Line | Data |
---|---|---|
16423527 KM |
1 | /* |
2 | * Copyright (c) 1980 Regents of the University of California. | |
3 | * All rights reserved. The Berkeley software License Agreement | |
4 | * specifies the terms and conditions for redistribution. | |
bdadbe4a | 5 | * |
fcbee530 | 6 | * @(#)win_st.c 6.1 (Berkeley) %G%"; |
16423527 KM |
7 | */ |
8 | ||
9 | # define WINDOW struct _win_st | |
10 | ||
11 | struct _win_st { | |
fcbee530 KM |
12 | short _cury, _curx; |
13 | short _maxy, _maxx; | |
14 | short _begy, _begx; | |
15 | short _flags; | |
16 | short _ch_off; | |
17 | bool _clear; | |
18 | bool _leave; | |
19 | bool _scroll; | |
20 | char **_y; | |
21 | short *_firstch; | |
22 | short *_lastch; | |
23 | struct _win_st *_nextp, *_orig; | |
16423527 KM |
24 | }; |
25 | ||
fcbee530 KM |
26 | # define _ENDLINE 001 |
27 | # define _FULLWIN 002 | |
28 | # define _SCROLLWIN 004 | |
29 | # define _FLUSH 010 | |
30 | # define _FULLLINE 020 | |
31 | # define _IDLINE 040 | |
16423527 | 32 | # define _STANDOUT 0200 |
fcbee530 | 33 | # define _NOCHANGE -1 |