mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 15:02:59 +00:00
[DESK.CPL] Fix hardcoded colors in classic theme preview
CORE-14238 #resolve
This commit is contained in:
parent
46c40d4cb5
commit
e8ec23fcd2
1 changed files with 2 additions and 2 deletions
|
@ -611,10 +611,10 @@ MyDrawMenuBarTemp(HWND Wnd, HDC DC, LPRECT Rect, HMENU Menu, HFONT Font, COLOR_S
|
||||||
if (i == 1)
|
if (i == 1)
|
||||||
{
|
{
|
||||||
++rect.left; ++rect.top; ++rect.right; ++rect.bottom;
|
++rect.left; ++rect.top; ++rect.right; ++rect.bottom;
|
||||||
SetTextColor(DC, RGB(0xff, 0xff, 0xff));
|
SetTextColor(DC, scheme->crColor[COLOR_BTNHIGHLIGHT]);
|
||||||
DrawTextW(DC, Text, -1, &rect, uFormat);
|
DrawTextW(DC, Text, -1, &rect, uFormat);
|
||||||
--rect.left; --rect.top; --rect.right; --rect.bottom;
|
--rect.left; --rect.top; --rect.right; --rect.bottom;
|
||||||
SetTextColor(DC, RGB(0x80, 0x80, 0x80));
|
SetTextColor(DC, scheme->crColor[COLOR_BTNSHADOW]);
|
||||||
}
|
}
|
||||||
DrawTextW(DC, Text, -1, &rect, uFormat);
|
DrawTextW(DC, Text, -1, &rect, uFormat);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue