home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / misc / volume1 / 8710 / pc-curses-doc / 2 / box.m < prev    next >
Encoding:
Text File  |  1993-09-02  |  745 b   |  38 lines

  1. NAME
  2.     wbox() box() - draw a box
  3.  
  4. SYNOPSIS
  5.     #include <curses.h>
  6.     #include <curspriv.h>
  7.  
  8.     int wbox(win,ymin,xmin,ymax,xmax,v,h)
  9.     WINDOW *win;
  10.     int ymin;
  11.     int xmin;
  12.     int ymax;
  13.     int xmax;
  14.     char v;
  15.     char h;
  16.  
  17.     void box(win,vc,hc)
  18.     WINDOW *win;
  19.     char vc;
  20.     char hc;
  21.  
  22. DESCRIPTION
  23.     wbox(win,ymin,xmin,ymax,xmax,v,h) draws a box in window  
  24.     'win', enclosing the area xmin-xmax and ymin-xmax. If  
  25.     xmax and/or ymax is 0, the window max value is used. 'v' and  
  26.     'h' are the vertical and horizontal characters to use. If  
  27.     'v' and 'h' are PC grapics lines, wbox will make the corners  
  28.     in a pretty way.  
  29.  
  30.     box(win,v,h) draws a box around window window 'win'. 'v' and  
  31.     'h' are the vertical and horizontal characters to use.  
  32.  
  33. EXAMPLES
  34.  
  35. SEE ALSO
  36.  
  37. BUGS
  38.