home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / vol_300 / 344_02 / video.h < prev    next >
Text File  |  1989-10-29  |  925b  |  33 lines

  1.  
  2.  
  3. /*
  4.  *      HEADER:         ;
  5.  *      TITLE:          PROTOTYPES for screen functions in video.c;
  6.  *      DATE:           10/29/1989;
  7.  *      VERSION:        1.0;
  8.  *      FILENAME:       VIDEO.H;
  9.  *      SEE-ALSO:       VIDEO.C, CRT.H, LITEBAR.ASM, MEMRITE.ASM;
  10.  *      AUTHORS:        Michael Kelly;
  11.  */
  12.  
  13.  
  14. /*
  15.  *  gets current video mode
  16.  */
  17. unsigned char getmode(void);
  18.  
  19. /*
  20.  *  based on Jeff Duntemans PASCAL detection routines in DDJ
  21.  *
  22.  *  detects the active video card on IBM PC & PS/2 machines
  23.  */
  24. enum VIDEO_CARD {NONE,MDA,CGA,EGAMONO,EGACOLOR,VGAMONO,VGACOLOR,MCGAMONO,MCGACOLOR};
  25. enum VIDEO_CARD get_adaptor(void);
  26.  
  27. /*
  28.  *  these use my assembler functions to draw boxes and borders for
  29.  *  IBM PC and clone text screens
  30.  */
  31. int border(int left, int top, int right, int bot,int vpage, int style, int atr);
  32. int box(int left, int top, int right, int bot,int vpage, int style, int atr);
  33.