home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / vol_400 / 428_02 / libsrc / getvconf.c < prev    next >
Encoding:
C/C++ Source or Header  |  1994-03-13  |  477 b   |  24 lines

  1. /*
  2. ** getvconf.c
  3. **
  4. ** Pictor, Version 1.51, Copyright (c) 1992-94 SoftCircuits
  5. ** Redistributed by permission.
  6. */
  7.  
  8. #include "pictor.h"
  9.  
  10. /*
  11. ** Returns information about the current display configuration.
  12. */
  13. void getvconfig(VIDEOSTRUCT *vs)
  14. {
  15.     vs->segment = _PL_segment;
  16.     vs->snowcheck = _PL_snowcheck;
  17.     vs->rows = _PL_rows;
  18.     vs->columns = _PL_columns;
  19.     vs->mode = _PL_mode;
  20.     vs->page = _PL_page;
  21.     vs->colorsupport = _PL_colorsupport;
  22.  
  23. } /* getvconfig */
  24.