From: <ped...@us...> - 2006-11-12 22:21:19
|
Revision: 803 http://svn.sourceforge.net/cegcc/?rev=803&view=rev Author: pedroalves Date: 2006-11-12 14:21:06 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:04:27 UTC (rev 802) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:21:06 UTC (rev 803) @@ -1,5 +1,9 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. + +2006-11-12 Pedro Alves <ped...@po...> + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): Implement in terms of GetTextExtentExPointW. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:04:27 UTC (rev 802) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:21:06 UTC (rev 803) @@ -3505,7 +3505,11 @@ WINUSERAPI BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT); WINUSERAPI BOOL WINAPI DrawFocusRect(HDC,LPCRECT); WINUSERAPI BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT); +#ifndef _WIN32_WCE WINUSERAPI BOOL WINAPI DrawIcon(HDC,int,int,HICON); +#else +#define DrawIcon(hdc,x,y,hicon) DrawIconEx(hdc,x,y,hicon,0,0,0,NULL,DI_NORMAL) +#endif WINUSERAPI BOOL WINAPI DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT); WINUSERAPI BOOL WINAPI DrawMenuBar(HWND); WINUSERAPI BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |