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 6806 - (hide annotations) (download) (as text)
Thu Jun 15 00:37:01 2017 UTC (6 years, 9 months ago) by doda
Original Path: trunk/teraterm/teraterm/vtdisp.h
File MIME type: text/x-chdr
File size: 4996 byte(s)
TeraTerm Project としてのライセンス表記を追加

とりあえず Tera Term 本体分。
TeraTerm Project としての copyright 表記の年部分はコミットログを確認して書いたつもりだけど、ミスってたらすみません。

TODO: 過去に取り込んだパッチに関する著作権表記の追加
1 doda 6806 /*
2     * Copyright (C) 1994-1998 T. Teranishi
3     * (C) 2008-2017 TeraTerm Project
4     * All rights reserved.
5     *
6     * Redistribution and use in source and binary forms, with or without modification,
7     * are permitted provided that the following conditions are met:
8     *
9     * 1. Redistributions of source code must retain the above copyright notice,
10     * this list of conditions and the following disclaimer.
11     * 2. Redistributions in binary form must reproduce the above copyright notice,
12     * this list of conditions and the following disclaimer in the documentation
13     * and/or other materials provided with the distribution.
14     * 3. The name of the author may not be used to endorse or promote products derived
15     * from this software without specific prior written permission.
16     *
17     * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
18     * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19     * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
20     * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
21     * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
22     * OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
23     * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
24     * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
25     * OF SUCH DAMAGE.
26     */
27 maya 3227
28     /* TERATERM.EXE, VT terminal display routines */
29     #ifdef __cplusplus
30     extern "C" {
31     #endif
32    
33     /* prototypes */
34     //<!--by AKASI
35     void BGInitialize(void);
36     void BGSetupPrimary(BOOL);
37    
38 doda 3715 void BGExchangeColor(void);
39    
40 maya 3227 void BGOnSettingChange(void);
41     void BGOnEnterSizeMove(void);
42     void BGOnExitSizeMove(void);
43    
44     extern BOOL BGEnable;
45     extern BOOL BGNoFrame;
46     extern BOOL BGNoCopyBits;
47     //-->
48    
49     void InitDisp();
50     void EndDisp();
51     void DispReset();
52     void DispConvWinToScreen
53     (int Xw, int Yw, int *Xs, int *Ys, PBOOL Right);
54     void DispConvScreenToWin
55     (int Xs, int Ys, int *Xw, int *Yw);
56     void SetLogFont();
57     void ChangeFont();
58     void ResetIME();
59     void ChangeCaret();
60     void CaretKillFocus(BOOL show);
61 doda 3322 void UpdateCaretPosition(BOOL enforce);
62 maya 3227 void CaretOn();
63     void CaretOff();
64     void DispDestroyCaret();
65     BOOL IsCaretOn();
66     void DispEnableCaret(BOOL On);
67     BOOL IsCaretEnabled();
68     void DispSetCaretWidth(BOOL DW);
69     void DispChangeWinSize(int Nx, int Ny);
70     void ResizeWindow(int x, int y, int w, int h, int cw, int ch);
71     void PaintWindow(HDC PaintDC, RECT PaintRect, BOOL fBkGnd,
72     int* Xs, int* Ys, int* Xe, int* Ye);
73     void DispEndPaint();
74     void DispClearWin();
75     void DispChangeBackground();
76     void DispChangeWin();
77     void DispInitDC();
78     void DispReleaseDC();
79     void DispSetupDC(TCharAttr Attr, BOOL Reverse);
80     void DispStr(PCHAR Buff, int Count, int Y, int* X);
81     void DispEraseCurToEnd(int YEnd);
82     void DispEraseHomeToCur(int YHome);
83     void DispEraseCharsInLine(int XStart, int Count);
84     BOOL DispDeleteLines(int Count, int YEnd);
85     BOOL DispInsertLines(int Count, int YEnd);
86     BOOL IsLineVisible(int* X, int* Y);
87     void AdjustScrollBar();
88     void DispScrollToCursor(int CurX, int CurY);
89     void DispScrollNLines(int Top, int Bottom, int Direction);
90     void DispCountScroll();
91     void DispUpdateScroll();
92     void DispScrollHomePos();
93     void DispAutoScroll(POINT p);
94     void DispHScroll(int Func, int Pos);
95     void DispVScroll(int Func, int Pos);
96     void DispSetupFontDlg();
97     void DispRestoreWinSize();
98     void DispSetWinPos();
99     void DispSetActive(BOOL ActiveFlag);
100     void InitColorTable();
101     void DispApplyANSIColor();
102     void DispSetNearestColors(int start, int end, HDC DispCtx);
103     int TCharAttrCmp(TCharAttr a, TCharAttr b);
104 doda 4770 void DispSetColor(unsigned int num, COLORREF color);
105     void DispResetColor(unsigned int num);
106     COLORREF DispGetColor(unsigned int num);
107 maya 3227 void DispSetCurCharAttr(TCharAttr Attr);
108 doda 3297 void DispMoveWindow(int x, int y);
109 doda 3302 void DispShowWindow(int mode);
110 doda 3464 void DispResizeWin(int w, int h);
111 doda 3466 BOOL DispWindowIconified();
112 doda 3469 void DispGetWindowPos(int *x, int *y);
113 doda 4250 void DispGetWindowSize(int *width, int *height);
114 doda 3475 void DispGetRootWinSize(int *x, int *y);
115 doda 5073 int DispFindClosestColor(int red, int green, int blue);
116 doda 6306 void UpdateBGBrush(void);
117 maya 3227
118     extern int WinWidth, WinHeight;
119     extern HFONT VTFont[AttrFontMask+1];
120     extern int FontHeight, FontWidth, ScreenWidth, ScreenHeight;
121     extern BOOL AdjustSize, DontChangeSize;
122     extern int CursorX, CursorY;
123     extern int WinOrgX, WinOrgY, NewOrgX, NewOrgY;
124     extern int NumOfLines, NumOfColumns;
125     extern int PageStart, BuffEnd;
126     extern TCharAttr DefCharAttr;
127    
128     #define SCROLL_BOTTOM 1
129     #define SCROLL_LINEDOWN 2
130     #define SCROLL_LINEUP 3
131     #define SCROLL_PAGEDOWN 4
132     #define SCROLL_PAGEUP 5
133     #define SCROLL_POS 6
134     #define SCROLL_TOP 7
135    
136 doda 3309 #define WINDOW_MINIMIZE 1
137     #define WINDOW_MAXIMIZE 2
138     #define WINDOW_RESTORE 3
139     #define WINDOW_RAISE 4
140     #define WINDOW_LOWER 5
141 doda 3310 #define WINDOW_REFRESH 6
142 doda 3309
143 maya 3227 #ifdef __cplusplus
144     }
145     #endif

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