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 8147 by maya, Sat Sep 14 11:11:21 2019 UTC revision 8152 by maya, Sun Sep 15 00:10:50 2019 UTC
# Line 947  BOOL CVisualPropPageDlg::OnCommand(WPARA Line 947  BOOL CVisualPropPageDlg::OnCommand(WPARA
947                          }                          }
948                          return TRUE;                          return TRUE;
949    
950                    case IDC_EDIT_BGIMG_BRIGHTNESS | (EN_CHANGE << 16) :
951                            {
952                                    int b;
953    
954                                    b = GetDlgItemInt(IDC_EDIT_BGIMG_BRIGHTNESS);
955                                    if (b < 0) {
956                                            b = 0;
957                                    }
958                                    else if (b > 255) {
959                                            b = 255;
960                                    }
961                                    SetDlgItemNum(IDC_EDIT_BGIMG_BRIGHTNESS, b);
962                            }
963                            return TRUE;
964    
965                  case IDC_ANSI_COLOR | (LBN_SELCHANGE << 16):                  case IDC_ANSI_COLOR | (LBN_SELCHANGE << 16):
966                          sel = SendDlgItemMessage(IDC_ANSI_COLOR, LB_GETCURSEL, 0, 0);                          sel = SendDlgItemMessage(IDC_ANSI_COLOR, LB_GETCURSEL, 0, 0);
967                          if (sel != -1) {                          if (sel != -1) {

Legend:
Removed from v.8147  
changed lines
  Added in v.8152

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