Lei Zhang : gdiplus: Add a stub for GdipSetLineColors.

Alexandre Julliard julliard at winehq.org
Fri Apr 11 06:28:12 CDT 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Thu Apr 10 12:40:17 2008 -0700

gdiplus: Add a stub for GdipSetLineColors.

---

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

diff --git a/dlls/gdiplus/brush.c b/dlls/gdiplus/brush.c
index 45de034..68178e9 100644
--- a/dlls/gdiplus/brush.c
+++ b/dlls/gdiplus/brush.c
@@ -653,3 +653,14 @@ GpStatus WINGDIPAPI GdipSetTextureTransform(GpTexture *texture,
 
     return Ok;
 }
+
+GpStatus WINGDIPAPI GdipSetLineColors(GpLineGradient *brush, ARGB color1,
+    ARGB color2)
+{
+    static int calls;
+
+    if(!(calls++))
+        FIXME("not implemented\n");
+
+    return NotImplemented;
+}
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
index 58e913e..c33bb42 100644
--- a/dlls/gdiplus/gdiplus.spec
+++ b/dlls/gdiplus/gdiplus.spec
@@ -536,7 +536,7 @@
 @ stdcall GdipSetInfinite(ptr)
 @ stdcall GdipSetInterpolationMode(ptr long)
 @ stdcall GdipSetLineBlend(ptr ptr ptr long)
-@ stub GdipSetLineColors
+@ stdcall GdipSetLineColors(ptr long long)
 @ stdcall GdipSetLineGammaCorrection(ptr long)
 @ stub GdipSetLineLinearBlend
 @ stub GdipSetLinePresetBlend




More information about the wine-cvs mailing list