home *** CD-ROM | disk | FTP | other *** search
/ Programmer 7500 / MAX_PROGRAMMERS.iso / INFO / C / DLLIB.ZIP / MKBOX.DOC < prev    next >
Encoding:
Text File  |  1986-09-25  |  1.1 KB  |  39 lines

  1.  
  2.  
  3.        NAME
  4.                mkbox -- make a box on the screen
  5.  
  6.        SYNOPSIS
  7.                #include "graphics.h"
  8.                void mkbox(startr, startc, width, ht, page);
  9.                int startr;       starting row (top)
  10.                int startc;       starting column (left)
  11.                int width;        how many columns wide
  12.                int ht;           how many rows high
  13.                int page;         which video page (assuming
  14.                                  proper video mode)
  15.  
  16.        DESCRIPTION
  17.        This function will make a double line box using the IBM
  18.        graphics characters on the "page" specified.  The "startr"
  19.        and "startc" parameters anchor the upper left corner.  The
  20.        "ht" and "width" set the dimensions.  No checks are made for
  21.        valid numbers.  Function has been used with both CGA and Mono
  22.        cards, but has not been tested with EGA cards as yet.
  23.  
  24.        EXAMPLE
  25.               mkbox(0, 0, 80, 23, 0);
  26.           will make a box around the outside of an 80 x 24 screen.
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.        This function is found in SMDLx.LIB for the Datalight Compiler.
  39.