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 3715 - (hide annotations) (download) (as text)
Sat Dec 12 06:42:18 2009 UTC (14 years, 4 months ago) by doda
Original Path: trunk/teraterm/teraterm/vtdisp.h
File MIME type: text/x-chdr
File size: 3346 byte(s)
Eterm look-feelを有効にしている時、Reverse Video (DECSCNM)のset/resetが行われると、以降まともに描画が更新されなくなるのを修正した。(暫定)
http://lunatear.net/archives/001056.html

# Eterm look-feel有効時のDECSCNMはまだちゃんと動いていないので、修正が必要

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 3475 void DispGetRootWinSize(int *x, int *y);
90 maya 3227
91     extern int WinWidth, WinHeight;
92     extern HFONT VTFont[AttrFontMask+1];
93     extern int FontHeight, FontWidth, ScreenWidth, ScreenHeight;
94     extern BOOL AdjustSize, DontChangeSize;
95     extern int CursorX, CursorY;
96     extern int WinOrgX, WinOrgY, NewOrgX, NewOrgY;
97     extern int NumOfLines, NumOfColumns;
98     extern int PageStart, BuffEnd;
99     extern TCharAttr DefCharAttr;
100    
101     #define SCROLL_BOTTOM 1
102     #define SCROLL_LINEDOWN 2
103     #define SCROLL_LINEUP 3
104     #define SCROLL_PAGEDOWN 4
105     #define SCROLL_PAGEUP 5
106     #define SCROLL_POS 6
107     #define SCROLL_TOP 7
108    
109 doda 3309 #define WINDOW_MINIMIZE 1
110     #define WINDOW_MAXIMIZE 2
111     #define WINDOW_RESTORE 3
112     #define WINDOW_RAISE 4
113     #define WINDOW_LOWER 5
114 doda 3310 #define WINDOW_REFRESH 6
115 doda 3309
116 maya 3227 #ifdef __cplusplus
117     }
118     #endif

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