Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /trunk/teraterm/teraterm/buffer.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5089 - (hide annotations) (download) (as text)
Tue Dec 4 00:54:13 2012 UTC (11 years, 4 months ago) by doda
File MIME type: text/x-chdr
File size: 2962 byte(s)
DECCRAに仮対応

1 maya 3227 /* Tera Term
2     Copyright(C) 1994-1998 T. Teranishi
3     All rights reserved. */
4    
5     /* TERATERM.EXE, scroll buffer routines */
6    
7     #ifdef __cplusplus
8     extern "C" {
9     #endif
10    
11     void InitBuffer();
12     void LockBuffer();
13     void UnlockBuffer();
14     void FreeBuffer();
15     void BuffReset();
16     void BuffAllSelect();
17     void BuffScreenSelect();
18     void BuffCancelSelection();
19     void ChangeSelectRegion();
20     void BuffScroll(int Count, int Bottom);
21     void BuffInsertSpace(int Count);
22     void BuffEraseCurToEnd();
23     void BuffEraseHomeToCur();
24     void BuffInsertLines(int Count, int YEnd);
25     void BuffEraseCharsInLine(int XStart, int Count);
26     void BuffDeleteLines(int Count, int YEnd);
27     void BuffDeleteChars(int Count);
28     void BuffEraseChars(int Count);
29     void BuffFillWithE();
30     void BuffDrawLine(TCharAttr Attr, int Direction, int C);
31     void BuffEraseBox(int XStart, int YStart, int XEnd, int YEnd);
32 doda 5089 void BuffCopyBox(int SrcXStart, int SrcYStart, int SrcXEnd, int SrcYEnd, int SrcPage, int DstX, int DstY, int DstPage);
33 maya 3227 void BuffCBCopy(BOOL Table);
34     void BuffPrint(BOOL ScrollRegion);
35     void BuffDumpCurrentLine(BYTE TERM);
36     void BuffPutChar(BYTE b, TCharAttr Attr, BOOL Insert);
37     void BuffPutKanji(WORD w, TCharAttr Attr, BOOL Insert);
38     void BuffUpdateRect(int XStart, int YStart, int XEnd, int YEnd);
39     void UpdateStr();
40     void UpdateStrUnicode(void);
41     void MoveCursor(int Xnew, int Ynew);
42     void MoveRight();
43     void BuffSetCaretWidth();
44     void BuffScrollNLines(int n);
45     void BuffClearScreen();
46     void BuffUpdateScroll();
47     void CursorUpWithScroll();
48     int BuffUrlDblClk(int Xw, int Yw);
49     void BuffDblClk(int Xw, int Yw);
50     void BuffTplClk(int Yw);
51     void BuffSeveralPagesSelect(int Xw, int Yw);
52     void BuffStartSelect(int Xw, int Yw, BOOL Box);
53     void BuffChangeSelect(int Xw, int Yw, int NClick);
54     void BuffEndSelect();
55     void BuffChangeWinSize(int Nx, int Ny);
56     void BuffChangeTerminalSize(int Nx, int Ny);
57     void ChangeWin();
58     void ClearBuffer();
59     void SetTabStop();
60     void CursorForwardTab(int count, BOOL AutoWrapMode);
61     void CursorBackwardTab(int count);
62     void ClearTabStop(int Ps);
63     void ShowStatusLine(int Show);
64     #ifndef NO_COPYLINE_FIX
65 doda 3312 void BuffLineContinued(BOOL mode);
66     #define SetLineContinued() BuffLineContinued(TRUE)
67     #define ClearLineContinued() BuffLineContinued(FALSE)
68 maya 3227 #endif /* NO_COPYLINE_FIX */
69     void BuffRegionScrollUpNLines(int n);
70     void BuffRegionScrollDownNLines(int n);
71     void BuffSetCurCharAttr(TCharAttr Attr);
72 doda 3743 void BuffSaveScreen();
73     void BuffRestoreScreen();
74 doda 3745 void BuffDiscardSavedScreen();
75 doda 4070 void BuffSelectedEraseCharsInLine(int XStart, int Count);
76     void BuffSelectedEraseCurToEnd();
77     void BuffSelectedEraseHomeToCur();
78     void BuffSelectedEraseScreen();
79 doda 4090 void BuffSelectEraseBox(int XStart, int YStart, int XEnd, int YEnd);
80 doda 4243 void BuffScrollLeft(int count);
81     void BuffScrollRight(int count);
82 yutakapon 4932 int BuffGetCurrentLineData(char *buf, int bufsize);
83 maya 3227
84     extern int StatusLine;
85     extern int CursorTop, CursorBottom;
86     extern BOOL Selected;
87     extern BOOL Wrap;
88    
89     #ifdef __cplusplus
90     }
91     #endif

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26