Skip to content

Commit

Permalink
don't load/save [UI Font] settings into/from LOOKS file
Browse files Browse the repository at this point in the history
  • Loading branch information
katahiromz committed Mar 31, 2024
1 parent ba3fee9 commit d14b6b2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 0 additions & 6 deletions GUI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1974,9 +1974,6 @@ BOOL XgImportLooks(HWND hwnd, LPCWSTR pszFileName)
GetPrivateProfileStringW(L"Looks", L"SmallFont", L"", szText, _countof(szText), pszFileName);
StringCchCopyW(xg_szSmallFont, _countof(xg_szSmallFont), szText);

GetPrivateProfileStringW(L"Looks", L"UIFont", L"", szText, _countof(szText), pszFileName);
StringCchCopyW(xg_szUIFont, _countof(xg_szUIFont), szText);

// スケルトンビューか?
if (XgIsUserJapanese())
GetPrivateProfileStringW(L"Looks", L"SkeletonView", L"0", szText, _countof(szText), pszFileName);
Expand Down Expand Up @@ -2052,9 +2049,6 @@ BOOL XgExportLooks(HWND hwnd, LPCWSTR pszFileName)
// 小さい文字のフォント。
WritePrivateProfileStringW(L"Looks", L"SmallFont", xg_szSmallFont, pszFileName);

// UIフォント。
WritePrivateProfileStringW(L"Looks", L"UIFont", xg_szUIFont, pszFileName);

// もし黒マス画像が指定されていれば
if (xg_strBlackCellImage.size() && xg_strBlackCellImage != XgLoadStringDx1(IDS_NONE))
{
Expand Down
2 changes: 2 additions & 0 deletions HISTORY.txt
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@
- Proper exclusive control (Part 2).
- Added "Jump" feature on double-clicking status bar.
- Added "Jump" feature on Right-clicking the clue label.
- The "UI font" settings are no longer read or written in the LOOKS file.

# 開発履歴 (Japanese)

Expand Down Expand Up @@ -884,3 +885,4 @@
- 排他制御をきちんとする(その2)。
- ステータスバーをダブルクリックしたときの「ジャンプ」機能を追加。
- ヒントのラベルを右クリックしたときの「ジャンプ」機能を追加。
- 「UIフォント」設定をLOOKSファイルで読み書きしないようにした。

0 comments on commit d14b6b2

Please sign in to comment.