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 4250 - (hide annotations) (download) (as text)
Wed Dec 22 06:27:26 2010 UTC (13 years, 3 months ago) by doda
Original Path: trunk/teraterm/teraterm/vtdisp.h
File MIME type: text/x-chdr
File size: 3396 byte(s)
ウィンドウサイズ変更制御シーケンスに対して、実際のウィンドウサイズを返すようにした。

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     void DispSetANSIColor(int num, COLORREF color);
82     COLORREF DispGetANSIColor(int num);
83     void DispSetCurCharAttr(TCharAttr Attr);
84 doda 3297 void DispMoveWindow(int x, int y);
85 doda 3302 void DispShowWindow(int mode);
86 doda 3464 void DispResizeWin(int w, int h);
87 doda 3466 BOOL DispWindowIconified();
88 doda 3469 void DispGetWindowPos(int *x, int *y);
89 doda 4250 void DispGetWindowSize(int *width, int *height);
90 doda 3475 void DispGetRootWinSize(int *x, int *y);
91 maya 3227
92     extern int WinWidth, WinHeight;
93     extern HFONT VTFont[AttrFontMask+1];
94     extern int FontHeight, FontWidth, ScreenWidth, ScreenHeight;
95     extern BOOL AdjustSize, DontChangeSize;
96     extern int CursorX, CursorY;
97     extern int WinOrgX, WinOrgY, NewOrgX, NewOrgY;
98     extern int NumOfLines, NumOfColumns;
99     extern int PageStart, BuffEnd;
100     extern TCharAttr DefCharAttr;
101    
102     #define SCROLL_BOTTOM 1
103     #define SCROLL_LINEDOWN 2
104     #define SCROLL_LINEUP 3
105     #define SCROLL_PAGEDOWN 4
106     #define SCROLL_PAGEUP 5
107     #define SCROLL_POS 6
108     #define SCROLL_TOP 7
109    
110 doda 3309 #define WINDOW_MINIMIZE 1
111     #define WINDOW_MAXIMIZE 2
112     #define WINDOW_RESTORE 3
113     #define WINDOW_RAISE 4
114     #define WINDOW_LOWER 5
115 doda 3310 #define WINDOW_REFRESH 6
116 doda 3309
117 maya 3227 #ifdef __cplusplus
118     }
119     #endif

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