Lines Matching refs:w
51 wborder_set(w, ls, rs, ts, bs, tl, tr, bl, br) in wborder_set() argument
52 WINDOW *w; in wborder_set()
61 w, ls, rs, ts, bs, tl, tr, bl, br
66 x = w->_curx;
67 y = w->_cury;
69 oflags = w->_flags & (W_FLUSH | W_SYNC_UP);
70 w->_flags &= ~(W_FLUSH | W_SYNC_UP);
73 (void) wmove(w, 0, 0);
74 (void) wvline_set(w, ls, w->_maxy);
75 (void) wmove(w, 0, w->_maxx-1);
76 (void) wvline_set(w, rs, w->_maxy);
79 (void) wmove(w, 0, 1);
80 (void) whline_set(w, ts, w->_maxx-2);
81 (void) wmove(w, w->_maxy-1, 1);
82 (void) whline_set(w, bs, w->_maxx-2);
84 w->_flags |= oflags;
96 if (__m_cc_replace(w, 0, 0, tl, 0) == -1)
98 if (__m_cc_replace(w, 0, w->_maxx-1, tr, 0) == -1)
100 if (__m_cc_replace(w, w->_maxy-1, 0, bl, 0) == -1)
102 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1)
105 (void) wmove(w, y, x);
107 WSYNC(w);
109 code = WFLUSH(w);