home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / c / c003 / 1.ddi / WFC_HIST.H < prev    next >
Encoding:
C/C++ Source or Header  |  1987-04-01  |  1.9 KB  |  56 lines

  1. /* wfc_hist.h -- historical definitions for compatibility with previous versions
  2.  
  3.     ************* Copyright 1987 by Vermont Creative Software **************
  4.  
  5. DATE:      April 2, 1987
  6. VERSION:  v4.12
  7.  
  8. */
  9.  
  10. /*----------------------------------------------------------------------------*/
  11. /*  historical function definitions                          */
  12. /*----------------------------------------------------------------------------*/
  13. #define di_file(a)           mf_rd(a)
  14. #define di_st(a, b, c, d, e)   rd_st(a, b, c, d, e)
  15. #define file_lnp(a, b)           mf_rwp(a, b)
  16. #define free_file(a)           mf_clr(a)
  17. #define scrl_file(a, b, c, d)  mf_scrl(a, b, c, d)
  18. #define sti_file(a, b, c)      mf_rwrpl(a, b, c)
  19. #define vs_file(a, b)           vs_mf(a, b)
  20. #define v_file(a)           v_mf(a)
  21. #define _v_init()           init_wfc()
  22.  
  23. /*----------------------------------------------------------------------------*/
  24. /*  historical macro definitions                          */
  25. /*----------------------------------------------------------------------------*/
  26. #define s_tbfmsg(a)           (tbf_msg = (a))
  27. #define s_keyloop(p)           (_wfckifp = (p))
  28. #define sw_mfile(a, wnp)       ((wnp)->frp = (a))
  29.  
  30. #define LEFT_TXT   0
  31. #ifndef CENTER_TXT
  32. #define CENTER_TXT -1
  33. #endif
  34. #define RIGHT_TXT  -2
  35.  
  36. #define QK_BREAK 1
  37. #define QK_LEFT   115
  38. #define QK_RIGHT  116
  39. #define QK_END      117
  40. #define QK_PGDN   118
  41. #define QK_HOME   119
  42. #define QK_PGUP   132
  43.  
  44. /*----------------------------------------------------------------------------*/
  45. /*  historical structure typedefs                          */
  46. /*----------------------------------------------------------------------------*/
  47. #define FLINE MFLINE
  48. #define FLINEPTR MFLINEPTR
  49. #define FREC MFILE
  50. #define FRECPTR MFILEPTR
  51.  
  52. /*----------------------------------------------------------------------------*/
  53. /*  historical error definitions                          */
  54. /*----------------------------------------------------------------------------*/
  55. #define FILETOOBIG MFILETOOBIG
  56.