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 6175 - (hide annotations) (download) (as text)
Mon Nov 30 09:44:05 2015 UTC (8 years, 4 months ago) by doda
File MIME type: text/x-chdr
File size: 3342 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 doda 5095 void BuffChangeAttrBox(int XStart, int YStart, int XEnd, int YEnd, PCharAttr attr, PCharAttr mask);
35 maya 3227 void BuffCBCopy(BOOL Table);
36     void BuffPrint(BOOL ScrollRegion);
37     void BuffDumpCurrentLine(BYTE TERM);
38     void BuffPutChar(BYTE b, TCharAttr Attr, BOOL Insert);
39     void BuffPutKanji(WORD w, TCharAttr Attr, BOOL Insert);
40     void BuffUpdateRect(int XStart, int YStart, int XEnd, int YEnd);
41     void UpdateStr();
42     void UpdateStrUnicode(void);
43     void MoveCursor(int Xnew, int Ynew);
44     void MoveRight();
45     void BuffSetCaretWidth();
46     void BuffScrollNLines(int n);
47     void BuffClearScreen();
48     void BuffUpdateScroll();
49     void CursorUpWithScroll();
50     int BuffUrlDblClk(int Xw, int Yw);
51     void BuffDblClk(int Xw, int Yw);
52     void BuffTplClk(int Yw);
53     void BuffSeveralPagesSelect(int Xw, int Yw);
54     void BuffStartSelect(int Xw, int Yw, BOOL Box);
55     void BuffChangeSelect(int Xw, int Yw, int NClick);
56     void BuffEndSelect();
57     void BuffChangeWinSize(int Nx, int Ny);
58     void BuffChangeTerminalSize(int Nx, int Ny);
59     void ChangeWin();
60     void ClearBuffer();
61     void SetTabStop();
62     void CursorForwardTab(int count, BOOL AutoWrapMode);
63     void CursorBackwardTab(int count);
64     void ClearTabStop(int Ps);
65     void ShowStatusLine(int Show);
66     #ifndef NO_COPYLINE_FIX
67 doda 3312 void BuffLineContinued(BOOL mode);
68     #define SetLineContinued() BuffLineContinued(TRUE)
69     #define ClearLineContinued() BuffLineContinued(FALSE)
70 maya 3227 #endif /* NO_COPYLINE_FIX */
71     void BuffRegionScrollUpNLines(int n);
72     void BuffRegionScrollDownNLines(int n);
73     void BuffSetCurCharAttr(TCharAttr Attr);
74 doda 3743 void BuffSaveScreen();
75     void BuffRestoreScreen();
76 doda 3745 void BuffDiscardSavedScreen();
77 doda 4070 void BuffSelectedEraseCharsInLine(int XStart, int Count);
78     void BuffSelectedEraseCurToEnd();
79     void BuffSelectedEraseHomeToCur();
80     void BuffSelectedEraseScreen();
81 doda 5091 void BuffSelectiveEraseBox(int XStart, int YStart, int XEnd, int YEnd);
82 doda 4243 void BuffScrollLeft(int count);
83     void BuffScrollRight(int count);
84 yutakapon 4932 int BuffGetCurrentLineData(char *buf, int bufsize);
85 yutakapon 5392 int BuffGetAnyLineData(int offset_y, char *buf, int bufsize);
86 doda 5279 BOOL BuffCheckMouseOnURL(int Xw, int Yw);
87 maya 3227
88     extern int StatusLine;
89 doda 5324 extern int CursorTop, CursorBottom, CursorLeftM, CursorRightM;
90 maya 3227 extern BOOL Selected;
91     extern BOOL Wrap;
92    
93 doda 6175 #define isCursorOnStatusLine (StatusLine && CursorY == NumOfLines-1)
94 doda 5324
95 maya 3227 #ifdef __cplusplus
96     }
97     #endif

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