Develop and Download Open Source Software

Browse Subversion Repository

Annotation of /branches/ttcomtester/teraterm/teraterm/vtdisp.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6306 - (hide annotations) (download) (as text)
Fri Feb 19 01:49:13 2016 UTC (8 years, 1 month ago) by doda
Original Path: trunk/teraterm/teraterm/vtdisp.h
File MIME type: text/x-chdr
File size: 3530 byte(s)
OSC 4/11/104/111 で BCE 用の情報の更新が抜けていたのを修正。

1 maya 3227 /* 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 doda 3715 void BGExchangeColor(void);
16    
17 maya 3227 void BGOnSettingChange(void);
18     void BGOnEnterSizeMove(void);
19     void BGOnExitSizeMove(void);
20    
21     extern BOOL BGEnable;
22     extern BOOL BGNoFrame;
23     extern BOOL BGNoCopyBits;
24     //-->
25    
26     void InitDisp();
27     void EndDisp();
28     void DispReset();
29     void DispConvWinToScreen
30     (int Xw, int Yw, int *Xs, int *Ys, PBOOL Right);
31     void DispConvScreenToWin
32     (int Xs, int Ys, int *Xw, int *Yw);
33     void SetLogFont();
34     void ChangeFont();
35     void ResetIME();
36     void ChangeCaret();
37     void CaretKillFocus(BOOL show);
38 doda 3322 void UpdateCaretPosition(BOOL enforce);
39 maya 3227 void CaretOn();
40     void CaretOff();
41     void DispDestroyCaret();
42     BOOL IsCaretOn();
43     void DispEnableCaret(BOOL On);
44     BOOL IsCaretEnabled();
45     void DispSetCaretWidth(BOOL DW);
46     void DispChangeWinSize(int Nx, int Ny);
47     void ResizeWindow(int x, int y, int w, int h, int cw, int ch);
48     void PaintWindow(HDC PaintDC, RECT PaintRect, BOOL fBkGnd,
49     int* Xs, int* Ys, int* Xe, int* Ye);
50     void DispEndPaint();
51     void DispClearWin();
52     void DispChangeBackground();
53     void DispChangeWin();
54     void DispInitDC();
55     void DispReleaseDC();
56     void DispSetupDC(TCharAttr Attr, BOOL Reverse);
57     void DispStr(PCHAR Buff, int Count, int Y, int* X);
58     void DispEraseCurToEnd(int YEnd);
59     void DispEraseHomeToCur(int YHome);
60     void DispEraseCharsInLine(int XStart, int Count);
61     BOOL DispDeleteLines(int Count, int YEnd);
62     BOOL DispInsertLines(int Count, int YEnd);
63     BOOL IsLineVisible(int* X, int* Y);
64     void AdjustScrollBar();
65     void DispScrollToCursor(int CurX, int CurY);
66     void DispScrollNLines(int Top, int Bottom, int Direction);
67     void DispCountScroll();
68     void DispUpdateScroll();
69     void DispScrollHomePos();
70     void DispAutoScroll(POINT p);
71     void DispHScroll(int Func, int Pos);
72     void DispVScroll(int Func, int Pos);
73     void DispSetupFontDlg();
74     void DispRestoreWinSize();
75     void DispSetWinPos();
76     void DispSetActive(BOOL ActiveFlag);
77     void InitColorTable();
78     void DispApplyANSIColor();
79     void DispSetNearestColors(int start, int end, HDC DispCtx);
80     int TCharAttrCmp(TCharAttr a, TCharAttr b);
81 doda 4770 void DispSetColor(unsigned int num, COLORREF color);
82     void DispResetColor(unsigned int num);
83     COLORREF DispGetColor(unsigned int num);
84 maya 3227 void DispSetCurCharAttr(TCharAttr Attr);
85 doda 3297 void DispMoveWindow(int x, int y);
86 doda 3302 void DispShowWindow(int mode);
87 doda 3464 void DispResizeWin(int w, int h);
88 doda 3466 BOOL DispWindowIconified();
89 doda 3469 void DispGetWindowPos(int *x, int *y);
90 doda 4250 void DispGetWindowSize(int *width, int *height);
91 doda 3475 void DispGetRootWinSize(int *x, int *y);
92 doda 5073 int DispFindClosestColor(int red, int green, int blue);
93 doda 6306 void UpdateBGBrush(void);
94 maya 3227
95     extern int WinWidth, WinHeight;
96     extern HFONT VTFont[AttrFontMask+1];
97     extern int FontHeight, FontWidth, ScreenWidth, ScreenHeight;
98     extern BOOL AdjustSize, DontChangeSize;
99     extern int CursorX, CursorY;
100     extern int WinOrgX, WinOrgY, NewOrgX, NewOrgY;
101     extern int NumOfLines, NumOfColumns;
102     extern int PageStart, BuffEnd;
103     extern TCharAttr DefCharAttr;
104    
105     #define SCROLL_BOTTOM 1
106     #define SCROLL_LINEDOWN 2
107     #define SCROLL_LINEUP 3
108     #define SCROLL_PAGEDOWN 4
109     #define SCROLL_PAGEUP 5
110     #define SCROLL_POS 6
111     #define SCROLL_TOP 7
112    
113 doda 3309 #define WINDOW_MINIMIZE 1
114     #define WINDOW_MAXIMIZE 2
115     #define WINDOW_RESTORE 3
116     #define WINDOW_RAISE 4
117     #define WINDOW_LOWER 5
118 doda 3310 #define WINDOW_REFRESH 6
119 doda 3309
120 maya 3227 #ifdef __cplusplus
121     }
122     #endif

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