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
ea96cd3a
Commit
ea96cd3a
authored
Jul 24, 2009
by
Luke Benstead
Committed by
Alexandre Julliard
Aug 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdiplus: Implement stub for GdipGetImagePalette.
parent
ab6ee61b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
1 deletion
+18
-1
gdiplus.spec
dlls/gdiplus/gdiplus.spec
+1
-1
image.c
dlls/gdiplus/image.c
+16
-0
gdiplusflat.h
include/gdiplusflat.h
+1
-0
No files found.
dlls/gdiplus/gdiplus.spec
View file @
ea96cd3a
...
@@ -291,7 +291,7 @@
...
@@ -291,7 +291,7 @@
@ stdcall GdipGetImageHeight(ptr ptr)
@ stdcall GdipGetImageHeight(ptr ptr)
@ stdcall GdipGetImageHorizontalResolution(ptr ptr)
@ stdcall GdipGetImageHorizontalResolution(ptr ptr)
@ stub GdipGetImageItemData
@ stub GdipGetImageItemData
@ st
ub GdipGetImagePalette
@ st
dcall GdipGetImagePalette(ptr ptr long)
@ stdcall GdipGetImagePaletteSize(ptr ptr)
@ stdcall GdipGetImagePaletteSize(ptr ptr)
@ stdcall GdipGetImagePixelFormat(ptr ptr)
@ stdcall GdipGetImagePixelFormat(ptr ptr)
@ stdcall GdipGetImageRawFormat(ptr ptr)
@ stdcall GdipGetImageRawFormat(ptr ptr)
...
...
dlls/gdiplus/image.c
View file @
ea96cd3a
...
@@ -1458,6 +1458,22 @@ GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage *image, IStream* stream,
...
@@ -1458,6 +1458,22 @@ GpStatus WINGDIPAPI GdipSaveImageToStream(GpImage *image, IStream* stream,
}
}
/*****************************************************************************
/*****************************************************************************
* GdipGetImagePalette [GDIPLUS.@]
*/
GpStatus
WINGDIPAPI
GdipGetImagePalette
(
GpImage
*
image
,
ColorPalette
*
palette
,
INT
size
)
{
static
int
calls
=
0
;
if
(
!
image
)
return
InvalidParameter
;
if
(
!
(
calls
++
))
FIXME
(
"not implemented
\n
"
);
return
NotImplemented
;
}
/*****************************************************************************
* GdipSetImagePalette [GDIPLUS.@]
* GdipSetImagePalette [GDIPLUS.@]
*/
*/
GpStatus
WINGDIPAPI
GdipSetImagePalette
(
GpImage
*
image
,
GpStatus
WINGDIPAPI
GdipSetImagePalette
(
GpImage
*
image
,
...
...
include/gdiplusflat.h
View file @
ea96cd3a
...
@@ -346,6 +346,7 @@ GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
...
@@ -346,6 +346,7 @@ GpStatus WINGDIPAPI GdipGetImageFlags(GpImage*,UINT*);
GpStatus
WINGDIPAPI
GdipGetImageHeight
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetImageHeight
(
GpImage
*
,
UINT
*
);
GpStatus
WINGDIPAPI
GdipGetImageHorizontalResolution
(
GpImage
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetImageHorizontalResolution
(
GpImage
*
,
REAL
*
);
GpStatus
WINGDIPAPI
GdipGetImageItemData
(
GpImage
*
,
ImageItemData
*
);
GpStatus
WINGDIPAPI
GdipGetImageItemData
(
GpImage
*
,
ImageItemData
*
);
GpStatus
WINGDIPAPI
GdipGetImagePalette
(
GpImage
*
,
ColorPalette
*
,
INT
);
GpStatus
WINGDIPAPI
GdipGetImagePixelFormat
(
GpImage
*
,
PixelFormat
*
);
GpStatus
WINGDIPAPI
GdipGetImagePixelFormat
(
GpImage
*
,
PixelFormat
*
);
GpStatus
WINGDIPAPI
GdipGetImageRawFormat
(
GpImage
*
,
GUID
*
);
GpStatus
WINGDIPAPI
GdipGetImageRawFormat
(
GpImage
*
,
GUID
*
);
GpStatus
WINGDIPAPI
GdipGetImageThumbnail
(
GpImage
*
,
UINT
,
UINT
,
GpImage
**
,
GetThumbnailImageAbort
,
VOID
*
);
GpStatus
WINGDIPAPI
GdipGetImageThumbnail
(
GpImage
*
,
UINT
,
UINT
,
GpImage
**
,
GetThumbnailImageAbort
,
VOID
*
);
...
...
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