Category : Files from Magazines
Archive   : PJ73.ZIP
Filename : TTYCLS.H

 
Output of file : TTYCLS.H contained in archive : PJ73.ZIP
#ifdef WINDOWS
#define HPS HDC
#endif

/*
* this structure contains most of the information needed
* to use the tty window.
*/

struct TTYWND {
HWND hWnd;
#ifdef WINDOWS
POINT Pos;
HANDLE hVidBuf;
#else
POINTL Pos;
#endif
BYTE *pVidBuf;
short CWidth, CHeight;
short Top, Left;
short Width, Height;
short MaxLines,MaxCols;
short MaxLineLength;
short CurLineOffset;
short oCurrentLine;
short oVidLastLine;
short FontIndex;
BOOL LFonCR;
BOOL CRonLF;
BOOL Wrap;
BYTE ebitmask;
};
typedef struct TTYWND *PTTYWND;

/* shared function declarations */
InitTTYWindow(PTTYWND,short,short,short,short,short,short,
BOOL,BOOL,BOOL,short,BYTE);
int NEAR TTYDisplay(PTTYWND pTTYWnd, short len, BYTE *str);
void NEAR TTYWndPaint(PTTYWND pTTYWnd, HPS hPS, short top, short bottom);
void NEAR TTYClear(PTTYWND pTTYWnd);


  3 Responses to “Category : Files from Magazines
Archive   : PJ73.ZIP
Filename : TTYCLS.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/