wattrset (win, 0); for (i = 0; i < height; i++) { wmove (win, y + i, x); for (j = 0; j < width; j++) if (!i && !j) waddch (win, border | ACS_ULCORNER); else if (i == height - 1 && !j) waddch (win, border | ACS_LLCORNER); else if (!i && j == width - 1) waddch (win, box | ACS_URCORNER); else if (i == height - 1 && j == width - 1) waddch (win, box | ACS_LRCORNER); else if (!i) waddch (win, border | ACS_HLINE); else if (i == height - 1) waddch (win, box | ACS_HLINE); else if (!j) waddch (win, border | ACS_VLINE); else if (j == width - 1) waddch (win, box | ACS_VLINE); else waddch (win, box | ' '); } 
wattrset(win, 0); for (i = 0; i < height; i++) { wmove(win, y + i, x); for (j = 0; j < width; j++) if (!i && !j) waddch(win, border | ACS_ULCORNER); else if (i == height - 1 && !j) waddch(win, border | ACS_LLCORNER); else if (!i && j == width - 1) waddch(win, box | ACS_URCORNER); else if (i == height - 1 && j == width - 1) waddch(win, box | ACS_LRCORNER); else if (!i) waddch(win, border | ACS_HLINE); else if (i == height - 1) waddch(win, box | ACS_HLINE); else if (!j) waddch(win, border | ACS_VLINE); else if (j == width - 1) waddch(win, box | ACS_VLINE); else waddch(win, box | ' '); } 
draw_box (WINDOW * win, int y, int x, int height, int width,	  chtype box, chtype border){    int i, j;    wattrset (win, 0);    for (i = 0; i < height; i++) {	wmove (win, y + i, x);	for (j = 0; j < width; j++)	    if (!i && !j)		waddch (win, border | ACS_ULCORNER);	    else if (i == height - 1 && !j)		waddch (win, border | ACS_LLCORNER);	    else if (!i && j == width - 1)		waddch (win, box | ACS_URCORNER);	    else if (i == height - 1 && j == width - 1)		waddch (win, box | ACS_LRCORNER);	    else if (!i)		waddch (win, border | ACS_HLINE);	    else if (i == height - 1)		waddch (win, box | ACS_HLINE);	    else if (!j)		waddch (win, border | ACS_VLINE);	    else if (j == width - 1)		waddch (win, box | ACS_VLINE);	    else		waddch (win, box | ' ');    }}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/b1c5f1c635f4a821f834ed51ccd8a2a1515fffd2/util.c/clean/scripts/lxdialog/util.c