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
75b8f888
Commit
75b8f888
authored
Nov 17, 2006
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gdi32: Get rid of the gdi.h include.
parent
456891b3
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
47 additions
and
79 deletions
+47
-79
bidi.c
dlls/gdi32/bidi.c
+0
-1
bitblt.c
dlls/gdi32/bitblt.c
+5
-1
bitmap.c
dlls/gdi32/bitmap.c
+4
-2
brush.c
dlls/gdi32/brush.c
+0
-1
clipping.c
dlls/gdi32/clipping.c
+0
-1
dc.c
dlls/gdi32/dc.c
+0
-1
dib.c
dlls/gdi32/dib.c
+0
-1
driver.c
dlls/gdi32/driver.c
+0
-1
enhmetafile.c
dlls/gdi32/enhmetafile.c
+0
-1
bitblt.c
dlls/gdi32/enhmfdrv/bitblt.c
+0
-1
enhmetafiledrv.h
dlls/gdi32/enhmfdrv/enhmetafiledrv.h
+0
-1
graphics.c
dlls/gdi32/enhmfdrv/graphics.c
+4
-1
init.c
dlls/gdi32/enhmfdrv/init.c
+0
-1
objects.c
dlls/gdi32/enhmfdrv/objects.c
+0
-1
env.c
dlls/gdi32/env.c
+5
-1
font.c
dlls/gdi32/font.c
+0
-1
freetype.c
dlls/gdi32/freetype.c
+0
-1
gdi16.c
dlls/gdi32/gdi16.c
+0
-1
gdi_main.c
dlls/gdi32/gdi_main.c
+0
-1
gdi_private.h
dlls/gdi32/gdi_private.h
+3
-0
gdiobj.c
dlls/gdi32/gdiobj.c
+0
-1
mapping.c
dlls/gdi32/mapping.c
+5
-1
metafile.c
dlls/gdi32/metafile.c
+4
-1
metafile16.c
dlls/gdi32/metafile16.c
+0
-1
bitblt.c
dlls/gdi32/mfdrv/bitblt.c
+0
-1
graphics.c
dlls/gdi32/mfdrv/graphics.c
+0
-1
init.c
dlls/gdi32/mfdrv/init.c
+0
-1
mapping.c
dlls/gdi32/mfdrv/mapping.c
+0
-1
metafiledrv.h
dlls/gdi32/mfdrv/metafiledrv.h
+0
-1
objects.c
dlls/gdi32/mfdrv/objects.c
+0
-1
opengl.c
dlls/gdi32/opengl.c
+0
-1
painting.c
dlls/gdi32/painting.c
+0
-1
palette.c
dlls/gdi32/palette.c
+2
-1
path.c
dlls/gdi32/path.c
+0
-1
pen.c
dlls/gdi32/pen.c
+0
-1
printdrv.c
dlls/gdi32/printdrv.c
+0
-1
region.c
dlls/gdi32/region.c
+0
-1
wing.c
dlls/gdi32/wing.c
+4
-1
x11ddraw.c
dlls/winex11.drv/x11ddraw.c
+3
-1
xrender.c
dlls/winex11.drv/xrender.c
+0
-1
gdi.h
include/gdi.h
+0
-39
wingdi.h
include/wingdi.h
+8
-0
No files found.
dlls/gdi32/bidi.c
View file @
75b8f888
...
...
@@ -30,7 +30,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "wine/debug.h"
#include "gdi.h"
#include "gdi_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
bidi
);
...
...
dlls/gdi32/bitblt.c
View file @
75b8f888
...
...
@@ -18,7 +18,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "gdi.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/bitmap.c
View file @
75b8f888
...
...
@@ -19,12 +19,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "wine/winbase16.h"
#include "wine/wingdi16.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/brush.c
View file @
75b8f888
...
...
@@ -27,7 +27,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "wine/wingdi16.h"
#include "gdi.h"
#include "wownt32.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/clipping.c
View file @
75b8f888
...
...
@@ -25,7 +25,6 @@
#include "wingdi.h"
#include "wownt32.h"
#include "wine/winuser16.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/dc.c
View file @
75b8f888
...
...
@@ -31,7 +31,6 @@
#include "winerror.h"
#include "wownt32.h"
#include "wine/winuser16.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
dlls/gdi32/dib.c
View file @
75b8f888
...
...
@@ -66,7 +66,6 @@
#include "windef.h"
#include "winbase.h"
#include "gdi.h"
#include "wownt32.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/driver.c
View file @
75b8f888
...
...
@@ -29,7 +29,6 @@
#include "winbase.h"
#include "winreg.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
dlls/gdi32/enhmetafile.c
View file @
75b8f888
...
...
@@ -43,7 +43,6 @@
#include "wingdi.h"
#include "winnls.h"
#include "winerror.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/enhmfdrv/bitblt.c
View file @
75b8f888
...
...
@@ -24,7 +24,6 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "gdi.h"
#include "enhmetafiledrv.h"
#include "wine/debug.h"
...
...
dlls/gdi32/enhmfdrv/enhmetafiledrv.h
View file @
75b8f888
...
...
@@ -26,7 +26,6 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "gdi.h"
#include "gdi_private.h"
/* Enhanced Metafile driver physical DC */
...
...
dlls/gdi32/enhmfdrv/graphics.c
View file @
75b8f888
...
...
@@ -21,10 +21,13 @@
#include "config.h"
#include "wine/port.h"
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "gdi.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "enhmfdrv/enhmetafiledrv.h"
#include "wine/debug.h"
...
...
dlls/gdi32/enhmfdrv/init.c
View file @
75b8f888
...
...
@@ -25,7 +25,6 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "gdi.h"
#include "gdi_private.h"
#include "enhmfdrv/enhmetafiledrv.h"
#include "wine/debug.h"
...
...
dlls/gdi32/enhmfdrv/objects.c
View file @
75b8f888
...
...
@@ -22,7 +22,6 @@
#include <stdio.h>
#include <string.h>
#include "gdi.h"
#include "enhmfdrv/enhmetafiledrv.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/env.c
View file @
75b8f888
...
...
@@ -23,10 +23,14 @@
#include "config.h"
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include "gdi.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "wine/wingdi16.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
gdi
);
...
...
dlls/gdi32/font.c
View file @
75b8f888
...
...
@@ -32,7 +32,6 @@
#include "winbase.h"
#include "winnls.h"
#include "wownt32.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
dlls/gdi32/freetype.c
View file @
75b8f888
...
...
@@ -40,7 +40,6 @@
#include "winerror.h"
#include "winreg.h"
#include "wingdi.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/unicode.h"
#include "wine/debug.h"
...
...
dlls/gdi32/gdi16.c
View file @
75b8f888
...
...
@@ -25,7 +25,6 @@
#include "wingdi.h"
#include "wownt32.h"
#include "wine/wingdi16.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/gdi_main.c
View file @
75b8f888
...
...
@@ -24,7 +24,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "wine/winbase16.h"
#include "gdi.h"
#include "gdi_private.h"
/***********************************************************************
...
...
dlls/gdi32/gdi_private.h
View file @
75b8f888
...
...
@@ -21,6 +21,9 @@
#ifndef __WINE_GDI_PRIVATE_H
#define __WINE_GDI_PRIVATE_H
#include <math.h>
#include "wine/wingdi16.h"
/* Metafile defines */
#define META_EOF 0x0000
/* values of mtType in METAHEADER. Note however that the disk image of a disk
...
...
dlls/gdi32/gdiobj.c
View file @
75b8f888
...
...
@@ -32,7 +32,6 @@
#include "winerror.h"
#include "winternl.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/mapping.c
View file @
75b8f888
...
...
@@ -18,7 +18,11 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "gdi.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "wownt32.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/metafile.c
View file @
75b8f888
...
...
@@ -47,10 +47,13 @@
#include "config.h"
#include <stdarg.h>
#include <string.h>
#include <fcntl.h>
#include "gdi.h"
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "winreg.h"
#include "winternl.h"
#include "gdi_private.h"
...
...
dlls/gdi32/metafile16.c
View file @
75b8f888
...
...
@@ -28,7 +28,6 @@
#include "wine/winbase16.h"
#include "wine/wingdi16.h"
#include "gdi.h"
#include "wownt32.h"
#include "winreg.h"
#include "winternl.h"
...
...
dlls/gdi32/mfdrv/bitblt.c
View file @
75b8f888
...
...
@@ -20,7 +20,6 @@
#include <string.h>
#include "gdi.h"
#include "mfdrv/metafiledrv.h"
#include "wine/debug.h"
...
...
dlls/gdi32/mfdrv/graphics.c
View file @
75b8f888
...
...
@@ -21,7 +21,6 @@
#include <stdlib.h>
#include <string.h>
#include "gdi.h"
#include "mfdrv/metafiledrv.h"
#include "wine/debug.h"
...
...
dlls/gdi32/mfdrv/init.c
View file @
75b8f888
...
...
@@ -24,7 +24,6 @@
#include "windef.h"
#include "winbase.h"
#include "wine/winbase16.h"
#include "gdi.h"
#include "wownt32.h"
#include "gdi_private.h"
#include "mfdrv/metafiledrv.h"
...
...
dlls/gdi32/mfdrv/mapping.c
View file @
75b8f888
...
...
@@ -18,7 +18,6 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "gdi.h"
#include "gdi_private.h"
#include "mfdrv/metafiledrv.h"
...
...
dlls/gdi32/mfdrv/metafiledrv.h
View file @
75b8f888
...
...
@@ -26,7 +26,6 @@
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "gdi.h"
#include "gdi_private.h"
/* Metafile driver physical DC */
...
...
dlls/gdi32/mfdrv/objects.c
View file @
75b8f888
...
...
@@ -28,7 +28,6 @@
#include "wingdi.h"
#include "wownt32.h"
#include "mfdrv/metafiledrv.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/opengl.c
View file @
75b8f888
...
...
@@ -33,7 +33,6 @@
#include "winerror.h"
#include "winternl.h"
#include "winnt.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/painting.c
View file @
75b8f888
...
...
@@ -31,7 +31,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "winerror.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/palette.c
View file @
75b8f888
...
...
@@ -32,7 +32,6 @@
#include "wingdi.h"
#include "wownt32.h"
#include "wine/winuser16.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
#include "winerror.h"
...
...
@@ -70,6 +69,8 @@ static UINT SystemPaletteUse = SYSPAL_STATIC; /* currently not considered */
static
HPALETTE
hPrimaryPalette
=
0
;
/* used for WM_PALETTECHANGED */
static
HPALETTE
hLastRealizedPalette
=
0
;
/* UnrealizeObject() needs it */
#define NB_RESERVED_COLORS 20
/* number of fixed colors in system palette */
static
const
PALETTEENTRY
sys_pal_template
[
NB_RESERVED_COLORS
]
=
{
/* first 10 entries in the system palette */
...
...
dlls/gdi32/path.c
View file @
75b8f888
...
...
@@ -37,7 +37,6 @@
#include "wingdi.h"
#include "winerror.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/pen.c
View file @
75b8f888
...
...
@@ -29,7 +29,6 @@
#include "winbase.h"
#include "wingdi.h"
#include "wine/wingdi16.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/printdrv.c
View file @
75b8f888
...
...
@@ -48,7 +48,6 @@
#include "winreg.h"
#include "wownt32.h"
#include "wine/debug.h"
#include "gdi.h"
#include "gdi_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
print
);
...
...
dlls/gdi32/region.c
View file @
75b8f888
...
...
@@ -100,7 +100,6 @@ SOFTWARE.
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/debug.h"
...
...
dlls/gdi32/wing.c
View file @
75b8f888
...
...
@@ -20,9 +20,12 @@
#include "config.h"
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "wownt32.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/wingdi16.h"
#include "wine/debug.h"
...
...
dlls/winex11.drv/x11ddraw.c
View file @
75b8f888
...
...
@@ -20,6 +20,7 @@
#include "config.h"
#include <stdarg.h>
#include <string.h>
#include <X11/Xlib.h>
...
...
@@ -28,7 +29,8 @@
#include "x11drv.h"
#include "windef.h"
#include "gdi.h"
#include "winbase.h"
#include "wingdi.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
x11drv
);
...
...
dlls/winex11.drv/xrender.c
View file @
75b8f888
...
...
@@ -32,7 +32,6 @@
#include "winbase.h"
#include "wownt32.h"
#include "x11drv.h"
#include "gdi.h"
#include "winternl.h"
#include "wine/library.h"
#include "wine/unicode.h"
...
...
include/gdi.h
deleted
100644 → 0
View file @
456891b3
/*
* GDI definitions
*
* Copyright 1993 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_GDI_H
#define __WINE_GDI_H
#include <stdarg.h>
#include <windef.h>
#include <winbase.h>
#include <wingdi.h>
#include <wine/wingdi16.h>
#include <math.h>
#define NB_RESERVED_COLORS 20
/* number of fixed colors in system palette */
/* GetGlyphOutline */
#define WINE_GGO_GRAY16_BITMAP 0x7f
/* GetRasterizerCaps */
#define WINE_TT_HINTER_ENABLED 0x8000
#endif
/* __WINE_GDI_H */
include/wingdi.h
View file @
75b8f888
...
...
@@ -1287,6 +1287,10 @@ typedef struct
#define GGO_GRAY8_BITMAP 6
#define GGO_GLYPH_INDEX 0x80
#ifdef __WINESRC__
#define WINE_GGO_GRAY16_BITMAP 0x7f
#endif
typedef
struct
{
WORD
fract
;
...
...
@@ -1410,6 +1414,10 @@ typedef struct
#define TT_AVAILABLE 0x0001
#define TT_ENABLED 0x0002
#ifdef __WINESRC__
#define WINE_TT_HINTER_ENABLED 0x8000
#endif
#define TT_PRIM_LINE 1
#define TT_PRIM_QSPLINE 2
#define TT_PRIM_CSPLINE 3
...
...
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