Lines Matching defs:top
51 border(chtype left, chtype right, chtype top, chtype bottom, chtype topleft,
54 return wborder(stdscr, left, right, top, bottom, topleft, topright,
66 wborder(WINDOW *win, chtype left, chtype right, chtype top, chtype bottom,
80 if (!(top & __CHARTEXT))
81 top |= ACS_HLINE;
98 __CTRACE(__CTRACE_INPUT, "wborder: top = %c, 0x%x\n",
99 top & __CHARTEXT, top & __ATTRIBUTES);
116 top |= (top & __COLOR) ? (win->wattr & ~__COLOR) : win->wattr;
117 top |= (top & __COLOR) ? (win->battr & ~__COLOR) : win->battr;
142 fp[i].ch = (wchar_t) top & __CHARTEXT;
143 fp[i].attr = (attr_t) top & __ATTRIBUTES;
177 S(top, ts, WACS_HLINE);
208 cchar_t left, right, bottom, top, topleft, topright, botleft, botright;
223 memcpy(&top, ts, sizeof(cchar_t));
225 memcpy( &top, WACS_HLINE, sizeof(cchar_t));
252 __CTRACE(__CTRACE_INPUT, "wborder_set: top = %c, 0x%x\n",
253 top.vals[0], top.attributes );
274 top.attributes |= (top.attributes & __COLOR) ?
276 top.attributes |= (top.attributes & __COLOR) ?
412 cw = wcwidth(top.vals[0]);
417 win->alines[0]->line[i + j].ch = top.vals[0];
419 win->alines[0]->line[i + j].attr = top.attributes;
433 if ( top.elements > 1 ) {
434 for (k = 1; k < top.elements; k++) {
438 np->ch = top.vals[k];