Category : C Source Code
Archive   : T1WIN.ZIP
Filename : WINDOWS.H
* windows.h -- must include after the inclusion of
*/
typedef unsigned char BYTE;
typedef enum { NOBOARDER, SINGLE_LINE, DOUBLE_LINE } BOX;
/* Window routine errors */
#define WINDOW_OK 0
#define WINDOW_ALREADY_EXISTS 1
#define WINDOW_DOES_NOT_EXIST 2
#define WINDOW_CANT_ALLOCATE 3
struct window_info {
char * id;
struct text_info last;
BYTE winleft;
BYTE wintop;
BYTE winright;
BYTE winbottom;
BYTE window_foreground;
BYTE window_background;
BOX boarder;
BYTE boarder_foreground;
BYTE boarder_background;
BYTE * covered;
BYTE * cover;
BYTE curx;
BYTE cury;
struct window_info * under;
struct window_info * over;
};
#ifndef IN_WINDOWS_C
extern int create_window (char *, BYTE, BYTE, BYTE, BYTE, BYTE, BYTE, BOX, BYTE, BYTE);
extern int activate_window (char *);
extern int remove_window (char *);
#endif
Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!
This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.
But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/