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
47229416
Commit
47229416
authored
Apr 13, 2005
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved the BITMAPOBJ structure to gdi_private.h.
parent
1b8f8f44
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
15 deletions
+14
-15
bitmap.c
dlls/gdi/bitmap.c
+0
-1
gdi_private.h
dlls/gdi/gdi_private.h
+13
-0
wing.c
dlls/gdi/wing.c
+1
-0
gdi.h
include/gdi.h
+0
-14
No files found.
dlls/gdi/bitmap.c
View file @
47229416
...
...
@@ -277,7 +277,6 @@ HBITMAP WINAPI CreateBitmapIndirect( const BITMAP *bmp )
bmpobj
->
bitmap
=
bm
;
bmpobj
->
bitmap
.
bmBits
=
NULL
;
bmpobj
->
funcs
=
NULL
;
bmpobj
->
physBitmap
=
NULL
;
bmpobj
->
dib
=
NULL
;
bmpobj
->
segptr_bits
=
0
;
...
...
dlls/gdi/gdi_private.h
View file @
47229416
...
...
@@ -294,6 +294,19 @@ static inline INT GDI_ROUND(FLOAT val)
return
(
int
)
floor
(
val
+
0
.
5
);
}
/* bitmap object */
typedef
struct
tagBITMAPOBJ
{
GDIOBJHDR
header
;
BITMAP
bitmap
;
SIZE
size
;
/* For SetBitmapDimension() */
const
DC_FUNCTIONS
*
funcs
;
/* DC function table */
/* For device-independent bitmaps: */
DIBSECTION
*
dib
;
SEGPTR
segptr_bits
;
/* segptr to DIB bits */
}
BITMAPOBJ
;
/* bidi.c */
/* Wine_GCPW Flags */
...
...
dlls/gdi/wing.c
View file @
47229416
...
...
@@ -23,6 +23,7 @@
#include "windef.h"
#include "wownt32.h"
#include "gdi.h"
#include "gdi_private.h"
#include "wine/wingdi16.h"
#include "wine/debug.h"
...
...
include/gdi.h
View file @
47229416
...
...
@@ -65,20 +65,6 @@ typedef struct tagGDIOBJHDR
struct
hdc_list
*
hdcs
;
}
GDIOBJHDR
;
/* bitmap object */
typedef
struct
tagBITMAPOBJ
{
GDIOBJHDR
header
;
BITMAP
bitmap
;
SIZE
size
;
/* For SetBitmapDimension() */
const
struct
tagDC_FUNCS
*
funcs
;
/* DC function table */
void
*
physBitmap
;
/* ptr to device specific data */
/* For device-independent bitmaps: */
DIBSECTION
*
dib
;
SEGPTR
segptr_bits
;
/* segptr to DIB bits */
}
BITMAPOBJ
;
/* palette object */
#define NB_RESERVED_COLORS 20
/* number of fixed colors in system palette */
...
...
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