From e8be7cd03fc3983bf3e6157ddd55567b839217e1 Mon Sep 17 00:00:00 2001 From: Jesse Allen Date: Tue, 20 Nov 2007 12:57:48 -0700 Subject: [PATCH] dibdrv: Implement GetPixel --- dlls/winedib.drv/graphics.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/dlls/winedib.drv/graphics.c b/dlls/winedib.drv/graphics.c index 79172859d54..efb39a297bb 100644 --- a/dlls/winedib.drv/graphics.c +++ b/dlls/winedib.drv/graphics.c @@ -86,8 +86,11 @@ BOOL DIBDRV_GetDCOrgEx( DIBDRVPHYSDEV *physDev, LPPOINT lpp ) */ COLORREF DIBDRV_GetPixel( DIBDRVPHYSDEV *physDev, INT x, INT y ) { - FIXME("stub\n"); - return RGB( 1, 0, 0 ); + BYTE r, g, b; + TRACE("%p %d %d\n", physDev, x , y); + physDev->funcs->MoveXY( physDev->bmp, x, y ); + physDev->funcs->ReadColor( physDev->bmp, &r, &g, &b ); + return RGB( r, g, b ); } /*********************************************************************** -- 2.11.4.GIT