home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / AW2.ZIP / SCR.H < prev   
Text File  |  1989-03-31  |  910b  |  34 lines

  1. #define NUL    '\000'
  2. #define BEL    '\007'
  3. #define BS    '\010'
  4. #define HT    '\011'
  5. #define LF    '\012'
  6. #define CR    '\015'
  7. #define ESC    '\033'
  8. #define SP    '\040'
  9.  
  10. struct TTYWND {
  11.     HWND hWnd;
  12.     POINTL Pos;
  13.     BYTE *pVidBuf;
  14.     short CWidth, CHeight;
  15.     short Top, Left;
  16.     short Width, Height;
  17.     short MaxLines,MaxCols;
  18.     short MaxLineLength;
  19.     short CurLineOffset;
  20.     short oCurrentLine;
  21.     short oVidLastLine;
  22.     BOOL LFonCR;
  23.     BOOL CRonLF;
  24.     BOOL Wrap;
  25.     BYTE ebitmask;
  26. };
  27. typedef struct TTYWND *PTTYWND;
  28. extern struct TTYWND MWnd;
  29.  
  30. InitWindow(PTTYWND,short,short,short,short,short,short,BOOL,BOOL,BOOL,BYTE);
  31. int NEAR Display(PTTYWND, short,BYTE *);
  32. void NEAR WndPaint(PTTYWND, HPS,short);
  33. 
  34.