home *** CD-ROM | disk | FTP | other *** search
/ Piper's Pit BBS/FTP: ibm 0020 - 0029 / ibm0020-0029 / ibm0028.tar / ibm0028 / GRLF-C-2.ZIP / GFUNC / FJARWRTS.C < prev    next >
Encoding:
C/C++ Source or Header  |  1990-05-30  |  890 b   |  44 lines

  1. /*
  2.  * fjarwrts.c
  3.  * contains: fjarwrts()
  4.  *
  5.  */
  6.  
  7. #include <stdio.h>
  8. #include "gfuncts.h"
  9.  
  10.  
  11. /*
  12.  *  void
  13.  * fjarwrts(int row,int col,int cols,int attr,char *string)
  14.  *
  15.  * ARGUMENT
  16.  *  row     -    Starting row for output.
  17.  *  col     -    Starting column for output.
  18.  *  cols    -    Number of columns to center on.
  19.  *  attr    -    Physical attribute to be used.
  20.  *  string    -    String to be centered.
  21.  *
  22.  * DESCRIPTION
  23.  *  The string is justified on a width cols and displayed at row/col
  24.  *  using the attribute supplied in the attr parameter.
  25.  *
  26.  * RETURNS
  27.  *  void
  28.  *
  29.  * AUTHOR
  30.  *  "" Tue 20-Dec-1988 14:40:32
  31.  *   Copyright (C)1988-1990 Greenleaf Software Inc. All Rigths Reserved.
  32.  *
  33.  * MODIFICATIONS
  34.  *
  35.  *
  36.  */
  37. void GF_CONV fjarwrts(row,col,cols,attr,string)
  38. int row,col,cols,attr;
  39. char *string;
  40. {
  41.     if(justify(_gfspbuf,string,cols))
  42.         fratwstr(row,col,attr,_gfspbuf);
  43. }
  44.