diff --git a/reactos/ChangeLog b/reactos/ChangeLog index 53e49a88bd8..74f7e7930f9 100644 --- a/reactos/ChangeLog +++ b/reactos/ChangeLog @@ -10,6 +10,8 @@ * lib/gdi32/misc/stubs.c Implemented Unpluged DC code. * 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/user32/windows/draw.c Implemented FrameRect, InvertRect and DrawFocusRect. diff --git a/reactos/lib/gdi32/misc/stubs.c b/reactos/lib/gdi32/misc/stubs.c index 3d20bbbebed..0371ab84c94 100644 --- a/reactos/lib/gdi32/misc/stubs.c +++ b/reactos/lib/gdi32/misc/stubs.c @@ -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 * @@ -790,22 +790,6 @@ LineDDA( } -/* - * @unimplemented - */ -int -STDCALL -OffsetClipRgn( - HDC a0, - int a1, - int a2 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ @@ -1016,21 +1000,6 @@ SetMetaRgn( } -/* - * @unimplemented - */ -COLORREF -STDCALL -SetBkColor( - HDC a0, - COLORREF a1 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ @@ -1157,21 +1126,6 @@ SetTextCharacterExtra( } -/* - * @unimplemented - */ -UINT -STDCALL -SetTextAlign( - HDC a0, - UINT a1 - ) -{ - SetLastError(ERROR_CALL_NOT_IMPLEMENTED); - return 0; -} - - /* * @unimplemented */ diff --git a/reactos/lib/gdi32/objects/dc.c b/reactos/lib/gdi32/objects/dc.c index b90e29c6a1e..976a25ebded 100644 --- a/reactos/lib/gdi32/objects/dc.c +++ b/reactos/lib/gdi32/objects/dc.c @@ -8,6 +8,20 @@ #include +/* + * @implemented + */ +COLORREF +STDCALL +SetBkColor( + HDC a0, + COLORREF a1 + ) +{ + return W32kSetBkColor(a0, a1); +} + + /* * @implemented */ diff --git a/reactos/lib/gdi32/objects/region.c b/reactos/lib/gdi32/objects/region.c index f2be89d7e03..2640af63c75 100644 --- a/reactos/lib/gdi32/objects/region.c +++ b/reactos/lib/gdi32/objects/region.c @@ -7,6 +7,22 @@ #include #include + +/* + * @implemented + */ +int +STDCALL +OffsetClipRgn( + HDC a0, + int a1, + int a2 + ) +{ + return W32kOffsetClipRgn(a0, a1, a2); +} + + /* * @implemented */ diff --git a/reactos/lib/gdi32/objects/text.c b/reactos/lib/gdi32/objects/text.c index b7adefe27e4..c038f57cc20 100644 --- a/reactos/lib/gdi32/objects/text.c +++ b/reactos/lib/gdi32/objects/text.c @@ -8,6 +8,21 @@ #include #include + +/* + * @implemented + */ +UINT +STDCALL +SetTextAlign( + HDC a0, + UINT a1 + ) +{ + return W32kSetTextAlign(a0, a1); +} + + /* * @implemented */