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
815d3207
Commit
815d3207
authored
Dec 26, 1998
by
Francois Gouget
Committed by
Alexandre Julliard
Dec 26, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed the prototype of CreateDIBPatternBrushPt
parent
f324e5e9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
2 deletions
+12
-2
wingdi.h
include/wingdi.h
+10
-1
brush.c
objects/brush.c
+2
-1
No files found.
include/wingdi.h
View file @
815d3207
...
...
@@ -1943,14 +1943,20 @@ typedef struct _RGNDATA {
char
Buffer
[
1
];
}
RGNDATA
,
*
PRGNDATA
,
*
LPRGNDATA
;
typedef
BOOL16
(
CALLBACK
*
ABORTPROC16
)(
HDC16
,
INT16
);
typedef
BOOL32
(
CALLBACK
*
ABORTPROC32
)(
HDC32
,
INT32
);
DECL_WINELIB_TYPE
(
ABORTPROC
)
#pragma pack(4)
/* Declarations for functions that exist only in Win32 */
BOOL32
WINAPI
AngleArc32
(
HDC32
,
INT32
,
INT32
,
DWORD
,
FLOAT
,
FLOAT
);
#define AngleArc WINELIB_NAME(AngleArc)
BOOL32
WINAPI
ArcTo32
(
HDC32
,
INT32
,
INT32
,
INT32
,
INT32
,
INT32
,
INT32
,
INT32
,
INT32
);
HENHMETAFILE32
WINAPI
CloseEnhMetaFile32
(
HDC32
);
HBRUSH32
WINAPI
CreateDIBPatternBrushPt
(
BITMAPINFO
*
,
UINT32
);
#define CloseEnhMetaFile WINELIB_NAME(CloseEnhMetaFile)
HBRUSH32
WINAPI
CreateDIBPatternBrushPt
(
const
void
*
,
UINT32
);
HDC32
WINAPI
CreateEnhMetaFile32A
(
HDC32
,
LPCSTR
,
const
RECT32
*
,
LPCSTR
);
HDC32
WINAPI
CreateEnhMetaFile32W
(
HDC32
,
LPCWSTR
,
const
RECT32
*
,
LPCWSTR
);
#define CreateEnhMetaFile WINELIB_NAME_AW(CreateEnhMetaFile)
...
...
@@ -1960,6 +1966,7 @@ BOOL16 WINAPI FastWindowFrame(HDC16,const RECT16*,INT16,INT16,DWORD);
UINT16
WINAPI
GDIRealizePalette
(
HDC16
);
HPALETTE16
WINAPI
GDISelectPalette
(
HDC16
,
HPALETTE16
,
WORD
);
BOOL32
WINAPI
GdiComment32
(
HDC32
,
UINT32
,
const
BYTE
*
);
#define GdiComment WINELIB_NAME(GdiComment)
DWORD
WINAPI
GetBitmapDimension
(
HBITMAP16
);
DWORD
WINAPI
GetBrushOrg
(
HDC16
);
BOOL32
WINAPI
GetCharABCWidthsFloat32A
(
HDC32
,
UINT32
,
UINT32
,
LPABCFLOAT
);
...
...
@@ -1969,6 +1976,7 @@ BOOL32 WINAPI GetCharWidthFloat32A(HDC32,UINT32,UINT32,PFLOAT);
BOOL32
WINAPI
GetCharWidthFloat32W
(
HDC32
,
UINT32
,
UINT32
,
PFLOAT
);
#define GetCharWidthFloat WINELIB_NAME_AW(GetCharWidthFloat)
BOOL32
WINAPI
GetColorAdjustment32
(
HDC32
,
LPCOLORADJUSTMENT
);
#define GetColorAdjustment WINELIB_NAME(GetColorAdjustment)
HFONT16
WINAPI
GetCurLogFont
(
HDC16
);
DWORD
WINAPI
GetCurrentPosition
(
HDC16
);
DWORD
WINAPI
GetDCHook
(
HDC16
,
FARPROC16
*
);
...
...
@@ -2614,6 +2622,7 @@ COLORREF WINAPI SetPixel16(HDC16,INT16,INT16,COLORREF);
COLORREF
WINAPI
SetPixel32
(
HDC32
,
INT32
,
INT32
,
COLORREF
);
#define SetPixel WINELIB_NAME(SetPixel)
BOOL32
WINAPI
SetPixelV32
(
HDC32
,
INT32
,
INT32
,
COLORREF
);
#define SetPixelV WINELIB_NAME(SetPixelV)
BOOL32
WINAPI
SetPixelFormat
(
HDC32
,
int
,
const
PIXELFORMATDESCRIPTOR
*
);
INT16
WINAPI
SetPolyFillMode16
(
HDC16
,
INT16
);
INT32
WINAPI
SetPolyFillMode32
(
HDC32
,
INT32
);
...
...
objects/brush.c
View file @
815d3207
...
...
@@ -194,10 +194,11 @@ HBRUSH32 WINAPI CreateDIBPatternBrush32(
*
*/
HBRUSH32
WINAPI
CreateDIBPatternBrushPt
(
BITMAPINFO
*
info
,
/* Pointer to a BITMAPINFO structure
*/
const
void
*
data
,
/* Pointer to a BITMAPINFO structure followed by more data
*/
UINT32
coloruse
/* Specifies color format, if provided */
)
{
BITMAPINFO
*
info
=
(
BITMAPINFO
*
)
data
;
LOGBRUSH32
logbrush
=
{
BS_DIBPATTERN
,
coloruse
,
0
};
BITMAPINFO
*
newInfo
;
INT32
size
;
...
...
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