Category : C Source Code
Archive   : KSLIB.ZIP
Filename : WN.H

 
Output of file : WN.H contained in archive : KSLIB.ZIP
/*
* WN.H - Header file for WN.C
*/

#define SINGLE 0x0001
#define DOUBLE 0x0002
#define CURSON 0x0004
#define POPUP 0x0008

#define WNCHECKINIT if (!WNinitialised) WNinit()

#define BKGR(x) (x<<4)
#define WNclear() clrscr()
#define WNgotoxy(x,y) gotoxy(x,y)
#define WNgetx wherex
#define WNgety wherey
#define WNputs cputs
#define WNprintf cprintf

struct WNwin {
int x;
int y;
int c;
int curs;
int oulx,ulx;
int ouly,uly;
int olrx,lrx;
int olry,lry;
int attr;
char *buf;
struct WNwin *last;
struct WNwin *next;
};

typedef struct WNwin WNwin;

void WNsavecurs();
void WNloadcurs();
void WNputc(char);
void WNsavedos();
void WNloaddos();
WNwin * WNopen(int,int,int,int,int,int);
WNwin * WNclose();
void WNinit();
void WNend();
void WNselect(WNwin *);
void WNsave();
void WNload();
void WNbox(int,int,int,int,int);
void WNmessage(WNwin *,int,int,int,char *);
void WNdisplay(int,int,char *);
int WNcolor(int);
void WNfore(int);
void WNback(int);
void WNcursor(int);
int WNgcursor();


  3 Responses to “Category : C Source Code
Archive   : KSLIB.ZIP
Filename : WN.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/