home *** CD-ROM | disk | FTP | other *** search
/ Resource Library: Graphics / graphics-16000.iso / msdos / animutil / fastgfx / fg110c / 06-14.c < prev    next >
Text File  |  1992-01-30  |  362b  |  21 lines

  1. #include <fastgraf.h>
  2.  
  3. void main(void);
  4.  
  5. void main()
  6. {
  7.    char matrix[8];
  8.    int old_mode;
  9.  
  10.    old_mode = fg_getmode();
  11.    fg_setmode(19);
  12.  
  13.    matrix[0] = matrix[3] = matrix[4] = matrix[7] = 15;
  14.    matrix[1] = matrix[2] = matrix[5] = matrix[6] =  9;
  15.    fg_drect(0,49,0,49,matrix);
  16.    fg_waitkey();
  17.  
  18.    fg_setmode(old_mode);
  19.    fg_reset();
  20. }
  21.