Home | History | Annotate | Download | only in mucurses

Lines Matching defs:win

15  * @v *win	pointer to window being deleted
18 int delwin ( WINDOW *win ) {
19 if ( win == NULL )
26 wmove( win, 0, 0 );
29 _wputch( win, killch, WRAP );
30 } while ( win->curs_x + win->curs_y );
32 free( win );
94 * @v *win window to move
99 int mvwin ( WINDOW *win, int y, int x ) {
100 if ( win == NULL )
102 if ( ( ( (unsigned)y + win->height ) > LINES ) ||
103 ( ( (unsigned)x + win->width ) > COLS ) )
106 win->ori_y = y;
107 win->ori_x = x;
119 * @ret *win return pointer to new window
122 WINDOW *win;
123 if ( ( win = malloc( sizeof(WINDOW) ) ) == NULL )
128 win->ori_y = begin_y;
129 win->ori_x = begin_x;
130 win->height = nlines;
131 win->width = ncols;
132 win->scr = stdscr->scr;
133 win->parent = stdscr;
134 return win;