home *** CD-ROM | disk | FTP | other *** search
/ C!T ROM 2 / ctrom_ii_b.zip / ctrom_ii_b / PROGRAM / FOXPRO / FCT1_12 / FC_VIDEO.HDR < prev    next >
Text File  |  1990-10-12  |  2KB  |  66 lines

  1. #output Force Tools 1.1 - Video functions
  2.  
  3. *
  4. * save the set console setting
  5. *
  6. procedure save_console prototype
  7.  
  8. *
  9. * restore the set console setting
  10. *
  11. procedure rest_console prototype
  12.  
  13. ******************
  14. * Restorescrn_On()
  15. *
  16. * This functions restore's a screen saved
  17. * with savescrn on a new row, col
  18. *
  19. * Para 1 : Handle (obtained with savescrn)
  20. * Para 2 : New row
  21. * Para 3 : New column
  22. *
  23. PROCEDURE RestoreScrn_On PROTOTYPE
  24.    PARAMS VALUE UINT, VALUE UINT, VALUE UINT
  25.  
  26. *
  27. * save colors and cursor setting, this routine is stack based, max. 128 saves
  28. *
  29. procedure save_colors prototype
  30.  
  31. *
  32. * restore the last color and cursor setting from the save_color stack
  33. *
  34. procedure rest_colors prototype
  35.  
  36. *
  37. * save a screen to a text file, return .t. if succesfull (print screen to file)
  38. *
  39. function logical capture prototype
  40.    params const char file_name
  41.  
  42. *
  43. * read a number of characters directly from the screen
  44. *
  45. function char read_screen prototype
  46.    params value uint scrn_row, value uint scrn_col, value uint read_len
  47.  
  48. *
  49. * save a screen to a file 
  50. *
  51. function logical screen_to_file prototype
  52.    params const char file_name, value uint scrn_number_in_file
  53.  
  54. *
  55. * restore a screen from a file
  56. *
  57. function logical file_to_screen prototype
  58.    params const char file_name, value uint scrn_number_in_file
  59.  
  60. *
  61. * write a string to the screen without changing the attributes
  62. *
  63. procedure write_screen prototype
  64.    params value uint write_row, value uint write_col, const char str_to_write
  65.    
  66. * eof - fc_video.hdr