Rein Klazes : user: Menu drawing fixes.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 20 05:41:05 CST 2006


Module: wine
Branch: refs/heads/master
Commit: 444a5471359df32a86a7b97e1c7070228ad62606
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=444a5471359df32a86a7b97e1c7070228ad62606

Author: Rein Klazes <wijn at wanadoo.nl>
Date:   Mon Feb 20 11:56:21 2006 +0100

user: Menu drawing fixes.
- Move sending WM_MEASUREITEM message for HBMMENU_CALLBACK bitmaps to
MENU_GetBitmapItemSize();
- Save the received bitmap size in the menu item structure as it will
need to be sent in the WM_DRAWITEM message;
-  Move sending WM_DRAWITEM message for HBMMENU_CALLBACK bitmaps to
MENU_DrawBitmapItem();
- This also means that HBMMENU_CALLBACK bitmaps are now supported in
menu bars.

---

 dlls/user/menu.c |  161 ++++++++++++++++++++++++++++++++----------------------
 1 files changed, 95 insertions(+), 66 deletions(-)

Diff:   http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=444a5471359df32a86a7b97e1c7070228ad62606



More information about the wine-cvs mailing list