https://git.reactos.org/?p=reactos.git;a=commitdiff;h=e8ec23fcd224024070d5e…
commit e8ec23fcd224024070d5e9a13621538aa6b7742a
Author: Stanislav Motylkov <x86corez(a)gmail.com>
AuthorDate: Mon Jan 22 14:41:51 2018 +0300
Commit: Giannis Adamopoulos <gadamopoulos(a)reactos.org>
CommitDate: Mon Jan 22 21:45:03 2018 +0200
[DESK.CPL] Fix hardcoded colors in classic theme preview
CORE-14238 #resolve
---
dll/cpl/desk/draw.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dll/cpl/desk/draw.c b/dll/cpl/desk/draw.c
index f055832148..891b91d7dc 100644
--- a/dll/cpl/desk/draw.c
+++ b/dll/cpl/desk/draw.c
@@ -611,10 +611,10 @@ MyDrawMenuBarTemp(HWND Wnd, HDC DC, LPRECT Rect, HMENU Menu, HFONT
Font, COLOR_S
if (i == 1)
{
++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);
--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);
}