Skip to content

Commit

Permalink
🎨 #47 パニγƒ₯γƒΌθ‘¨η€Ίη”¨ζ–‡ε­—γ‚’ε€‰ζ›΄γ—γΎγ—γŸ
Browse files Browse the repository at this point in the history
  • Loading branch information
hebiiro committed Feb 5, 2024
1 parent 8bc23af commit 9a39947
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Nest/Pane/Pane.h
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,8 @@ namespace fgo::nest
WCHAR text[MAX_PATH] = {};
::GetWindowTextW(*shuttle, text, std::size(text));

constexpr LPCWSTR menuIcon = L"\xFE19";

// γƒ†γƒΌγƒžγ‚’δ½Ώη”¨γ™γ‚‹γͺら
if (hive.useTheme)
{
Expand All @@ -989,7 +991,7 @@ namespace fgo::nest
rcText.left = rcMenu.right;

::DrawThemeText(hive.theme, dc, WP_CAPTION, stateId,
L"M", -1, DT_CENTER | DT_VCENTER | DT_SINGLELINE, 0, &rcMenu);
menuIcon, -1, DT_CENTER | DT_VCENTER | DT_SINGLELINE, 0, &rcMenu);
}

if (rcText.left < rcText.right)
Expand Down Expand Up @@ -1024,7 +1026,7 @@ namespace fgo::nest
{
rcText.left = rcMenu.right;

::DrawTextW(dc, L"M", -1, &rcMenu, DT_CENTER | DT_VCENTER | DT_SINGLELINE);
::DrawTextW(dc, menuIcon, -1, &rcMenu, DT_CENTER | DT_VCENTER | DT_SINGLELINE);
}

if (rcText.left < rcText.right)
Expand Down

0 comments on commit 9a39947

Please sign in to comment.