From c6bb245647fdeced7f5c3b2b1f8353446c18da01 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Wed, 9 Apr 2008 13:50:37 -0700 Subject: [PATCH 18/22] 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 -- 1.5.3.6