File tree Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Expand file tree Collapse file tree 1 file changed +4
-16
lines changed Original file line number Diff line number Diff line change @@ -8062,27 +8062,15 @@ HRESULT explorer_DrawThemeTextEx(
8062
8062
SystemParametersInfoW (SPI_GETNONCLIENTMETRICS , sizeof (NONCLIENTMETRICSW ), & ncm , 0 );
8063
8063
8064
8064
HFONT hFont = NULL ;
8065
- if (bIsActiveUnhovered )
8065
+ if (bIsActiveUnhovered || bIsActiveHovered )
8066
8066
{
8067
- hFont = CreateFontIndirectW (& (ncm .lfCaptionFont ));
8068
- }
8069
- else if (bIsInactiveUnhovered )
8070
- {
8071
- hFont = CreateFontIndirectW (& (ncm .lfMenuFont ));
8072
- }
8073
- else if (bIsActiveHovered )
8074
- {
8075
- hFont = CreateFontIndirectW (& (ncm .lfCaptionFont ));
8076
- }
8077
- else if (bIsInactiveHovered )
8078
- {
8079
- hFont = CreateFontIndirectW (& (ncm .lfMenuFont ));
8067
+ ncm .lfCaptionFont .lfWeight = FW_BOLD ;
8080
8068
}
8081
8069
else
8082
8070
{
8083
- hFont = CreateFontIndirectW (& (ncm .lfMenuFont ));
8084
- //wprintf(L"DrawThemeTextEx %d %d %s\n", iPartId, iStateId, pszText);
8071
+ ncm .lfCaptionFont .lfWeight = FW_NORMAL ;
8085
8072
}
8073
+ hFont = CreateFontIndirectW (& (ncm .lfCaptionFont ));
8086
8074
8087
8075
if (iPartId == 5 && iStateId == 0 ) // clock
8088
8076
{
You can’t perform that action at this time.
0 commit comments