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 5091 - (hide annotations) (download) (as text)
Tue Dec 4 14:34:26 2012 UTC (11 years, 4 months ago) by doda
File MIME type: text/x-chdr
File size: 3036 byte(s)
関数名が気に食わなくなったので変更。

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 5090 void BuffFillBox(char c, int XStart, int YStart, int XEnd, int YEnd);
33 doda 5089 void BuffCopyBox(int SrcXStart, int SrcYStart, int SrcXEnd, int SrcYEnd, int SrcPage, int DstX, int DstY, int DstPage);
34 maya 3227 void BuffCBCopy(BOOL Table);
35     void BuffPrint(BOOL ScrollRegion);
36     void BuffDumpCurrentLine(BYTE TERM);
37     void BuffPutChar(BYTE b, TCharAttr Attr, BOOL Insert);
38     void BuffPutKanji(WORD w, TCharAttr Attr, BOOL Insert);
39     void BuffUpdateRect(int XStart, int YStart, int XEnd, int YEnd);
40     void UpdateStr();
41     void UpdateStrUnicode(void);
42     void MoveCursor(int Xnew, int Ynew);
43     void MoveRight();
44     void BuffSetCaretWidth();
45     void BuffScrollNLines(int n);
46     void BuffClearScreen();
47     void BuffUpdateScroll();
48     void CursorUpWithScroll();
49     int BuffUrlDblClk(int Xw, int Yw);
50     void BuffDblClk(int Xw, int Yw);
51     void BuffTplClk(int Yw);
52     void BuffSeveralPagesSelect(int Xw, int Yw);
53     void BuffStartSelect(int Xw, int Yw, BOOL Box);
54     void BuffChangeSelect(int Xw, int Yw, int NClick);
55     void BuffEndSelect();
56     void BuffChangeWinSize(int Nx, int Ny);
57     void BuffChangeTerminalSize(int Nx, int Ny);
58     void ChangeWin();
59     void ClearBuffer();
60     void SetTabStop();
61     void CursorForwardTab(int count, BOOL AutoWrapMode);
62     void CursorBackwardTab(int count);
63     void ClearTabStop(int Ps);
64     void ShowStatusLine(int Show);
65     #ifndef NO_COPYLINE_FIX
66 doda 3312 void BuffLineContinued(BOOL mode);
67     #define SetLineContinued() BuffLineContinued(TRUE)
68     #define ClearLineContinued() BuffLineContinued(FALSE)
69 maya 3227 #endif /* NO_COPYLINE_FIX */
70     void BuffRegionScrollUpNLines(int n);
71     void BuffRegionScrollDownNLines(int n);
72     void BuffSetCurCharAttr(TCharAttr Attr);
73 doda 3743 void BuffSaveScreen();
74     void BuffRestoreScreen();
75 doda 3745 void BuffDiscardSavedScreen();
76 doda 4070 void BuffSelectedEraseCharsInLine(int XStart, int Count);
77     void BuffSelectedEraseCurToEnd();
78     void BuffSelectedEraseHomeToCur();
79     void BuffSelectedEraseScreen();
80 doda 5091 void BuffSelectiveEraseBox(int XStart, int YStart, int XEnd, int YEnd);
81 doda 4243 void BuffScrollLeft(int count);
82     void BuffScrollRight(int count);
83 yutakapon 4932 int BuffGetCurrentLineData(char *buf, int bufsize);
84 maya 3227
85     extern int StatusLine;
86     extern int CursorTop, CursorBottom;
87     extern BOOL Selected;
88     extern BOOL Wrap;
89    
90     #ifdef __cplusplus
91     }
92     #endif

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