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 8950 by zmatsuo, Wed Aug 19 15:07:09 2020 UTC revision 8951 by zmatsuo, Fri Oct 2 15:46:55 2020 UTC
# Line 44  Line 44 
44  #include "tttypes.h"  #include "tttypes.h"
45  #include "ttwinman.h"   // for ts  #include "ttwinman.h"   // for ts
46  #include "ttcommon.h"  #include "ttcommon.h"
 #include "ttftypes.h"  
47  #include "dlglib.h"  #include "dlglib.h"
48  #include "compat_win.h"  #include "compat_win.h"
49  #include "helpid.h"  #include "helpid.h"
# Line 322  BOOL CSequencePropPageDlg::OnCommand(WPA Line 321  BOOL CSequencePropPageDlg::OnCommand(WPA
321  {  {
322          switch (wParam) {          switch (wParam) {
323                  case IDC_ACCEPT_MOUSE_EVENT_TRACKING | (BN_CLICKED << 16):                  case IDC_ACCEPT_MOUSE_EVENT_TRACKING | (BN_CLICKED << 16):
324                          EnableDlgItem(IDC_DISABLE_MOUSE_TRACKING_CTRL,                          EnableDlgItem(IDC_DISABLE_MOUSE_TRACKING_CTRL,
325                                                    GetCheck(IDC_ACCEPT_MOUSE_EVENT_TRACKING) ? TRUE : FALSE);                                                    GetCheck(IDC_ACCEPT_MOUSE_EVENT_TRACKING) ? TRUE : FALSE);
326                          return TRUE;                          return TRUE;
327          }          }
# Line 1111  void CVisualPropPageDlg::OnOK() Line 1110  void CVisualPropPageDlg::OnOK()
1110          GetDlgItemTextA(IDC_ALPHA_BLEND_INACTIVE, buf, sizeof(buf));          GetDlgItemTextA(IDC_ALPHA_BLEND_INACTIVE, buf, sizeof(buf));
1111          if (isdigit(buf[0])) {          if (isdigit(buf[0])) {
1112                  int i = atoi(buf);                  int i = atoi(buf);
1113                  ts.AlphaBlendInactive =                  ts.AlphaBlendInactive =
1114                          (i < 0) ? 0 :                          (i < 0) ? 0 :
1115                          (i > 255) ? 255 : i;                          (i > 255) ? 255 : i;
1116          }          }
# Line 1132  void CVisualPropPageDlg::OnOK() Line 1131  void CVisualPropPageDlg::OnOK()
1131          GetDlgItemTextA(IDC_EDIT_BGIMG_BRIGHTNESS, buf, sizeof(buf));          GetDlgItemTextA(IDC_EDIT_BGIMG_BRIGHTNESS, buf, sizeof(buf));
1132          if (isdigit(buf[0])) {          if (isdigit(buf[0])) {
1133                  int i = atoi(buf);                  int i = atoi(buf);
1134                  ts.BGImgBrightness =                  ts.BGImgBrightness =
1135                          (i < 0) ? 0 :                          (i < 0) ? 0 :
1136                          (i > 255) ? 255 : i;                          (i > 255) ? 255 : i;
1137          }          }
# Line 1801  INT_PTR CAddSettingPropSheetDlg::DoModal Line 1800  INT_PTR CAddSettingPropSheetDlg::DoModal
1800          gTTCPS = this;          gTTCPS = this;
1801          return _PropertySheetW(&m_psh);          return _PropertySheetW(&m_psh);
1802  }  }
   

Legend:
Removed from v.8950  
changed lines
  Added in v.8951

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