Lei Zhang : gdiplus: Add a stub for GdipSetImageAttributesGamma.

Alexandre Julliard julliard at winehq.org
Thu Apr 10 04:39:29 CDT 2008


Module: wine
Branch: master
Commit: 7b403d6b4680ba2d958eef5a0f2913e14ee64b43
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7b403d6b4680ba2d958eef5a0f2913e14ee64b43

Author: Lei Zhang <thestig at google.com>
Date:   Wed Apr  9 13:14:45 2008 -0700

gdiplus: Add a stub for GdipSetImageAttributesGamma.

---

 dlls/gdiplus/gdiplus.spec      |    2 +-
 dlls/gdiplus/imageattributes.c |   11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 0c2ae87..1c4b727 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -524,7 +524,7 @@
 @ stdcall GdipSetImageAttributesCachedBackground(ptr long)
 @ stdcall GdipSetImageAttributesColorKeys(ptr long long long long)
 @ stdcall GdipSetImageAttributesColorMatrix(ptr long long ptr ptr long)
-@ stub GdipSetImageAttributesGamma
+@ stdcall GdipSetImageAttributesGamma(ptr long long long)
 @ stub GdipSetImageAttributesNoOp
 @ stub GdipSetImageAttributesOutputChannel
 @ stub GdipSetImageAttributesOutputChannelColorProfile
diff --git a/dlls/gdiplus/imageattributes.c b/dlls/gdiplus/imageattributes.c
index 4b08151..ab47d1d 100644
--- a/dlls/gdiplus/imageattributes.c
+++ b/dlls/gdiplus/imageattributes.c
@@ -101,3 +101,14 @@ GpStatus WINGDIPAPI GdipSetImageAttributesCachedBackground(GpImageAttributes *im
 
     return NotImplemented;
 }
+
+GpStatus WINGDIPAPI GdipSetImageAttributesGamma(GpImageAttributes *imageAttr,
+    ColorAdjustType type, BOOL enableFlag, REAL gamma)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}




More information about the wine-cvs mailing list