home *** CD-ROM | disk | FTP | other *** search
/ Power Programming / powerprogramming1994.iso / progtool / microcrn / issue_40.arc / KBDTEST.ARC / VIDEO.H < prev   
Text File  |  1988-01-11  |  999b  |  36 lines

  1. /* VIDEO.H from 86world column in Micro Cornucopia Issue #40 */
  2.  
  3. /* VIDEO.H - constants and prototypes for video output routines
  4.    in VIDEO.C */
  5.  
  6. #define BLACK 0
  7. #define BLUE 1
  8. #define GREEN 2
  9. #define CYAN 3
  10. #define RED 4
  11. #define MAGENTA 5
  12. #define BROWN 6
  13. #define LIGHTGRAY 7
  14. #define DARKGRAY 8
  15. #define LIGHTBLUE 9
  16. #define LIGHTGREEN 10
  17. #define LIGHTCYAN 11
  18. #define LIGHTRED 12
  19. #define LIGHTMAGENTA 13
  20. #define YELLOW 14
  21. #define WHITE 15
  22. #define BLINK 128 /* add to backcolor */
  23. #define REVERSE BLACK,LIGHTGRAY
  24. #define NORMAL  LIGHTGRAY,BLACK
  25.  
  26. void scroll(int lines, int x1, int y1, int x2, int y2);
  27. void cursorsize(int startline, int endline);
  28. void clearscreen(void);
  29. void at(int row, int col);
  30. void in(char forecolor, char backcolor);
  31. void cprintf(va_list arg_list, ...);
  32. void initvideo(void);
  33. void far movescreenmem(char far *source, char far *dest,
  34.                        unsigned len, int snowcheck);
  35. /* from file MCMVSMEM.C (.OBJ) on Turbo C dist. disks */
  36.