Lines Matching refs:w
54 wborder_set(WINDOW *w, const cchar_t *ls, const cchar_t *rs, in wborder_set() argument
62 x = w->_curx; in wborder_set()
63 y = w->_cury; in wborder_set()
65 oflags = w->_flags & (W_FLUSH | W_SYNC_UP); in wborder_set()
66 w->_flags &= ~(W_FLUSH | W_SYNC_UP); in wborder_set()
69 (void) wmove(w, 0, 0); in wborder_set()
70 (void) wvline_set(w, ls, w->_maxy); in wborder_set()
71 (void) wmove(w, 0, w->_maxx-1); in wborder_set()
72 (void) wvline_set(w, rs, w->_maxy); in wborder_set()
75 (void) wmove(w, 0, 1); in wborder_set()
76 (void) whline_set(w, ts, w->_maxx-2); in wborder_set()
77 (void) wmove(w, w->_maxy-1, 1); in wborder_set()
78 (void) whline_set(w, bs, w->_maxx-2); in wborder_set()
80 w->_flags |= oflags; in wborder_set()
92 if (__m_cc_replace(w, 0, 0, tl, 0) == -1) in wborder_set()
94 if (__m_cc_replace(w, 0, w->_maxx-1, tr, 0) == -1) in wborder_set()
96 if (__m_cc_replace(w, w->_maxy-1, 0, bl, 0) == -1) in wborder_set()
98 if (__m_cc_replace(w, w->_maxy-1, w->_maxx-1, br, 0) == -1) in wborder_set()
101 (void) wmove(w, y, x); in wborder_set()
103 WSYNC(w); in wborder_set()
105 code = WFLUSH(w); in wborder_set()