Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
c147389f
Commit
c147389f
authored
Aug 08, 2007
by
Evan Stade
Committed by
Alexandre Julliard
Aug 09, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Added GdipSetImagePalette stub.
parent
b66c0a00
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
37 additions
and
1 deletion
+37
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
image.c
dlls/gdiplus/image.c
+14
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
gdipluspixelformats.h
include/gdipluspixelformats.h
+21
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
c147389f
...
...
@@ -532,7 +532,7 @@
@ stub GdipSetImageAttributesThreshold
@ stub GdipSetImageAttributesToIdentity
@ stdcall GdipSetImageAttributesWrapMode(ptr long long long)
@ st
ub GdipSetImagePalette
@ st
dcall GdipSetImagePalette(ptr ptr)
@ stub GdipSetInfinite
@ stdcall GdipSetInterpolationMode(ptr long)
@ stub GdipSetLineBlend
...
...
dlls/gdiplus/image.c
View file @
c147389f
...
...
@@ -668,3 +668,17 @@ GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage *image, IStream* stream,
return
Ok
;
}
GpStatus
WINGDIPAPI
GdipSetImagePalette
(
GpImage
*
image
,
GDIPCONST
ColorPalette
*
palette
)
{
static
int
calls
;
if
(
!
image
||
!
palette
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
include/gdiplusflat.h
View file @
c147389f
...
...
@@ -208,6 +208,7 @@ GpStatus WINGDIPAPI GdipLoadImageFromStreamICM(IStream*,GpImage**);
GpStatus
WINGDIPAPI
GdipRemovePropertyItem
(
GpImage
*
,
PROPID
);
GpStatus
WINGDIPAPI
GdipSaveImageToStream
(
GpImage
*
,
IStream
*
,
GDIPCONST
CLSID
*
,
GDIPCONST
EncoderParameters
*
);
GpStatus
WINGDIPAPI
GdipSetImagePalette
(
GpImage
*
,
GDIPCONST
ColorPalette
*
);
GpStatus
WINGDIPAPI
GdipCreateImageAttributes
(
GpImageAttributes
**
);
GpStatus
WINGDIPAPI
GdipDisposeImageAttributes
(
GpImageAttributes
*
);
...
...
include/gdipluspixelformats.h
View file @
c147389f
...
...
@@ -48,4 +48,25 @@ typedef INT PixelFormat;
#define PixelFormat64bppPARGB (14 | (64 << 8) | PixelFormatAlpha | PixelFormatPAlpha | PixelFormatExtended)
#define PixelFormatMax 15
#ifdef __cplusplus
struct
ColorPalette
{
public
:
UINT
Flags
;
UINT
Count
;
ARGB
Entries
[
1
];
};
#else
/* end of c++ typedefs */
typedef
struct
ColorPalette
{
UINT
Flags
;
UINT
Count
;
ARGB
Entries
[
1
];
}
ColorPalette
;
#endif
/* end of c typedefs */
#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