mirror of
https://github.com/reactos/reactos.git
synced 2025-07-28 08:32:39 +00:00
Added reason for copyimage fixme, declared as unimplemented, and added variable to only display dbgprint once.
svn path=/trunk/; revision=9824
This commit is contained in:
parent
657b2275c7
commit
61d1eb4f34
1 changed files with 45 additions and 32 deletions
|
@ -16,7 +16,7 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||||
*/
|
*/
|
||||||
/* $Id: bitmap.c,v 1.29 2004/04/13 00:06:50 weiden Exp $
|
/* $Id: bitmap.c,v 1.30 2004/06/23 05:04:30 ion Exp $
|
||||||
*
|
*
|
||||||
* PROJECT: ReactOS user32.dll
|
* PROJECT: ReactOS user32.dll
|
||||||
* FILE: lib/user32/windows/input.c
|
* FILE: lib/user32/windows/input.c
|
||||||
|
@ -42,7 +42,6 @@ HICON ICON_CreateIconFromData(HDC hDC, PVOID ImageData, ICONIMAGE* IconImage, in
|
||||||
CURSORICONDIRENTRY *CURSORICON_FindBestIcon( CURSORICONDIR *dir, int width, int height, int colors);
|
CURSORICONDIRENTRY *CURSORICON_FindBestIcon( CURSORICONDIR *dir, int width, int height, int colors);
|
||||||
CURSORICONDIRENTRY *CURSORICON_FindBestCursor( CURSORICONDIR *dir, int width, int height, int colors);
|
CURSORICONDIRENTRY *CURSORICON_FindBestCursor( CURSORICONDIR *dir, int width, int height, int colors);
|
||||||
|
|
||||||
|
|
||||||
/* FUNCTIONS *****************************************************************/
|
/* FUNCTIONS *****************************************************************/
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -661,7 +660,7 @@ LoadBitmapW(HINSTANCE hInstance, LPCWSTR lpBitmapName)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* @implemented
|
* @unimplemented
|
||||||
*/
|
*/
|
||||||
HANDLE WINAPI
|
HANDLE WINAPI
|
||||||
CopyImage(HANDLE hnd, UINT type, INT desiredx, INT desiredy, UINT flags)
|
CopyImage(HANDLE hnd, UINT type, INT desiredx, INT desiredy, UINT flags)
|
||||||
|
@ -689,11 +688,25 @@ CopyImage(HANDLE hnd, UINT type, INT desiredx, INT desiredy, UINT flags)
|
||||||
return res;
|
return res;
|
||||||
}
|
}
|
||||||
case IMAGE_ICON:
|
case IMAGE_ICON:
|
||||||
|
{
|
||||||
|
static BOOL IconMsgDisplayed = FALSE;
|
||||||
|
/* FIXME: support loading the image as shared from an instance */
|
||||||
|
if (!IconMsgDisplayed) {
|
||||||
DbgPrint("FIXME: CopyImage doesn't support IMAGE_ICON correctly!\n");
|
DbgPrint("FIXME: CopyImage doesn't support IMAGE_ICON correctly!\n");
|
||||||
|
IconMsgDisplayed = TRUE;
|
||||||
|
}
|
||||||
return CopyIcon(hnd);
|
return CopyIcon(hnd);
|
||||||
|
}
|
||||||
case IMAGE_CURSOR:
|
case IMAGE_CURSOR:
|
||||||
|
{
|
||||||
|
static BOOL IconMsgDisplayed = FALSE;
|
||||||
|
/* FIXME: support loading the image as shared from an instance */
|
||||||
|
if (!IconMsgDisplayed) {
|
||||||
DbgPrint("FIXME: CopyImage doesn't support IMAGE_CURSOR correctly!\n");
|
DbgPrint("FIXME: CopyImage doesn't support IMAGE_CURSOR correctly!\n");
|
||||||
|
IconMsgDisplayed = TRUE;
|
||||||
|
}
|
||||||
return CopyCursor(hnd);
|
return CopyCursor(hnd);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue