Browse Subversion Repository
Diff of /trunk/teraterm/teraterm/addsetting.cpp
Parent Directory
| Revision Log
| Patch
| 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" |
| 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 |
} |
} |
| 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 |
} |
} |
| 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 |
} |
} |
| 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 |
|
|
| |