Revision: 7447 http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7447 Author: doda Date: 2019-02-28 18:26:46 +0900 (Thu, 28 Feb 2019) Log Message: ----------- AlphaBlendActive のデフォルト値として AlphaBlend の値を使うようにした。 [Ttssh2-devel 3629] AlphaBlend が設定されていて、AlphaBlendActive の設定が無い従来の(古い) 設定ファイルを利用時に、ts.AlphaBlendActive と ts.AlphaBlendInactive が 同じ値となって以前のバージョンと同じ動作をするようになる。 Modified Paths: -------------- trunk/doc/en/html/setup/teraterm-ini.html trunk/doc/ja/html/setup/teraterm-ini.html trunk/teraterm/ttpset/ttset.c -------------- next part -------------- Modified: trunk/doc/en/html/setup/teraterm-ini.html =================================================================== --- trunk/doc/en/html/setup/teraterm-ini.html 2019-02-28 03:30:57 UTC (rev 7446) +++ trunk/doc/en/html/setup/teraterm-ini.html 2019-02-28 09:26:46 UTC (rev 7447) @@ -112,8 +112,8 @@ <tr> <td id="AlphaBlend"><a href="../menu/setup-additional.html#AlphaBlend">AlphaBlend</a></td> <td style="width:250px;">255</td> - <td style="width:250px;"><-</td> - <td></td> + <td style="width:250px;">*</td> + <td>* the value of <a href="#AlphaBlend">AlphaBlend</a> setting is used.</td> </tr> <tr> <td id="AlternateScreenBuffer"><a href="teraterm-term.html#AltScr">AlternateScreenBuffer</a></td> Modified: trunk/doc/ja/html/setup/teraterm-ini.html =================================================================== --- trunk/doc/ja/html/setup/teraterm-ini.html 2019-02-28 03:30:57 UTC (rev 7446) +++ trunk/doc/ja/html/setup/teraterm-ini.html 2019-02-28 09:26:46 UTC (rev 7447) @@ -112,8 +112,8 @@ <tr> <td id="AlphaBlendActive"><a href="../menu/setup-additional.html#AlphaBlendActive">AlphaBlendActive</a></td> <td style="width:250px;">255</td> - <td style="width:250px;"><-</td> - <td></td> + <td style="width:250px;">\x81\xA6</td> + <td>\x81\xA6<a href="#AlphaBlend">AlphaBlend</a>\x82̐ݒ\xE8\x92l\x82\xAA\x8Eg\x82\xED\x82\xEA\x82\xE9</td> </tr> <tr> <td id="AlphaBlend"><a href="../menu/setup-additional.html#AlphaBlend">AlphaBlend</a></td> Modified: trunk/teraterm/ttpset/ttset.c =================================================================== --- trunk/teraterm/ttpset/ttset.c 2019-02-28 03:30:57 UTC (rev 7446) +++ trunk/teraterm/ttpset/ttset.c 2019-02-28 09:26:46 UTC (rev 7447) @@ -1566,7 +1566,7 @@ ts->AlphaBlendInactive = max(0, ts->AlphaBlendInactive); ts->AlphaBlendInactive = min(255, ts->AlphaBlendInactive); ts->AlphaBlendActive = - GetPrivateProfileInt(Section, "AlphaBlendActive", 255, FName); + GetPrivateProfileInt(Section, "AlphaBlendActive", ts->AlphaBlendInactive, FName); ts->AlphaBlendActive = max(0, ts->AlphaBlendActive); ts->AlphaBlendActive = min(255, ts->AlphaBlendActive);