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
4e2a28bd
Commit
4e2a28bd
authored
Jul 07, 2011
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Export the gdi_physdev structure for the external drivers.
parent
26772e16
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
38 additions
and
14 deletions
+38
-14
gdi_private.h
dlls/gdi32/gdi_private.h
+2
-8
psdrv.h
dlls/wineps.drv/psdrv.h
+2
-1
x11drv.h
dlls/winex11.drv/x11drv.h
+1
-5
gdi_driver.h
include/wine/gdi_driver.h
+33
-0
No files found.
dlls/gdi32/gdi_private.h
View file @
4e2a28bd
...
...
@@ -26,6 +26,7 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "wine/gdi_driver.h"
/* Metafile defines */
#define META_EOF 0x0000
...
...
@@ -72,13 +73,6 @@ typedef struct tagGDIOBJHDR
/* Device functions for the Wine driver interface */
typedef
struct
gdi_physdev
{
const
struct
tagDC_FUNCS
*
funcs
;
struct
gdi_physdev
*
next
;
HDC
hdc
;
}
*
PHYSDEV
;
typedef
struct
{
int
bit_count
,
width
,
height
;
...
...
@@ -154,7 +148,7 @@ typedef struct dibdrv_physdev
#define DEFER_PEN 2
#define DEFER_BRUSH 4
typedef
struct
tagDC_FUNCS
typedef
struct
gdi_dc_funcs
{
INT
(
CDECL
*
pAbortDoc
)(
PHYSDEV
);
BOOL
(
CDECL
*
pAbortPath
)(
PHYSDEV
);
...
...
dlls/wineps.drv/psdrv.h
View file @
4e2a28bd
...
...
@@ -28,6 +28,7 @@
#include "wingdi.h"
#include "winspool.h"
#include "wine/gdi_driver.h"
#include "wine/list.h"
typedef
struct
{
...
...
@@ -353,7 +354,7 @@ typedef struct {
typedef
struct
{
void
*
reserved
[
3
];
/* reserved for gdi */
struct
gdi_physdev
dev
;
HDC
hdc
;
PSFONT
font
;
/* Current PS font */
DOWNLOAD
*
downloaded_fonts
;
...
...
dlls/winex11.drv/x11drv.h
View file @
4e2a28bd
...
...
@@ -59,6 +59,7 @@ typedef int Status;
#include "wingdi.h"
#include "winuser.h"
#include "ddrawi.h"
#include "wine/gdi_driver.h"
#include "wine/list.h"
#define MAX_PIXELFORMATS 8
...
...
@@ -141,11 +142,6 @@ typedef UINT X_PHYSFONT;
struct
xrender_info
;
typedef
struct
gdi_physdev
{
void
*
reserved
[
3
];
}
*
PHYSDEV
;
/* X physical device */
typedef
struct
{
...
...
include/wine/gdi_driver.h
0 → 100644
View file @
4e2a28bd
/*
* Definitions for Wine GDI drivers
*
* Copyright 2011 Alexandre Julliard
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __WINE_WINE_GDI_DRIVER_H
#define __WINE_WINE_GDI_DRIVER_H
struct
gdi_dc_funcs
;
typedef
struct
gdi_physdev
{
const
struct
gdi_dc_funcs
*
funcs
;
struct
gdi_physdev
*
next
;
HDC
hdc
;
}
*
PHYSDEV
;
#endif
/* __WINE_WINE_GDI_DRIVER_H */
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