mirror of
https://gitlab.winehq.org/wine/wine-staging.git
synced 2024-11-21 16:46:54 -08:00
gdiplus-GdipCreateEffect: Update patchset.
This commit is contained in:
parent
7795ed188b
commit
ea4b82dd1d
@ -1,4 +1,4 @@
|
||||
From 87d78ae794d77d40f2e08b037d9985e332bb5d68 Mon Sep 17 00:00:00 2001
|
||||
From 9269a73ee15a89b8d4a083c4d15108882c82b83b Mon Sep 17 00:00:00 2001
|
||||
From: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
|
||||
Date: Thu, 23 Jul 2015 19:08:33 +1000
|
||||
Subject: gdiplus: Add GdipCreateEffect stub
|
||||
@ -12,12 +12,12 @@ Fixes https://bugs.winehq.org/show_bug.cgi?id=32163
|
||||
dlls/gdiplus/tests/image.c | 42 ++++++++++++++++++++++++++++++++++++++++++
|
||||
include/Makefile.in | 1 +
|
||||
include/gdiplus.h | 2 ++
|
||||
include/gdipluseffects.h | 37 +++++++++++++++++++++++++++++++++++++
|
||||
6 files changed, 101 insertions(+), 1 deletion(-)
|
||||
include/gdipluseffects.h | 45 +++++++++++++++++++++++++++++++++++++++++++++
|
||||
6 files changed, 109 insertions(+), 1 deletion(-)
|
||||
create mode 100644 include/gdipluseffects.h
|
||||
|
||||
diff --git a/dlls/gdiplus/gdiplus.spec b/dlls/gdiplus/gdiplus.spec
|
||||
index 9701ee0..3937443 100644
|
||||
index 9701ee0..edf4e45 100644
|
||||
--- a/dlls/gdiplus/gdiplus.spec
|
||||
+++ b/dlls/gdiplus/gdiplus.spec
|
||||
@@ -610,7 +610,7 @@
|
||||
@ -25,7 +25,7 @@ index 9701ee0..3937443 100644
|
||||
611 stub GdipFindNextImageItem
|
||||
612 stdcall GdipGetImageItemData(ptr ptr)
|
||||
-613 stub GdipCreateEffect
|
||||
+613 stdcall GdipCreateEffect(ptr ptr)
|
||||
+613 stdcall GdipCreateEffect(int128 ptr)
|
||||
614 stdcall GdipDeleteEffect(ptr)
|
||||
615 stub GdipGetEffectParameterSize
|
||||
616 stub GdipGetEffectParameters
|
||||
@ -119,10 +119,10 @@ index 1335d97..51b99a3 100644
|
||||
GdiplusShutdown(gdiplusToken);
|
||||
}
|
||||
diff --git a/include/Makefile.in b/include/Makefile.in
|
||||
index f829712..6d986c1 100644
|
||||
index 1dc912b..c1312b8 100644
|
||||
--- a/include/Makefile.in
|
||||
+++ b/include/Makefile.in
|
||||
@@ -339,6 +339,7 @@ SRCDIR_INCLUDES = \
|
||||
@@ -342,6 +342,7 @@ SRCDIR_INCLUDES = \
|
||||
gdiplus.h \
|
||||
gdipluscolor.h \
|
||||
gdipluscolormatrix.h \
|
||||
@ -152,10 +152,10 @@ index f063b3e..e85343b 100644
|
||||
|
||||
diff --git a/include/gdipluseffects.h b/include/gdipluseffects.h
|
||||
new file mode 100644
|
||||
index 0000000..6e2c983
|
||||
index 0000000..d2d6a05
|
||||
--- /dev/null
|
||||
+++ b/include/gdipluseffects.h
|
||||
@@ -0,0 +1,37 @@
|
||||
@@ -0,0 +1,45 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2015 Alistair Leslie-Hughes
|
||||
+ *
|
||||
@ -189,10 +189,18 @@ index 0000000..6e2c983
|
||||
+DEFINE_GUID(RedEyeCorrectionEffectGuid, 0x74d29d05, 0x69a4, 0x4266, 0x95, 0x49, 0x3c, 0xc5, 0x28, 0x36, 0xb6, 0x32);
|
||||
+DEFINE_GUID(ColorCurveEffectGuid, 0xdd6a0022, 0x58e4, 0x4a67, 0x9d, 0x9b, 0xd4, 0x8e, 0xb8, 0x81, 0xa5, 0x3d);
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+extern "C" {
|
||||
+#endif
|
||||
+
|
||||
+GpStatus WINGDIPAPI GdipCreateEffect(const GUID guid, CGpEffect **effect);
|
||||
+GpStatus WINGDIPAPI GdipDeleteEffect(CGpEffect *effect);
|
||||
+
|
||||
+#ifdef __cplusplus
|
||||
+}
|
||||
+#endif
|
||||
+
|
||||
+#endif
|
||||
--
|
||||
2.4.5
|
||||
2.5.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user