Module: wine
Branch: refs/heads/master
Commit: 444a5471359df32a86a7b97e1c7070228ad62606
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=444a5471359df32a86a7b97…
Author: Rein Klazes <wijn(a)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=444a5471359df32a86a…
Module: wine
Branch: refs/heads/master
Commit: 672a1e4e4e2fd9f76f0de078d9b51319d4b7a883
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=672a1e4e4e2fd9f76f0de07…
Author: Rein Klazes <wijn(a)wanadoo.nl>
Date: Mon Feb 20 11:54:28 2006 +0100
user: Move drawing of pop menu arrows to a subroutine reduces nesting
level of some large if statements in the drawing code. Some updates to
the comments.
---
dlls/user/menu.c | 326 +++++++++++++++++++++++++++++-------------------------
1 files changed, 173 insertions(+), 153 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=672a1e4e4e2fd9f76f0…