home *** CD-ROM | disk | FTP | other *** search
/ ftp.wwiv.com / ftp.wwiv.com.zip / ftp.wwiv.com / pub / UTILITY / ED.ZIP / SCREEN.H < prev   
Text File  |  1987-10-09  |  4KB  |  142 lines

  1. /*
  2.                            TURBO C WINDOWS 1.1
  3.                               INCLUDE FILE
  4.                                    by
  5.                               Craig Arnush
  6.  
  7.      This is meant for use with the SCREEN.C utility that I
  8. wrote.  This will give a little more information as to what
  9. can be done with this software package.
  10.  
  11. */
  12.  
  13.  
  14. /* Extended Codes for Special Characters */
  15. #define NUL         1003
  16. #define SHFTTAB     1015
  17. #define ALTQ        1016
  18. #define ALTW        1017
  19. #define ALTE        1018
  20. #define ALTR        1019
  21. #define ALTT        1020
  22. #define ALTY        1021
  23. #define ALTU        1022
  24. #define ALTI        1023
  25. #define ALTO        1024
  26. #define ALTP        1025
  27. #define ALTA        1030
  28. #define ALTS        1031
  29. #define ALTD        1032
  30. #define ALTF        1033
  31. #define ALTG        1034
  32. #define ALTH        1035
  33. #define ALTJ        1036
  34. #define ALTK        1037
  35. #define ALTL        1038
  36. #define ALTZ        1044
  37. #define ALTX        1045
  38. #define ALTC        1046
  39. #define ALTV        1047
  40. #define ALTB        1048
  41. #define ALTN        1049
  42. #define ALTM        1050
  43. #define F1          1059
  44. #define F2          1060
  45. #define F3          1061
  46. #define F4          1062
  47. #define F5          1063
  48. #define F6          1064
  49. #define F7          1065
  50. #define F8          1066
  51. #define F9          1067
  52. #define F10         1068
  53. #define HOME        1071
  54. #define CRSRUP      1072
  55. #define PGUP        1073
  56. #define CRSRLFT     1075
  57. #define CRSRRGT     1077
  58. #define END         1079
  59. #define CRSRDN      1080
  60. #define PGDN        1081
  61. #define INS         1082
  62. #define DEL         1083
  63. #define SF1         1084
  64. #define SF2         1085
  65. #define SF3         1086
  66. #define SF4         1087
  67. #define SF5         1088
  68. #define SF6         1089
  69. #define SF7         1090
  70. #define SF8         1091
  71. #define SF9         1092
  72. #define SF10        1093
  73. #define CF1         1094
  74. #define CF2         1095
  75. #define CF3         1096
  76. #define CF4         1097
  77. #define CF5         1098
  78. #define CF6         1099
  79. #define CF7         1100
  80. #define CF8         1101
  81. #define CF9         1102
  82. #define CF10        1103
  83. #define AF1         1104
  84. #define AF2         1105
  85. #define AF3         1106
  86. #define AF4         1107
  87. #define AF5         1108
  88. #define AF6         1109
  89. #define AF7         1110
  90. #define AF8         1111
  91. #define AF9         1112
  92. #define AF10        1113
  93. #define CTRLPRTSC   1114
  94. #define CTRLCRSRLFT 1115
  95. #define CTRLCRSRRGT 1116
  96. #define CTRLEND     1117
  97. #define CTRLPGDN    1118
  98. #define CTRLHOME    1119
  99. #define ALT1        1120
  100. #define ALT2        1121
  101. #define ALT3        1122
  102. #define ALT4        1123
  103. #define ALT5        1124
  104. #define ALT6        1125
  105. #define ALT7        1126
  106. #define ALT8        1127
  107. #define ALT9        1128
  108. #define ALT0        1129
  109. #define ALTMINUS    1130
  110. #define ALTEQUAL    1131
  111. #define CTRLPGUP    1132
  112.  
  113. /* Shift Status Bytes */
  114. #define SH_RSHFT     0x0001
  115. #define SH_LSHFT     0x0002
  116. #define SH_CTRL      0x0004
  117. #define SH_ALT       0x0008
  118. #define SH_SCRL      0x0010
  119. #define SH_NUM       0x0020
  120. #define SH_CAPS      0x0040
  121. #define SH_INS       0x0080
  122. #define SH_JRCLK     0x0400
  123. #define SH_CTRLNUM   0x0800
  124. #define SH_SCRL_P    0x1000
  125. #define SH_NUM_P     0x2000
  126. #define SH_CAPS_P    0x4000
  127. #define SH_INS_P     0x8000
  128.  
  129. /* Scrolling Directions */
  130. #define UP 0
  131. #define DN 1
  132. #define RT 2
  133. #define LT 3
  134.  
  135. struct scrptr
  136.  {
  137.  char x1, y1, x2, y2, oldx, oldy;
  138.  char *s;
  139.  } windows[16];
  140.  
  141. char far *displayptr;
  142. char totwins;