Lines Matching defs:dstwin
46 * from the source window srcwin to the destination window dstwin.
51 int copywin(const WINDOW *srcwin, WINDOW *dstwin,
67 if ((srcwin == NULL) || (dstwin == NULL))
80 /* for symmetry allow dstwin coords to be -ve as well */
90 /* Bound dmaxcol for both windows (should be ok for dstwin) */
91 if (dmaxcol >= dstwin->maxx)
92 dmaxcol = dstwin->maxx - 1;
99 /* Bound dmaxrow for both windows (should be ok for dstwin) */
100 if (dmaxrow >= dstwin->maxy)
101 dmaxrow = dstwin->maxy - 1;
119 wmove(dstwin, dminrow, dcol);
122 __waddch(dstwin, sp);
135 wadd_wch(dstwin, &cc);
140 __touchwin(dstwin, 0);