cl_win
Summary
#include <dataman/dataman.h>
-or-
#include <dataman/sort.h>
cl_win(row1,col1,row2,col2,attrib) else ...
int row1, col1;
int row2, col2;
int attrib;
Description
cl_win does area clears of the screen using the background color attrib.
Row1 and col1 is the row and column number of the upper left hand corner,
and row2, col2 is the lower right hand corner. The mode is one of the
color constants BLACK, BLUE, GREEN, CYAN, RED, MAGEN, BROWN, and L_GREY.
Example
#include <dataman/dataman.h>
main(int argc, char *argv[])
{
....
cl_win(5,10,10,40,MAGEN);
...
}
This will paint a magenta rectangle 6 lines by 31 columns begining at point
(5,10) on the screen.
«previous next»