[ttssh2-commit] [10294] tttypes.h 内の vtdisp.c 用定数を vtdisp.h へ移動

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2022年 10月 2日 (日) 01:37:13 JST


Revision: 10294
          https://osdn.net/projects/ttssh2/scm/svn/commits/10294
Author:   zmatsuo
Date:     2022-10-02 01:37:13 +0900 (Sun, 02 Oct 2022)
Log Message:
-----------
tttypes.h 内の vtdisp.c 用定数を vtdisp.h へ移動

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

Modified Paths:
--------------
    trunk/teraterm/common/tttypes.h
    trunk/teraterm/teraterm/vtdisp.h

-------------- next part --------------
Modified: trunk/teraterm/common/tttypes.h
===================================================================
--- trunk/teraterm/common/tttypes.h	2022-10-01 16:37:03 UTC (rev 10293)
+++ trunk/teraterm/common/tttypes.h	2022-10-01 16:37:13 UTC (rev 10294)
@@ -76,27 +76,6 @@
 #define IdCyan    6
 #define IdFore    7
 
-  /* for DispSetColor / DispGetColor */
-// ANSIColor -- 0-255
-#define CS_VT_NORMALFG     256
-#define CS_VT_NORMALBG     257
-#define CS_VT_BOLDFG       258
-#define CS_VT_BOLDBG       259
-#define CS_VT_BLINKFG      260
-#define CS_VT_BLINKBG      261
-#define CS_VT_REVERSEFG    262
-#define CS_VT_REVERSEBG    263
-#define CS_VT_URLFG        264
-#define CS_VT_URLBG        265
-#define CS_VT_UNDERFG      266
-#define CS_VT_UNDERBG      267
-#define CS_TEK_FG          268
-#define CS_TEK_BG          269
-#define CS_ANSICOLOR_ALL   270
-#define CS_SP_ALL          271
-#define CS_UNSPEC          0xffffffff
-#define CS_ALL             CS_UNSPEC
-
 #define HostNameMaxLength 1024
 //#define HostNameMaxLength 80
 #define ProtocolFamilyMaxLength 80

Modified: trunk/teraterm/teraterm/vtdisp.h
===================================================================
--- trunk/teraterm/teraterm/vtdisp.h	2022-10-01 16:37:03 UTC (rev 10293)
+++ trunk/teraterm/teraterm/vtdisp.h	2022-10-01 16:37:13 UTC (rev 10294)
@@ -37,6 +37,28 @@
 extern "C" {
 #endif
 
+/* Constants */
+  /* for DispSetColor() / DispGetColor() */
+// ANSIColor -- 0-255
+#define CS_VT_NORMALFG     256
+#define CS_VT_NORMALBG     257
+#define CS_VT_BOLDFG       258
+#define CS_VT_BOLDBG       259
+#define CS_VT_BLINKFG      260
+#define CS_VT_BLINKBG      261
+#define CS_VT_REVERSEFG    262
+#define CS_VT_REVERSEBG    263
+#define CS_VT_URLFG        264
+#define CS_VT_URLBG        265
+#define CS_VT_UNDERFG      266
+#define CS_VT_UNDERBG      267
+#define CS_TEK_FG          268
+#define CS_TEK_BG          269
+#define CS_ANSICOLOR_ALL   270
+#define CS_SP_ALL          271
+#define CS_UNSPEC          0xffffffff
+#define CS_ALL             CS_UNSPEC
+
 /* prototypes */
 void BGInitialize(BOOL initialize_once);
 void BGLoadThemeFile(TTTSet *pts);


ttssh2-commit メーリングリストの案内
Back to archive index