home *** CD-ROM | disk | FTP | other *** search
/ World of Shareware - Software Farm 2 / wosw_2.zip / wosw_2 / CPROG / FC20C.ZIP / CONSOLE.H < prev    next >
C/C++ Source or Header  |  1990-08-20  |  1KB  |  37 lines

  1. /*
  2.  * Compatibility definitions for the "CONSOLE" interface.
  3.  *
  4.  * The "CONSOLE" interface has been renamed to "VIDEO", and the
  5.  * function names renamed to be consistant with the "WINDOW"
  6.  * library (Available with registration). This header file
  7.  * maps the "VIDEO" functions back to the "CONSOLE" names, and
  8.  * allows previously written MICRO-C programs, which use that
  9.  * interface to compile correctly.
  10.  *
  11.  * When coding a program for the first time under MICRO-C, DO NOT
  12.  * USE THIS FILE. Learn the "VIDEO" functions, since they are now
  13.  * standard.
  14.  *
  15.  * Copyright 1990 Dave Dunfield
  16.  * All rights reserved.
  17.  */
  18.  
  19. /* Low level CONSOLE functions */
  20. #define    video_init    vopen
  21. #define    chkkey        vtstc
  22. #define    getkey        vgetc
  23. #define    putchr        vputc
  24. #define    clear_scr    vclscr
  25. #define    clear_eos    vcleos
  26. #define    clear_eol    vcleol
  27. #define    gotoxy        vgotoxy
  28. #define    updatexy    vupdatexy
  29. #define    cursor_off    vcursor_off
  30. #define    cursor_on    vcursor_line
  31.  
  32. /* High level CONSOLE functions */
  33. #define    draw_box    vdraw_box
  34. #define    clear_box    vclear_box
  35.  
  36. #include \mc\video.h
  37.