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
7589bbee
Commit
7589bbee
authored
Sep 23, 2013
by
Michael Stefaniuc
Committed by
Alexandre Julliard
Sep 23, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Avoid using CONST.
parent
6f8b2f59
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
9 deletions
+6
-9
dib.c
dlls/gdi32/dib.c
+2
-2
enhmetafile.c
dlls/gdi32/enhmetafile.c
+2
-5
enhmetafiledrv.h
dlls/gdi32/enhmfdrv/enhmetafiledrv.h
+1
-1
objects.c
dlls/gdi32/enhmfdrv/objects.c
+1
-1
No files found.
dlls/gdi32/dib.c
View file @
7589bbee
...
...
@@ -906,7 +906,7 @@ INT WINAPI SetDIBitsToDevice(HDC hdc, INT xDest, INT yDest, DWORD cx,
/***********************************************************************
* SetDIBColorTable (GDI32.@)
*/
UINT
WINAPI
SetDIBColorTable
(
HDC
hdc
,
UINT
startpos
,
UINT
entries
,
CONST
RGBQUAD
*
colors
)
UINT
WINAPI
SetDIBColorTable
(
HDC
hdc
,
UINT
startpos
,
UINT
entries
,
const
RGBQUAD
*
colors
)
{
DC
*
dc
;
UINT
result
=
0
;
...
...
@@ -1466,7 +1466,7 @@ HBITMAP WINAPI CreateDIBitmap( HDC hdc, const BITMAPINFOHEADER *header,
/***********************************************************************
* CreateDIBSection (GDI32.@)
*/
HBITMAP
WINAPI
CreateDIBSection
(
HDC
hdc
,
CONST
BITMAPINFO
*
bmi
,
UINT
usage
,
HBITMAP
WINAPI
CreateDIBSection
(
HDC
hdc
,
const
BITMAPINFO
*
bmi
,
UINT
usage
,
VOID
**
bits
,
HANDLE
section
,
DWORD
offset
)
{
char
buffer
[
FIELD_OFFSET
(
BITMAPINFO
,
bmiColors
[
256
]
)];
...
...
dlls/gdi32/enhmetafile.c
View file @
7589bbee
...
...
@@ -2692,11 +2692,8 @@ typedef struct gdi_mf_comment
* Translate from old style to new style.
*
*/
HENHMETAFILE
WINAPI
SetWinMetaFileBits
(
UINT
cbBuffer
,
CONST
BYTE
*
lpbBuffer
,
HDC
hdcRef
,
CONST
METAFILEPICT
*
lpmfp
)
HENHMETAFILE
WINAPI
SetWinMetaFileBits
(
UINT
cbBuffer
,
const
BYTE
*
lpbBuffer
,
HDC
hdcRef
,
const
METAFILEPICT
*
lpmfp
)
{
static
const
WCHAR
szDisplayW
[]
=
{
'D'
,
'I'
,
'S'
,
'P'
,
'L'
,
'A'
,
'Y'
,
'\0'
};
HMETAFILE
hmf
=
NULL
;
...
...
dlls/gdi32/enhmfdrv/enhmetafiledrv.h
View file @
7589bbee
...
...
@@ -73,7 +73,7 @@ extern BOOL EMFDRV_FillPath( PHYSDEV dev ) DECLSPEC_HIDDEN;
extern
BOOL
EMFDRV_FillRgn
(
PHYSDEV
dev
,
HRGN
hrgn
,
HBRUSH
hbrush
)
DECLSPEC_HIDDEN
;
extern
BOOL
EMFDRV_FlattenPath
(
PHYSDEV
dev
)
DECLSPEC_HIDDEN
;
extern
BOOL
EMFDRV_FrameRgn
(
PHYSDEV
dev
,
HRGN
hrgn
,
HBRUSH
hbrush
,
INT
width
,
INT
height
)
DECLSPEC_HIDDEN
;
extern
BOOL
EMFDRV_GdiComment
(
PHYSDEV
dev
,
UINT
bytes
,
CONST
BYTE
*
buffer
)
DECLSPEC_HIDDEN
;
extern
BOOL
EMFDRV_GdiComment
(
PHYSDEV
dev
,
UINT
bytes
,
const
BYTE
*
buffer
)
DECLSPEC_HIDDEN
;
extern
INT
EMFDRV_GetDeviceCaps
(
PHYSDEV
dev
,
INT
cap
)
DECLSPEC_HIDDEN
;
extern
INT
EMFDRV_IntersectClipRect
(
PHYSDEV
dev
,
INT
left
,
INT
top
,
INT
right
,
INT
bottom
)
DECLSPEC_HIDDEN
;
extern
BOOL
EMFDRV_InvertRgn
(
PHYSDEV
dev
,
HRGN
hrgn
)
DECLSPEC_HIDDEN
;
...
...
dlls/gdi32/enhmfdrv/objects.c
View file @
7589bbee
...
...
@@ -503,7 +503,7 @@ COLORREF EMFDRV_SetDCPenColor( PHYSDEV dev, COLORREF color )
/******************************************************************
* EMFDRV_GdiComment
*/
BOOL
EMFDRV_GdiComment
(
PHYSDEV
dev
,
UINT
bytes
,
CONST
BYTE
*
buffer
)
BOOL
EMFDRV_GdiComment
(
PHYSDEV
dev
,
UINT
bytes
,
const
BYTE
*
buffer
)
{
EMRGDICOMMENT
*
emr
;
UINT
total
,
rounded_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