shell32: Use wine_dbgstr_rect() to trace RECTs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
69f6493a8c
commit
816df88a77
|
@ -633,7 +633,7 @@ LRESULT WINAPI FileMenu_DrawItem(
|
||||||
Shell_GetImageLists(0, &hImageList);
|
Shell_GetImageLists(0, &hImageList);
|
||||||
ImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL);
|
ImageList_Draw(hImageList, pMyItem->iIconIndex, lpdis->hDC, xi, yi, ILD_NORMAL);
|
||||||
|
|
||||||
TRACE("-- 0x%04x 0x%04x 0x%04x 0x%04x\n", TextRect.left, TextRect.top, TextRect.right, TextRect.bottom);
|
TRACE("-- %s\n", wine_dbgstr_rect(&TextRect));
|
||||||
|
|
||||||
SetTextColor(lpdis->hDC, clrPrevText);
|
SetTextColor(lpdis->hDC, clrPrevText);
|
||||||
SetBkColor(lpdis->hDC, clrPrevBkgnd);
|
SetBkColor(lpdis->hDC, clrPrevBkgnd);
|
||||||
|
@ -794,8 +794,8 @@ DWORD WINAPI FileMenu_GetItemExtent (HMENU hMenu, UINT uPos)
|
||||||
FIXME("%p 0x%08x\n", hMenu, uPos);
|
FIXME("%p 0x%08x\n", hMenu, uPos);
|
||||||
|
|
||||||
if (GetMenuItemRect(0, hMenu, uPos, &rect))
|
if (GetMenuItemRect(0, hMenu, uPos, &rect))
|
||||||
{ FIXME("0x%04x 0x%04x 0x%04x 0x%04x\n",
|
{
|
||||||
rect.right, rect.left, rect.top, rect.bottom);
|
FIXME("%s\n", wine_dbgstr_rect(&rect));
|
||||||
return ((rect.right-rect.left)<<16) + (rect.top-rect.bottom);
|
return ((rect.right-rect.left)<<16) + (rect.top-rect.bottom);
|
||||||
}
|
}
|
||||||
return 0x00100010; /*FIXME*/
|
return 0x00100010; /*FIXME*/
|
||||||
|
|
Loading…
Reference in New Issue