Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
65445b9e
Commit
65445b9e
authored
Apr 10, 2008
by
Lei Zhang
Committed by
Alexandre Julliard
Apr 11, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Add a stub for GdipSetImageAttributesRemapTable.
parent
f4575aaa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
36 additions
and
2 deletions
+36
-2
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
imageattributes.c
dlls/gdiplus/imageattributes.c
+12
-0
gdipluscolor.h
include/gdipluscolor.h
+15
-1
gdipluscolormatrix.h
include/gdipluscolormatrix.h
+7
-0
gdiplusgpstubs.h
include/gdiplusgpstubs.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
65445b9e
...
...
@@ -528,7 +528,7 @@
@ stdcall GdipSetImageAttributesNoOp(ptr long long)
@ stdcall GdipSetImageAttributesOutputChannel(ptr long long long)
@ stdcall GdipSetImageAttributesOutputChannelColorProfile(ptr long long ptr)
@ st
ub GdipSetImageAttributesRemapTable
@ st
dcall GdipSetImageAttributesRemapTable(ptr long long long ptr)
@ stub GdipSetImageAttributesThreshold
@ stub GdipSetImageAttributesToIdentity
@ stdcall GdipSetImageAttributesWrapMode(ptr long long long)
...
...
dlls/gdiplus/imageattributes.c
View file @
65445b9e
...
...
@@ -146,3 +146,15 @@ GpStatus WINGDIPAPI GdipSetImageAttributesOutputChannelColorProfile(GpImageAttri
return
NotImplemented
;
}
GpStatus
WINGDIPAPI
GdipSetImageAttributesRemapTable
(
GpImageAttributes
*
imageAttr
,
ColorAdjustType
type
,
BOOL
enableFlag
,
UINT
mapSize
,
GDIPCONST
ColorMap
*
map
)
{
static
int
calls
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
include/gdipluscolor.h
View file @
65445b9e
...
...
@@ -28,7 +28,21 @@ enum ColorChannelFlags
ColorChannelFlagsLast
};
#ifndef __cplusplus
#ifdef __cplusplus
/* FIXME: missing the methods. */
class
Color
{
protected
:
ARGB
Argb
;
};
#else
/* end of c++ typedefs */
typedef
struct
Color
{
ARGB
Argb
;
}
Color
;
typedef
enum
ColorChannelFlags
ColorChannelFlags
;
...
...
include/gdipluscolormatrix.h
View file @
65445b9e
...
...
@@ -42,11 +42,18 @@ enum ColorAdjustType
ColorAdjustTypeAny
};
struct
ColorMap
{
Color
oldColor
;
Color
newCOlor
;
};
#ifndef __cplusplus
typedef
enum
ColorAdjustType
ColorAdjustType
;
typedef
enum
ColorMatrixFlags
ColorMatrixFlags
;
typedef
struct
ColorMatrix
ColorMatrix
;
typedef
struct
ColorMap
ColorMap
;
#endif
/* end of c typedefs */
...
...
include/gdiplusgpstubs.h
View file @
65445b9e
...
...
@@ -80,5 +80,6 @@ typedef DashStyle GpDashStyle;
typedef
MatrixOrder
GpMatrixOrder
;
typedef
Point
GpPoint
;
typedef
WrapMode
GpWrapMode
;
typedef
Color
GpColor
;
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment