home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.wwiv.com
/
ftp.wwiv.com.zip
/
ftp.wwiv.com
/
pub
/
UTILITY
/
ED.ZIP
/
SCREEN.H
< prev
Wrap
Text File
|
1987-10-09
|
4KB
|
142 lines
/*
TURBO C WINDOWS 1.1
INCLUDE FILE
by
Craig Arnush
This is meant for use with the SCREEN.C utility that I
wrote. This will give a little more information as to what
can be done with this software package.
*/
/* Extended Codes for Special Characters */
#define NUL 1003
#define SHFTTAB 1015
#define ALTQ 1016
#define ALTW 1017
#define ALTE 1018
#define ALTR 1019
#define ALTT 1020
#define ALTY 1021
#define ALTU 1022
#define ALTI 1023
#define ALTO 1024
#define ALTP 1025
#define ALTA 1030
#define ALTS 1031
#define ALTD 1032
#define ALTF 1033
#define ALTG 1034
#define ALTH 1035
#define ALTJ 1036
#define ALTK 1037
#define ALTL 1038
#define ALTZ 1044
#define ALTX 1045
#define ALTC 1046
#define ALTV 1047
#define ALTB 1048
#define ALTN 1049
#define ALTM 1050
#define F1 1059
#define F2 1060
#define F3 1061
#define F4 1062
#define F5 1063
#define F6 1064
#define F7 1065
#define F8 1066
#define F9 1067
#define F10 1068
#define HOME 1071
#define CRSRUP 1072
#define PGUP 1073
#define CRSRLFT 1075
#define CRSRRGT 1077
#define END 1079
#define CRSRDN 1080
#define PGDN 1081
#define INS 1082
#define DEL 1083
#define SF1 1084
#define SF2 1085
#define SF3 1086
#define SF4 1087
#define SF5 1088
#define SF6 1089
#define SF7 1090
#define SF8 1091
#define SF9 1092
#define SF10 1093
#define CF1 1094
#define CF2 1095
#define CF3 1096
#define CF4 1097
#define CF5 1098
#define CF6 1099
#define CF7 1100
#define CF8 1101
#define CF9 1102
#define CF10 1103
#define AF1 1104
#define AF2 1105
#define AF3 1106
#define AF4 1107
#define AF5 1108
#define AF6 1109
#define AF7 1110
#define AF8 1111
#define AF9 1112
#define AF10 1113
#define CTRLPRTSC 1114
#define CTRLCRSRLFT 1115
#define CTRLCRSRRGT 1116
#define CTRLEND 1117
#define CTRLPGDN 1118
#define CTRLHOME 1119
#define ALT1 1120
#define ALT2 1121
#define ALT3 1122
#define ALT4 1123
#define ALT5 1124
#define ALT6 1125
#define ALT7 1126
#define ALT8 1127
#define ALT9 1128
#define ALT0 1129
#define ALTMINUS 1130
#define ALTEQUAL 1131
#define CTRLPGUP 1132
/* Shift Status Bytes */
#define SH_RSHFT 0x0001
#define SH_LSHFT 0x0002
#define SH_CTRL 0x0004
#define SH_ALT 0x0008
#define SH_SCRL 0x0010
#define SH_NUM 0x0020
#define SH_CAPS 0x0040
#define SH_INS 0x0080
#define SH_JRCLK 0x0400
#define SH_CTRLNUM 0x0800
#define SH_SCRL_P 0x1000
#define SH_NUM_P 0x2000
#define SH_CAPS_P 0x4000
#define SH_INS_P 0x8000
/* Scrolling Directions */
#define UP 0
#define DN 1
#define RT 2
#define LT 3
struct scrptr
{
char x1, y1, x2, y2, oldx, oldy;
char *s;
} windows[16];
char far *displayptr;
char totwins;