mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
integrated new startmenu side bar logo (posted by Paulo Correasilva)
svn path=/trunk/; revision=8017
This commit is contained in:
parent
2b54029e8b
commit
57a8fb919e
3 changed files with 4 additions and 4 deletions
Binary file not shown.
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.3 KiB |
Binary file not shown.
Before Width: | Height: | Size: 6.1 KiB After Width: | Height: | Size: 6.3 KiB |
|
@ -1272,7 +1272,7 @@ StartMenuRoot::StartMenuRoot(HWND hwnd)
|
|||
_logo_size.cx = bmp_hdr.bmWidth;
|
||||
_logo_size.cy = bmp_hdr.bmHeight;
|
||||
|
||||
_border_left = _logo_size.cx;
|
||||
_border_left = _logo_size.cx + 1;
|
||||
}
|
||||
|
||||
|
||||
|
@ -1483,11 +1483,11 @@ void StartMenuRoot::Paint(PaintCanvas& canvas)
|
|||
int h = min(_logo_size.cy, clnt.bottom);
|
||||
|
||||
RECT rect = {0, 0, _logo_size.cx-1, clnt.bottom-h};
|
||||
HBRUSH hbr = CreateSolidBrush(logo256? RGB(166,202,240): RGB(255,255,255)); // same color as the background color in the logo bitmap
|
||||
HBRUSH hbr = CreateSolidBrush(logo256? RGB(166,202,240): RGB(71,103,121)); //RGB(255,255,255)); // same color as the background color in the logo bitmap
|
||||
FillRect(canvas, &rect, hbr);
|
||||
DeleteObject(hbr);
|
||||
//PatBlt(canvas, _logo_size.cx-1, 0, 1, clnt.bottom-h, WHITENESS);
|
||||
PatBlt(canvas, _logo_size.cx-1, 0, 1, clnt.bottom-h, WHITENESS);
|
||||
|
||||
PatBlt(canvas, _logo_size.cx, 0, 1, clnt.bottom, WHITENESS);
|
||||
|
||||
BitBlt(canvas, 0, clnt.bottom-h, _logo_size.cx, h, mem_dc, 0, 0, SRCCOPY);
|
||||
|
||||
|
|
Loading…
Reference in a new issue