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

 
Output of file : WN.H contained in archive : HIM100.ZIP
/* Window Manager Constants */

/* Colors */

#define WNBLACK 0
#define WNBLUE 1
#define WNGREEN 2
#define WNCYAN 3
#define WNRED 4
#define WNMAGENTA 5
#define WNBROWN 6
#define WNGRAY 7
#define WNDGRAY 8
#define WNLBLUE 9
#define WNLGREEN 10
#define WNLCYAN 11
#define WNLRED 12
#define WNLMAGENTA 13
#define WNYELLOW 14
#define WNWHITE 15

#define WNBLINK 128 /* OR with attribute to cause blinking */

/* mono highlight attributes */

#define WNNORMAL 0x07
#define WNREVERSE 0x70
#define WNUNDERLINE 0x47

/* Cursor types */

#define WNNOCURSOR 0
#define WNUNDCURSOR 1
#define WNSOLCURSOR 2

/* wnscroll directions */

#define WUP 0
#define WDOWN 1

/* error constants */

#define WNMAERROR -1 /* memory allocation error */
#define WNFWERROR -2 /* file write error */
#define WNBADWIN -3 /* bad window number */
#define WNFRERROR -4 /* file read error */
#define WNWTBERROR -5 /* window dimension(s) to big for screen */


/* function declarations */

/*global*/ int wnsize(int ,int ,int );
/*global*/ int wnswcolor(int ,int ,int );
/*global*/ int wnswbcolor(int ,int ,int );
/*global*/ int wnswtbc(int ,int ,int );
/*global*/ int wnswcmode(int ,int );
/*global*/ int wnswwwrap(int ,int );
/*global*/ int wnswscroll(int ,int );
/*global*/ int wnswbchars(int ,int ,int ,int ,int ,int ,int ,int ,int ,int ,int ,int );
/*global*/ int wngwrow(int );
/*global*/ int wngwcol(int );
/*global*/ int wngwwidth(int );
/*global*/ int wngwheight(int );
/*global*/ int wngwbc(int );
/*global*/ int wngwfc(int );
/*global*/ int wngwbbc(int );
/*global*/ int wngwbfc(int );
/*global*/ int wngwtbc(int );
/*global*/ int wngwtfc(int );
/*global*/ int wngwcrow(int );
/*global*/ int wngwccol(int );
/*global*/ int wngwcmode(int );
/*global*/ int wngwwwrap(int );
/*global*/ int wngwscroll(int );
/*global*/ int wngwbchars(int ,char *,char *,char *,char *,char *,char *,char *,char *,char *,char *,char *);
/*global*/ int wninit(int ,int ,char *,unsigned int ,char *(*)(),void (*)());
/*global*/ int wncreate(int ,int ,int ,int ,int ,int ,int ,int );
/*global*/ int wndestroy(int );
/*global*/ int wnfill(int ,int );
/*global*/ int wncls(int );
/*global*/ int wsave(struct wn_s *);
/*global*/ int wrestore(void);
/*global*/ int wsaverestoretofile(int ,int ,int ,int ,long ,int );
/*global*/ int wregensave(int ,int ,int ,int ,unsigned int far *);
/*global*/ int wregenrestore(int ,int ,int ,int ,unsigned int far *);
/*global*/ int writeread(int ,char *,int ,int );
/*global*/ int wnbldwatt(int );
/*global*/ int wnbldnatt(int ,int ,int );
/*global*/ int wnbldhatt(int ,int ,int );
/*global*/ int wnghmatt(void);
/*global*/ int wnshmatt(int );
/*global*/ int wdrawborder(void);
/*global*/ int wdrawside(int );
/*global*/ int wnumcheck(int );
/*global*/ int vpgvmode(void);
/*global*/ int vpsvmode(int );
/*global*/ int vpgcpos(int *,int *);
/*global*/ int vpscpos(int ,int );
/*global*/ int vpgtcols(void);
/*global*/ int vpgcstyle(int *,int *);
/*global*/ int vpscstyle(int ,int );
/*global*/ int vpscmode(int );
/*global*/ int wnmove(int ,int ,int );
/*global*/ int wnmovechar(int ,int ,int );
/*global*/ int wnmoves(int ,int ,int ,int );
/*global*/ int wnscroll(int ,int ,int ,int );
/*global*/ int wndline(int );
/*global*/ int wndeol(int );
/*global*/ int wndeow(int );
/*global*/ int wnbs(int );
/*global*/ int wninsline(int );
/*global*/ int wninschar(int );
/*global*/ int wnputncolor(int ,int ,int ,int );
/*global*/ int wnlputncolor(int ,int ,int ,int ,int ,int );
/*global*/ int wnputhcolor(int ,int ,int ,int );
/*global*/ int wnlputhcolor(int ,int ,int ,int ,int ,int );
/*global*/ int wtoright(void);
/*global*/ int wtobottom(void);
/*global*/ int wnttitle(int ,char *);
/*global*/ int wnbtitle(int ,char *);
/*global*/ int wnltitle(int ,char *);
/*global*/ int wnrtitle(int ,char *);



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