Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/teraterm/teraterm/addsetting.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 10333 by zmatsuo, Sat Oct 1 16:37:03 2022 UTC revision 10334 by zmatsuo, Sun Oct 23 15:16:36 2022 UTC
# Line 814  void CVisualPropPageDlg::OnInitDialog() Line 814  void CVisualPropPageDlg::OnInitDialog()
814                  }                  }
815          }          }
816    
817            SetCheck(IDC_THEME_ENABLE, ThemeGetEnable() ? BST_CHECKED : BST_UNCHECKED);
818    
819          // ダイアログにフォーカスを当てる          // ダイアログにフォーカスを当てる
820          ::SetFocus(GetDlgItem(IDC_ALPHA_BLEND_ACTIVE));          ::SetFocus(GetDlgItem(IDC_ALPHA_BLEND_ACTIVE));
821    
# Line 1073  BOOL CVisualPropPageDlg::CheckThemeColor Line 1075  BOOL CVisualPropPageDlg::CheckThemeColor
1075  void CVisualPropPageDlg::OnOK()  void CVisualPropPageDlg::OnOK()
1076  {  {
1077          int sel;          int sel;
         int flag_changed = 0;  
1078          int i;          int i;
1079    
1080          // (1)          // (1)
# Line 1229  void CVisualPropPageDlg::OnOK() Line 1230  void CVisualPropPageDlg::OnOK()
1230                  }                  }
1231          }          }
1232    
1233          if (flag_changed) {          if ((GetCheck(IDC_THEME_ENABLE) == BST_CHECKED) && ThemeGetEnable() == FALSE) {
1234                  // re-launch                  // テーマをenableにする
1235                  // RestartTeraTerm(GetSafeHwnd(), &ts);                  ThemeSetEnable(TRUE);
1236            }
1237            else if ((GetCheck(IDC_THEME_ENABLE) == BST_UNCHECKED) && ThemeGetEnable() == TRUE) {
1238                    // テーマをdisableにする
1239                    ThemeSetEnable(FALSE);
1240          }          }
1241  }  }
1242    

Legend:
Removed from v.10333  
changed lines
  Added in v.10334

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