gdi32: Move color space stubs to objects.c.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2021-07-29 13:21:57 +01:00 committed by Alexandre Julliard
parent 18ce9d5efc
commit 6502ce7add
2 changed files with 45 additions and 46 deletions

View File

@ -1306,52 +1306,6 @@ BOOL WINAPI SetDeviceGammaRamp(HDC hDC, LPVOID ptr)
return ret;
}
/***********************************************************************
* GetColorSpace (GDI32.@)
*/
HCOLORSPACE WINAPI GetColorSpace(HDC hdc)
{
/*FIXME Need to do whatever GetColorSpace actually does */
return 0;
}
/***********************************************************************
* CreateColorSpaceA (GDI32.@)
*/
HCOLORSPACE WINAPI CreateColorSpaceA( LPLOGCOLORSPACEA lpLogColorSpace )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* CreateColorSpaceW (GDI32.@)
*/
HCOLORSPACE WINAPI CreateColorSpaceW( LPLOGCOLORSPACEW lpLogColorSpace )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* DeleteColorSpace (GDI32.@)
*/
BOOL WINAPI DeleteColorSpace( HCOLORSPACE hColorSpace )
{
FIXME( "stub\n" );
return TRUE;
}
/***********************************************************************
* SetColorSpace (GDI32.@)
*/
HCOLORSPACE WINAPI SetColorSpace( HDC hDC, HCOLORSPACE hColorSpace )
{
FIXME( "stub\n" );
return hColorSpace;
}
/***********************************************************************
* GetBoundsRect (GDI32.@)

View File

@ -318,3 +318,48 @@ HRGN WINAPI CreatePolygonRgn( const POINT *points, INT count, INT mode )
{
return CreatePolyPolygonRgn( points, &count, 1, mode );
}
/***********************************************************************
* CreateColorSpaceA (GDI32.@)
*/
HCOLORSPACE WINAPI CreateColorSpaceA( LOGCOLORSPACEA *cs )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* CreateColorSpaceW (GDI32.@)
*/
HCOLORSPACE WINAPI CreateColorSpaceW( LOGCOLORSPACEW *cs )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* DeleteColorSpace (GDI32.@)
*/
BOOL WINAPI DeleteColorSpace( HCOLORSPACE cs )
{
FIXME( "stub\n" );
return TRUE;
}
/***********************************************************************
* GetColorSpace (GDI32.@)
*/
HCOLORSPACE WINAPI GetColorSpace( HDC hdc )
{
FIXME( "stub\n" );
return 0;
}
/***********************************************************************
* SetColorSpace (GDI32.@)
*/
HCOLORSPACE WINAPI SetColorSpace( HDC hdc, HCOLORSPACE cs )
{
FIXME( "stub\n" );
return cs;
}