Implemented Unpluged DC code

svn path=/trunk/; revision=5188
This commit is contained in:
James Tabor 2003-07-20 16:47:05 +00:00
parent b6f5c8a9af
commit 9276a7b72a
5 changed files with 48 additions and 47 deletions

View file

@ -10,6 +10,8 @@
* lib/gdi32/misc/stubs.c Implemented Unpluged DC code. * lib/gdi32/misc/stubs.c Implemented Unpluged DC code.
* lib/gdi32/objects/dc.c ditto * lib/gdi32/objects/dc.c ditto
* lib/gdi32/objects/line.c ditto
* lib/gdi32/objects/text.c ditto
* lib/gdi32/objects/region.c ditto * lib/gdi32/objects/region.c ditto
* lib/user32/windows/draw.c Implemented FrameRect, InvertRect and * lib/user32/windows/draw.c Implemented FrameRect, InvertRect and
DrawFocusRect. DrawFocusRect.

View file

@ -1,4 +1,4 @@
/* $Id: stubs.c,v 1.26 2003/07/20 04:00:36 jimtabor Exp $ /* $Id: stubs.c,v 1.27 2003/07/20 16:44:55 jimtabor Exp $
* *
* reactos/lib/gdi32/misc/stubs.c * reactos/lib/gdi32/misc/stubs.c
* *
@ -790,22 +790,6 @@ LineDDA(
} }
/*
* @unimplemented
*/
int
STDCALL
OffsetClipRgn(
HDC a0,
int a1,
int a2
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
/* /*
* @unimplemented * @unimplemented
*/ */
@ -1016,21 +1000,6 @@ SetMetaRgn(
} }
/*
* @unimplemented
*/
COLORREF
STDCALL
SetBkColor(
HDC a0,
COLORREF a1
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
/* /*
* @unimplemented * @unimplemented
*/ */
@ -1157,21 +1126,6 @@ SetTextCharacterExtra(
} }
/*
* @unimplemented
*/
UINT
STDCALL
SetTextAlign(
HDC a0,
UINT a1
)
{
SetLastError(ERROR_CALL_NOT_IMPLEMENTED);
return 0;
}
/* /*
* @unimplemented * @unimplemented
*/ */

View file

@ -8,6 +8,20 @@
#include <win32k/kapi.h> #include <win32k/kapi.h>
/*
* @implemented
*/
COLORREF
STDCALL
SetBkColor(
HDC a0,
COLORREF a1
)
{
return W32kSetBkColor(a0, a1);
}
/* /*
* @implemented * @implemented
*/ */

View file

@ -7,6 +7,22 @@
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <win32k/kapi.h> #include <win32k/kapi.h>
/*
* @implemented
*/
int
STDCALL
OffsetClipRgn(
HDC a0,
int a1,
int a2
)
{
return W32kOffsetClipRgn(a0, a1, a2);
}
/* /*
* @implemented * @implemented
*/ */

View file

@ -8,6 +8,21 @@
#include <ddk/ntddk.h> #include <ddk/ntddk.h>
#include <win32k/kapi.h> #include <win32k/kapi.h>
/*
* @implemented
*/
UINT
STDCALL
SetTextAlign(
HDC a0,
UINT a1
)
{
return W32kSetTextAlign(a0, a1);
}
/* /*
* @implemented * @implemented
*/ */