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
f57c1b77
Commit
f57c1b77
authored
Jul 26, 2010
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Get rid of the GetDCOrgEx driver entry point, GDI can implement this itself now.
parent
69c8f0b6
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
4 additions
and
24 deletions
+4
-24
clipping.c
dlls/gdi32/clipping.c
+2
-5
dc.c
dlls/gdi32/dc.c
+2
-3
driver.c
dlls/gdi32/driver.c
+0
-1
init.c
dlls/gdi32/enhmfdrv/init.c
+0
-1
gdi_private.h
dlls/gdi32/gdi_private.h
+0
-1
init.c
dlls/gdi32/mfdrv/init.c
+0
-1
graphics.c
dlls/winex11.drv/graphics.c
+0
-10
winex11.drv.spec
dlls/winex11.drv/winex11.drv.spec
+0
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+0
-1
No files found.
dlls/gdi32/clipping.c
View file @
f57c1b77
...
...
@@ -463,11 +463,8 @@ INT WINAPI GetRandomRgn(HDC hDC, HRGN hRgn, INT iCode)
/* On Windows NT/2000, the SYSRGN returned is in screen coordinates */
if
(
iCode
==
SYSRGN
&&
!
(
GetVersion
()
&
0x80000000
))
{
POINT
org
;
GetDCOrgEx
(
hDC
,
&
org
);
OffsetRgn
(
hRgn
,
org
.
x
,
org
.
y
);
}
OffsetRgn
(
hRgn
,
dc
->
vis_rect
.
left
,
dc
->
vis_rect
.
top
);
return
(
rgn
!=
0
);
}
...
...
dlls/gdi32/dc.c
View file @
f57c1b77
...
...
@@ -1068,9 +1068,8 @@ BOOL WINAPI GetDCOrgEx( HDC hDC, LPPOINT lpp )
if
(
!
lpp
)
return
FALSE
;
if
(
!
(
dc
=
get_dc_ptr
(
hDC
)))
return
FALSE
;
lpp
->
x
=
lpp
->
y
=
0
;
if
(
dc
->
funcs
->
pGetDCOrgEx
)
dc
->
funcs
->
pGetDCOrgEx
(
dc
->
physDev
,
lpp
);
lpp
->
x
=
dc
->
vis_rect
.
left
;
lpp
->
y
=
dc
->
vis_rect
.
top
;
release_dc_ptr
(
dc
);
return
TRUE
;
}
...
...
dlls/gdi32/driver.c
View file @
f57c1b77
...
...
@@ -109,7 +109,6 @@ static struct graphics_driver *create_driver( HMODULE module )
GET_FUNC
(
GdiComment
);
GET_FUNC
(
GetBitmapBits
);
GET_FUNC
(
GetCharWidth
);
GET_FUNC
(
GetDCOrgEx
);
GET_FUNC
(
GetDIBColorTable
);
GET_FUNC
(
GetDIBits
);
GET_FUNC
(
GetDeviceCaps
);
...
...
dlls/gdi32/enhmfdrv/init.c
View file @
f57c1b77
...
...
@@ -71,7 +71,6 @@ static const DC_FUNCTIONS EMFDRV_Funcs =
EMFDRV_GdiComment
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
NULL
,
/* pGetCharWidth */
NULL
,
/* pGetDCOrgEx */
NULL
,
/* pGetDIBColorTable */
NULL
,
/* pGetDIBits */
EMFDRV_GetDeviceCaps
,
/* pGetDeviceCaps */
...
...
dlls/gdi32/gdi_private.h
View file @
f57c1b77
...
...
@@ -113,7 +113,6 @@ typedef struct tagDC_FUNCS
BOOL
(
CDECL
*
pGdiComment
)(
PHYSDEV
,
UINT
,
CONST
BYTE
*
);
LONG
(
CDECL
*
pGetBitmapBits
)(
HBITMAP
,
void
*
,
LONG
);
BOOL
(
CDECL
*
pGetCharWidth
)(
PHYSDEV
,
UINT
,
UINT
,
LPINT
);
BOOL
(
CDECL
*
pGetDCOrgEx
)(
PHYSDEV
,
LPPOINT
);
UINT
(
CDECL
*
pGetDIBColorTable
)(
PHYSDEV
,
UINT
,
UINT
,
RGBQUAD
*
);
INT
(
CDECL
*
pGetDIBits
)(
PHYSDEV
,
HBITMAP
,
UINT
,
UINT
,
LPVOID
,
BITMAPINFO
*
,
UINT
);
INT
(
CDECL
*
pGetDeviceCaps
)(
PHYSDEV
,
INT
);
...
...
dlls/gdi32/mfdrv/init.c
View file @
f57c1b77
...
...
@@ -69,7 +69,6 @@ static const DC_FUNCTIONS MFDRV_Funcs =
NULL
,
/* pGdiComment */
NULL
,
/* pGetBitmapBits */
NULL
,
/* pGetCharWidth */
NULL
,
/* pGetDCOrgEx */
NULL
,
/* pGetDIBColorTable */
NULL
,
/* pGetDIBits */
MFDRV_GetDeviceCaps
,
/* pGetDeviceCaps */
...
...
dlls/winex11.drv/graphics.c
View file @
f57c1b77
...
...
@@ -1466,16 +1466,6 @@ X11DRV_SetTextColor( X11DRV_PDEVICE *physDev, COLORREF color )
return
color
;
}
/***********************************************************************
* GetDCOrgEx (X11DRV.@)
*/
BOOL
CDECL
X11DRV_GetDCOrgEx
(
X11DRV_PDEVICE
*
physDev
,
LPPOINT
lpp
)
{
lpp
->
x
=
physDev
->
dc_rect
.
left
+
physDev
->
drawable_rect
.
left
;
lpp
->
y
=
physDev
->
dc_rect
.
top
+
physDev
->
drawable_rect
.
top
;
return
TRUE
;
}
static
unsigned
char
*
get_icm_profile
(
unsigned
long
*
size
)
{
...
...
dlls/winex11.drv/winex11.drv.spec
View file @
f57c1b77
...
...
@@ -17,7 +17,6 @@
@ cdecl ExtTextOut(ptr long long long ptr ptr long ptr) X11DRV_ExtTextOut
@ cdecl GetBitmapBits(long ptr long) X11DRV_GetBitmapBits
@ cdecl GetCharWidth(ptr long long ptr) X11DRV_GetCharWidth
@ cdecl GetDCOrgEx(ptr ptr) X11DRV_GetDCOrgEx
@ cdecl GetDIBits(ptr long long long ptr ptr long) X11DRV_GetDIBits
@ cdecl GetDeviceCaps(ptr long) X11DRV_GetDeviceCaps
@ cdecl GetDeviceGammaRamp(ptr ptr) X11DRV_GetDeviceGammaRamp
...
...
dlls/winex11.drv/x11drv.h
View file @
f57c1b77
...
...
@@ -193,7 +193,6 @@ extern BOOL CDECL X11DRV_EnumDeviceFonts( X11DRV_PDEVICE *physDev, LPLOGFONTW pl
extern
LONG
CDECL
X11DRV_GetBitmapBits
(
HBITMAP
hbitmap
,
void
*
bits
,
LONG
count
);
extern
BOOL
CDECL
X11DRV_GetCharWidth
(
X11DRV_PDEVICE
*
physDev
,
UINT
firstChar
,
UINT
lastChar
,
LPINT
buffer
);
extern
BOOL
CDECL
X11DRV_GetDCOrgEx
(
X11DRV_PDEVICE
*
physDev
,
LPPOINT
lpp
);
extern
BOOL
CDECL
X11DRV_GetTextExtentExPoint
(
X11DRV_PDEVICE
*
physDev
,
LPCWSTR
str
,
INT
count
,
INT
maxExt
,
LPINT
lpnFit
,
LPINT
alpDx
,
LPSIZE
size
);
extern
BOOL
CDECL
X11DRV_GetTextMetrics
(
X11DRV_PDEVICE
*
physDev
,
TEXTMETRICW
*
metrics
);
...
...
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