Open-Source-Software-Entwicklung und Downloads

Browse Subversion Repository

Contents of /trunk/teraterm/teraterm/vtdisp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3227 - (show annotations) (download) (as text)
Tue Mar 24 15:10:33 2009 UTC (15 years, 1 month ago) by maya
File MIME type: text/x-chdr
File size: 2938 byte(s)
CVS から SVN へ移行: 改行コードを LF から CR+LF へ変換
1 /* Tera Term
2 Copyright(C) 1994-1998 T. Teranishi
3 All rights reserved. */
4
5 /* TERATERM.EXE, VT terminal display routines */
6 #ifdef __cplusplus
7 extern "C" {
8 #endif
9
10 /* prototypes */
11 //<!--by AKASI
12 void BGInitialize(void);
13 void BGSetupPrimary(BOOL);
14
15 void BGOnSettingChange(void);
16 void BGOnEnterSizeMove(void);
17 void BGOnExitSizeMove(void);
18
19 extern BOOL BGEnable;
20 extern BOOL BGNoFrame;
21 extern BOOL BGNoCopyBits;
22 //-->
23
24 void InitDisp();
25 void EndDisp();
26 void DispReset();
27 void DispConvWinToScreen
28 (int Xw, int Yw, int *Xs, int *Ys, PBOOL Right);
29 void DispConvScreenToWin
30 (int Xs, int Ys, int *Xw, int *Yw);
31 void SetLogFont();
32 void ChangeFont();
33 void ResetIME();
34 void ChangeCaret();
35 void CaretKillFocus(BOOL show);
36 void UpdateCaretKillFocus(BOOL enforce);
37 void CaretOn();
38 void CaretOff();
39 void DispDestroyCaret();
40 BOOL IsCaretOn();
41 void DispEnableCaret(BOOL On);
42 BOOL IsCaretEnabled();
43 void DispSetCaretWidth(BOOL DW);
44 void DispChangeWinSize(int Nx, int Ny);
45 void ResizeWindow(int x, int y, int w, int h, int cw, int ch);
46 void PaintWindow(HDC PaintDC, RECT PaintRect, BOOL fBkGnd,
47 int* Xs, int* Ys, int* Xe, int* Ye);
48 void DispEndPaint();
49 void DispClearWin();
50 void DispChangeBackground();
51 void DispChangeWin();
52 void DispInitDC();
53 void DispReleaseDC();
54 void DispSetupDC(TCharAttr Attr, BOOL Reverse);
55 void DispStr(PCHAR Buff, int Count, int Y, int* X);
56 void DispEraseCurToEnd(int YEnd);
57 void DispEraseHomeToCur(int YHome);
58 void DispEraseCharsInLine(int XStart, int Count);
59 BOOL DispDeleteLines(int Count, int YEnd);
60 BOOL DispInsertLines(int Count, int YEnd);
61 BOOL IsLineVisible(int* X, int* Y);
62 void AdjustScrollBar();
63 void DispScrollToCursor(int CurX, int CurY);
64 void DispScrollNLines(int Top, int Bottom, int Direction);
65 void DispCountScroll();
66 void DispUpdateScroll();
67 void DispScrollHomePos();
68 void DispAutoScroll(POINT p);
69 void DispHScroll(int Func, int Pos);
70 void DispVScroll(int Func, int Pos);
71 void DispSetupFontDlg();
72 void DispRestoreWinSize();
73 void DispSetWinPos();
74 void DispSetActive(BOOL ActiveFlag);
75 void InitColorTable();
76 void DispApplyANSIColor();
77 void DispSetNearestColors(int start, int end, HDC DispCtx);
78 int TCharAttrCmp(TCharAttr a, TCharAttr b);
79 void DispSetANSIColor(int num, COLORREF color);
80 COLORREF DispGetANSIColor(int num);
81 void DispSetCurCharAttr(TCharAttr Attr);
82
83 extern int WinWidth, WinHeight;
84 extern HFONT VTFont[AttrFontMask+1];
85 extern int FontHeight, FontWidth, ScreenWidth, ScreenHeight;
86 extern BOOL AdjustSize, DontChangeSize;
87 extern int CursorX, CursorY;
88 extern int WinOrgX, WinOrgY, NewOrgX, NewOrgY;
89 extern int NumOfLines, NumOfColumns;
90 extern int PageStart, BuffEnd;
91 extern TCharAttr DefCharAttr;
92
93 #define SCROLL_BOTTOM 1
94 #define SCROLL_LINEDOWN 2
95 #define SCROLL_LINEUP 3
96 #define SCROLL_PAGEDOWN 4
97 #define SCROLL_PAGEUP 5
98 #define SCROLL_POS 6
99 #define SCROLL_TOP 7
100
101 #ifdef __cplusplus
102 }
103 #endif

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