mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
[NTUSER][USER32] Classic Theme: disabled "checked" checkboxes should be grey (#4874)
Classic Theme: disabled "checked" checkboxes should be grey CORE-18609 and not black, like they erroneously were. This patch does not seem to have any impact on how they are rendered for themed ros. Ftr: We experimented also with COLOR_GRAYTEXT instead of COLOR_BTNSHADOW but that did result in incorrect drawing of disabled "checked" checkboxes for the 'High Contrast' Color Schemes.
This commit is contained in:
parent
45e79c3f23
commit
1dd9d2ef37
2 changed files with 2 additions and 2 deletions
|
@ -743,7 +743,7 @@ BOOL FASTCALL UITOOLS95_DFC_ButtonCheckRadio(HDC dc, LPRECT r, UINT uFlags, BOOL
|
|||
{
|
||||
WCHAR Check = (Radio) ? 'i' : 'b';
|
||||
|
||||
IntGdiSetTextColor(dc, IntGetSysColor(COLOR_WINDOWTEXT));
|
||||
IntGdiSetTextColor(dc, IntGetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_WINDOWTEXT));
|
||||
GreTextOutW(dc, myr.left, myr.top, &Check, 1);
|
||||
}
|
||||
|
||||
|
|
|
@ -759,7 +759,7 @@ static BOOL UITOOLS95_DFC_ButtonCheckRadio(HDC dc, LPRECT r, UINT uFlags, BOOL R
|
|||
{
|
||||
TCHAR Check = (Radio) ? 'i' : 'b';
|
||||
|
||||
SetTextColor(dc, GetSysColor(COLOR_WINDOWTEXT));
|
||||
SetTextColor(dc, GetSysColor((uFlags & DFCS_INACTIVE) ? COLOR_BTNSHADOW : COLOR_WINDOWTEXT));
|
||||
TextOut(dc, X, Y, &Check, 1);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue