|
|
1.1 ! root 1: /* ! 2: * show the background for a screen. ! 3: */ ! 4: #include <scn.h> ! 5: ! 6: void ! 7: wshowBak(w, back) ! 8: WINDOW *w; ! 9: register backGrnd *back; ! 10: { ! 11: register char *p; ! 12: ! 13: for (; NULL != (p = back->data); back++) /* put out background */ ! 14: mvwaddstr(w, back->row, back->col, p); ! 15: refresh(); ! 16: }
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.