mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
revert back startmenu.cpp the change are not complite for mf new logo
svn path=/trunk/; revision=16581
This commit is contained in:
parent
03a11e092f
commit
9f9dfd53cf
|
@ -1795,14 +1795,14 @@ void StartMenuRoot::Paint(PaintCanvas& canvas)
|
|||
ClientRect clnt(_hwnd);
|
||||
int h = min(_logo_size.cy, clnt.bottom);
|
||||
|
||||
RECT rect = {0, clnt.bottom-h, _logo_size.cx, clnt.bottom};
|
||||
RECT rect = {0, 0, _logo_size.cx, clnt.bottom-h};
|
||||
HBRUSH hbr = CreateSolidBrush(GetPixel(mem_dc, 0, 0));
|
||||
FillRect(canvas, &rect, hbr);
|
||||
DeleteObject(hbr);
|
||||
|
||||
PatBlt(canvas, _logo_size.cx, 0, 1, clnt.bottom, WHITENESS);
|
||||
|
||||
BitBlt(canvas, 0, clnt.bottom, _logo_size.cx, h, mem_dc, 0, clnt.bottom-h, SRCCOPY);
|
||||
BitBlt(canvas, 0, clnt.bottom-h, _logo_size.cx, h, mem_dc, 0, 0, SRCCOPY);
|
||||
|
||||
super::Paint(canvas);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue