[ttssh2-commit] [10292] 使用されないコード削除

Zurück zum Archiv-Index
scmno****@osdn***** scmno****@osdn*****
2022年 10月 1日 (土) 13:12:00 JST


Revision: 10292
          https://osdn.net/projects/ttssh2/scm/svn/commits/10292
Author:   zmatsuo
Date:     2022-10-01 13:11:59 +0900 (Sat, 01 Oct 2022)
Log Message:
-----------
使用されないコード削除

- IDC_EDIT_BGIMG_BRIGHTNESS
- r10223
  - Eterm look and feel を削除

Revision Links:
--------------
    https://osdn.net/projects/ttssh2/scm/svn/commits/10223

Modified Paths:
--------------
    trunk/teraterm/common/tt_res.h
    trunk/teraterm/teraterm/addsetting.cpp

-------------- next part --------------
Modified: trunk/teraterm/common/tt_res.h
===================================================================
--- trunk/teraterm/common/tt_res.h	2022-10-01 04:11:49 UTC (rev 10291)
+++ trunk/teraterm/common/tt_res.h	2022-10-01 04:11:59 UTC (rev 10292)
@@ -186,7 +186,6 @@
 #define IDC_OPT_HIDEDLG                 2539
 #define IDC_OPT_INCBUF                  2540
 #define IDC_OPT_TIMESTAMP_TYPE          2541
-#define IDC_EDIT_BGIMG_BRIGHTNESS       2552
 #define IDC_TRIMNLCHAR                  2564
 #define IDC_CLIPBOARD_NOTIFY            2566
 #define IDC_LIST_HIDDEN_FONTS           2567

Modified: trunk/teraterm/teraterm/addsetting.cpp
===================================================================
--- trunk/teraterm/teraterm/addsetting.cpp	2022-10-01 04:11:49 UTC (rev 10291)
+++ trunk/teraterm/teraterm/addsetting.cpp	2022-10-01 04:11:59 UTC (rev 10292)
@@ -920,22 +920,6 @@
 			return TRUE;
 		}
 
-		case IDC_EDIT_BGIMG_BRIGHTNESS | (EN_CHANGE << 16) :
-			{
-				int b;
-
-				b = GetDlgItemInt(IDC_EDIT_BGIMG_BRIGHTNESS);
-				if (b < 0) {
-					b = 0;
-					SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, b);
-				}
-				else if (b > 255) {
-					b = 255;
-					SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, b);
-				}
-			}
-			return TRUE;
-
 		case IDC_ANSI_COLOR | (LBN_SELCHANGE << 16):
 			sel = SendDlgItemMessage(IDC_ANSI_COLOR, LB_GETCURSEL, 0, 0);
 			if (sel != -1) {


ttssh2-commit メーリングリストの案内
Zurück zum Archiv-Index