Revision: 8142 https://osdn.net/projects/ttssh2/scm/svn/commits/8142 Author: yasuhide Date: 2019-09-14 03:40:40 +0900 (Sat, 14 Sep 2019) Log Message: ----------- Additional settingsで不透明度の値に256以上を入力したとき、255に変更するようにした Modified Paths: -------------- trunk/doc/en/html/about/history.html trunk/doc/ja/html/about/history.html trunk/teraterm/teraterm/addsetting.cpp -------------- next part -------------- Modified: trunk/doc/en/html/about/history.html =================================================================== --- trunk/doc/en/html/about/history.html 2019-09-13 14:39:01 UTC (rev 8141) +++ trunk/doc/en/html/about/history.html 2019-09-13 18:40:40 UTC (rev 8142) @@ -46,6 +46,7 @@ <li>The location of resizing toolchip is automatically moved to coordinates after resizing.</li> <li>Added slider for specify the opacity values on the Visual tab of the <a href="../menu/setup-additional.html">Additional settings dialog</a>.</li> <li>Eterm look-feel: Added the <a href="../menu/setup-additional.html#MixedThemeFile">Mixed ThemeFile to Background</a> configuration. Also, added the the <a href="../setup/teraterm-ini.html#BGIgnoreThemeFile">BGIgnoreThemeFile</a> entry in the teraterm.ini file. The default value is off.</li> + <li>When the inputted over than 256 of opacity values of the <a href="../menu/setup-additional.html">Additional settings dialog</a>, change to 255.</li> </ul> </li> <li>Bug fixes Modified: trunk/doc/ja/html/about/history.html =================================================================== --- trunk/doc/ja/html/about/history.html 2019-09-13 14:39:01 UTC (rev 8141) +++ trunk/doc/ja/html/about/history.html 2019-09-13 18:40:40 UTC (rev 8142) @@ -46,6 +46,7 @@ <li><a href="../menu/setup-additional.html">Additional settings\x83_\x83C\x83A\x83\x8D\x83O</a>\x82\xCCVisual\x83^\x83u\x82ŁA\x95s\x93\xA7\x96\xBE\x93x\x82\xF0\x83X\x83\x89\x83C\x83_\x81[\x82Ŏw\x92\xE8\x82ł\xAB\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81B</li> <li>\x83\x8A\x83T\x83C\x83Y\x92\x86\x82̏c\x89\xA1\x83T\x83C\x83Y\x83c\x81[\x83\x8B\x83`\x83b\x83v\x82̕\\x8E\xA6\x88ʒu\x82\xF0\x83\x8A\x83T\x83C\x83Y\x8C\xE3\x82̍\xC0\x95W\x82ɒǏ]\x82\xB7\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81B</li> <li>Eterm look-feel: <a href="../menu/setup-additional.html#MixedThemeFile">\x95ǎ\x86\x82Ɖ摜\x82\xF0\x8D\xAC\x8D\x87\x82\xB7\x82\xE9</a>\x82\xF0\x90ݒ\xE8\x82ł\xAB\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81Bteraterm.ini \x82\xC9 <a href="../setup/teraterm-ini.html#BGIgnoreThemeFile">BGIgnoreThemeFile</a> \x83G\x83\x93\x83g\x83\x8A\x82\xF0\x92lj\xC1\x82\xB5\x82\xBD\x81B\x83f\x83t\x83H\x83\x8B\x83g\x82\xCDoff\x81B</li> + <li><a href="../menu/setup-additional.html">Additional settings\x83_\x83C\x83A\x83\x8D\x83O</a>\x82\xCCVisual\x83^\x83u\x82ŕs\x93\xA7\x96\xBE\x93x\x82̒l\x82\xC9256\x88ȏ\xE3\x82\xF0\x93\xFC\x97͂\xB5\x82\xBD\x82Ƃ\xAB\x81A255\x82ɕύX\x82\xB7\x82\xE9\x82悤\x82ɂ\xB5\x82\xBD\x81B</li> </ul> </li> <li>\x83o\x83O\x8FC\x90\xB3 Modified: trunk/teraterm/teraterm/addsetting.cpp =================================================================== --- trunk/teraterm/teraterm/addsetting.cpp 2019-09-13 14:39:01 UTC (rev 8141) +++ trunk/teraterm/teraterm/addsetting.cpp 2019-09-13 18:40:40 UTC (rev 8142) @@ -996,6 +996,14 @@ { int pos; pos = GetDlgItemInt(IDC_ALPHA_BLEND_ACTIVE); + if(pos < 0) { + pos = 0; + SetDlgItemNum(IDC_ALPHA_BLEND_ACTIVE, pos); + } + else if(pos > 255) { + pos = 255; + SetDlgItemNum(IDC_ALPHA_BLEND_ACTIVE, pos); + } SendDlgItemMessage(IDC_ALPHA_BLEND_ACTIVE_TRACKBAR, TBM_SETPOS, TRUE, pos); TCHAR tipbuf[32]; @@ -1021,6 +1029,14 @@ { int pos; pos = GetDlgItemInt(IDC_ALPHA_BLEND_INACTIVE); + if(pos < 0) { + pos = 0; + SetDlgItemNum(IDC_ALPHA_BLEND_INACTIVE, pos); + } + else if(pos > 255) { + pos = 255; + SetDlgItemNum(IDC_ALPHA_BLEND_INACTIVE, pos); + } SendDlgItemMessage(IDC_ALPHA_BLEND_INACTIVE_TRACKBAR, TBM_SETPOS, TRUE, pos); TCHAR tipbuf[32], uimsg[MAX_UIMSG];