• R/O
  • SSH
  • HTTPS

ttssh2: Commit


Commit MetaInfo

Revision10294 (tree)
Time2022-10-02 01:37:13
Authorzmatsuo

Log Message

tttypes.h 内の vtdisp.c 用定数を vtdisp.h へ移動

- DispSetColor() / DispGetColor() の引数用定数

Change Summary

Incremental Difference

--- trunk/teraterm/common/tttypes.h (revision 10293)
+++ trunk/teraterm/common/tttypes.h (revision 10294)
@@ -76,27 +76,6 @@
7676 #define IdCyan 6
7777 #define IdFore 7
7878
79- /* for DispSetColor / DispGetColor */
80-// ANSIColor -- 0-255
81-#define CS_VT_NORMALFG 256
82-#define CS_VT_NORMALBG 257
83-#define CS_VT_BOLDFG 258
84-#define CS_VT_BOLDBG 259
85-#define CS_VT_BLINKFG 260
86-#define CS_VT_BLINKBG 261
87-#define CS_VT_REVERSEFG 262
88-#define CS_VT_REVERSEBG 263
89-#define CS_VT_URLFG 264
90-#define CS_VT_URLBG 265
91-#define CS_VT_UNDERFG 266
92-#define CS_VT_UNDERBG 267
93-#define CS_TEK_FG 268
94-#define CS_TEK_BG 269
95-#define CS_ANSICOLOR_ALL 270
96-#define CS_SP_ALL 271
97-#define CS_UNSPEC 0xffffffff
98-#define CS_ALL CS_UNSPEC
99-
10079 #define HostNameMaxLength 1024
10180 //#define HostNameMaxLength 80
10281 #define ProtocolFamilyMaxLength 80
--- trunk/teraterm/teraterm/vtdisp.h (revision 10293)
+++ trunk/teraterm/teraterm/vtdisp.h (revision 10294)
@@ -37,6 +37,28 @@
3737 extern "C" {
3838 #endif
3939
40+/* Constants */
41+ /* for DispSetColor() / DispGetColor() */
42+// ANSIColor -- 0-255
43+#define CS_VT_NORMALFG 256
44+#define CS_VT_NORMALBG 257
45+#define CS_VT_BOLDFG 258
46+#define CS_VT_BOLDBG 259
47+#define CS_VT_BLINKFG 260
48+#define CS_VT_BLINKBG 261
49+#define CS_VT_REVERSEFG 262
50+#define CS_VT_REVERSEBG 263
51+#define CS_VT_URLFG 264
52+#define CS_VT_URLBG 265
53+#define CS_VT_UNDERFG 266
54+#define CS_VT_UNDERBG 267
55+#define CS_TEK_FG 268
56+#define CS_TEK_BG 269
57+#define CS_ANSICOLOR_ALL 270
58+#define CS_SP_ALL 271
59+#define CS_UNSPEC 0xffffffff
60+#define CS_ALL CS_UNSPEC
61+
4062 /* prototypes */
4163 void BGInitialize(BOOL initialize_once);
4264 void BGLoadThemeFile(TTTSet *pts);
Show on old repository browser