Category : C Source Code
Archive   : TC15WIND.ZIP
Filename : WINDOWS.H

 
Output of file : WINDOWS.H contained in archive : TC15WIND.ZIP
/*
* 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


  3 Responses to “Category : C Source Code
Archive   : TC15WIND.ZIP
Filename : WINDOWS.H

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. 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/