Commit 139da784 authored by Lei Zhang's avatar Lei Zhang Committed by Alexandre Julliard

gdiplus: Add a stub for GdipSetImageAttributesOutputChannel.

parent 68f5cdb2
...@@ -526,7 +526,7 @@ ...@@ -526,7 +526,7 @@
@ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long) @ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long)
@ stdcall GdipSetImageAttributesGamma(ptr long long long) @ stdcall GdipSetImageAttributesGamma(ptr long long long)
@ stdcall GdipSetImageAttributesNoOp(ptr long long) @ stdcall GdipSetImageAttributesNoOp(ptr long long)
@ stub GdipSetImageAttributesOutputChannel @ stdcall GdipSetImageAttributesOutputChannel(ptr long long long)
@ stub GdipSetImageAttributesOutputChannelColorProfile @ stub GdipSetImageAttributesOutputChannelColorProfile
@ stub GdipSetImageAttributesRemapTable @ stub GdipSetImageAttributesRemapTable
@ stub GdipSetImageAttributesThreshold @ stub GdipSetImageAttributesThreshold
......
...@@ -123,3 +123,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesNoOp(GpImageAttributes *imageAttr, ...@@ -123,3 +123,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesNoOp(GpImageAttributes *imageAttr,
return NotImplemented; return NotImplemented;
} }
GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannel(GpImageAttributes *imageAttr,
ColorAdjustType type, BOOL enableFlag, ColorChannelFlags channelFlags)
{
static int calls;
if(!(calls++))
FIXME("not implemented\n");
return NotImplemented;
}
...@@ -195,6 +195,7 @@ SRCDIR_INCLUDES = \ ...@@ -195,6 +195,7 @@ SRCDIR_INCLUDES = \
fci.h \ fci.h \
fdi.h \ fdi.h \
gdiplus.h \ gdiplus.h \
gdipluscolor.h \
gdipluscolormatrix.h \ gdipluscolormatrix.h \
gdiplusenums.h \ gdiplusenums.h \
gdiplusflat.h \ gdiplusflat.h \
......
...@@ -34,6 +34,7 @@ namespace Gdiplus ...@@ -34,6 +34,7 @@ namespace Gdiplus
#include "gdipluspixelformats.h" #include "gdipluspixelformats.h"
#include "gdiplusmetaheader.h" #include "gdiplusmetaheader.h"
#include "gdiplusimaging.h" #include "gdiplusimaging.h"
#include "gdipluscolor.h"
#include "gdipluscolormatrix.h" #include "gdipluscolormatrix.h"
#include "gdiplusgpstubs.h" #include "gdiplusgpstubs.h"
...@@ -53,6 +54,7 @@ namespace Gdiplus ...@@ -53,6 +54,7 @@ namespace Gdiplus
#include "gdipluspixelformats.h" #include "gdipluspixelformats.h"
#include "gdiplusmetaheader.h" #include "gdiplusmetaheader.h"
#include "gdiplusimaging.h" #include "gdiplusimaging.h"
#include "gdipluscolor.h"
#include "gdipluscolormatrix.h" #include "gdipluscolormatrix.h"
#include "gdiplusgpstubs.h" #include "gdiplusgpstubs.h"
......
/*
* Copyright (C) 2808 Google (Lei Zhang)
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef _GDIPLUSCOLOR_H
#define _GDIPLUSCOLOR_H
enum ColorChannelFlags
{
ColorChannelFlagsC,
ColorChannelFlagsM,
ColorChannelFlagsY,
ColorChannelFlagsK,
ColorChannelFlagsLast
};
#ifndef __cplusplus
typedef enum ColorChannelFlags ColorChannelFlags;
#endif /* end of c typedefs */
#endif /* _GDIPLUSCOLOR_H */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment