Lines Matching refs:win

53 	WINDOW	*win;  in _makenew()  local
61 if ((win = (WINDOW *) malloc(sizeof (WINDOW))) == NULL) in _makenew()
63 if ((win->_y = (chtype **) malloc(nlines * sizeof (chtype *))) == NULL) in _makenew()
66 if ((_y16update) && ((win->_y16 = (_ochtype **) in _makenew()
71 if ((win->_firstch = (short *) malloc(2 * nlines * sizeof (short))) in _makenew()
74 if ((_y16update) && (win->_y16 != NULL)) in _makenew()
75 free((char *) win->_y16); in _makenew()
78 free((char *) win->_y); in _makenew()
80 free((char *) win); in _makenew()
88 win->_lastch = win->_firstch + nlines; in _makenew()
90 win->_cury = win->_curx = 0; in _makenew()
92 win->_maxy = (short) nlines; in _makenew()
94 win->_maxx = (short) ncols; in _makenew()
96 win->_begy = (short) begy; in _makenew()
98 win->_begx = (short) begx; in _makenew()
99 win->_clear = (((begy + SP->Yabove + begx) == 0) && in _makenew()
101 win->_leave = win->_scroll = win->_use_idl = win->_use_keypad = in _makenew()
102 win->_notimeout = win->_immed = win->_sync = FALSE; in _makenew()
103 win->_use_idc = TRUE; in _makenew()
104 win->_ndescs = win->_tmarg = 0; in _makenew()
105 win->_bmarg = nlines - 1; in _makenew()
106 win->_bkgd = _BLNKCHAR; in _makenew()
107 win->_delay = win->_parx = win->_pary = -1; in _makenew()
108 win->_attrs = A_NORMAL; in _makenew()
109 win->_flags = _WINCHANGED; in _makenew()
110 win->_parent = win->_padwin = (WINDOW *) NULL; in _makenew()
111 (void) memset((char *) win->_firstch, 0, (nlines * sizeof (short))); in _makenew()
113 short *lastch = win->_lastch, in _makenew()
122 win->_insmode = FALSE; in _makenew()
123 win->_index = 0; in _makenew()
124 win->_nbyte = -1; in _makenew()
128 fprintf(outf, "MAKENEW: win->_clear = %d\n", win->_clear); in _makenew()
129 fprintf(outf, "MAKENEW: win->_flags = %0.2o\n", win->_flags); in _makenew()
130 fprintf(outf, "MAKENEW: win->_maxy = %d\n", win->_maxy); in _makenew()
131 fprintf(outf, "MAKENEW: win->_maxx = %d\n", win->_maxx); in _makenew()
132 fprintf(outf, "MAKENEW: win->_begy = %d\n", win->_begy); in _makenew()
133 fprintf(outf, "MAKENEW: win->_begx = %d\n", win->_begx); in _makenew()
136 return (win); in _makenew()