Dmitry Timoshkov
21fc3c8067
CreateDIBSection takes a const pointer to BITMAPINFO.
2004-03-12 19:46:12 +00:00
Alexandre Julliard
05df86a38f
Moved more GDI definitions to gdi_private.h.
...
Get rid of bitmap.h and palette.h.
2004-03-04 20:41:12 +00:00
Jon Griffiths
783a39544b
Documentation fixes.
2004-02-09 20:47:42 +00:00
Alexandre Julliard
6ec42c0c3b
Moved a bunch of definitions from gdi.h into a new gdi_private.h to
...
make sure we don't use them outside of gdi32.
2004-01-15 00:35:38 +00:00
Alexandre Julliard
53145d96f6
Moved some code around to avoid exporting DIB functions from gdi32.
2004-01-13 23:31:46 +00:00
Alexandre Julliard
f9be2f3d21
Removed some unnecessary includes.
2003-11-17 20:31:29 +00:00
Huw Davies
2d00b08abd
Check for the existence of the driver CreateDIBSection before calling
...
it.
2003-11-14 03:30:18 +00:00
Huw Davies
352b8bc9e8
Make sure we create a polychrome bitmap from the dib. CreateDIBitmap
...
doesn't do this when the dib is 1bpp and has a black/white colour
table. In such cases this resulted in a monochrome bitmap being
StretchBlt'ed which is clearly incorrect since we then start using
text and bkgnd colours.
2003-11-12 22:42:26 +00:00
Huw Davies
d7a9d4bd2e
CreateDIBSection ignores the supplied values of biClrUsed and
...
biClrImportant and calculates them from biBitCount.
2003-11-11 00:27:10 +00:00
Dave Belanger
aadf9efb86
In CreateDIBitmap, the fact that the bits init flag is set or not
...
doesn't have anything to do with the color state of the DIB.
2003-10-15 02:32:00 +00:00
Dave Belanger
4db092c0eb
Improvement on the code that deals with setting the color map in
...
GetDIBits.
2003-10-11 05:23:45 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Steve Lustbader
473d6cbd27
StretchDIBits: avoid crash on null pointers.
2002-11-25 01:10:04 +00:00
Alexandre Julliard
547cdc2b02
Made gdi compile with -DSTRICT.
2002-11-22 22:16:53 +00:00
Michael Stefaniuc
28a632a830
Some -DSTRICT fixes.
2002-11-21 21:50:04 +00:00
Patrik Stridvall
1298eb4053
Fixed mismatches between the Wine headers and the Microsoft headers.
2002-10-23 18:50:10 +00:00
Alexandre Julliard
aface53759
Fixed a number of dll separation issues.
2002-08-28 22:35:23 +00:00
Alexandre Julliard
1c4b5c40bf
Moved a large number of 16-bit functions to a separate gdi16.c file.
2002-08-16 00:42:06 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
d8a9244fc4
Added function table to GDI objects for better encapsulation.
...
Removed some direct accesses to the bitmap structure.
Fixed handling of stock bitmap if selected in multiple DCs.
Some minor fixes to the DC function table.
2002-05-31 18:43:22 +00:00
Andreas Mohr
757e7cb40d
Replace SELECTOR_AllocBlock and SELECTOR_FreeBlock with standard Win16
...
selector calls.
2002-05-08 00:20:40 +00:00
Alexandre Julliard
e21c15e39d
Changed the GDI driver interface to pass an opaque PHYSDEV pointer
...
instead of a DC structure.
Removed some direct accesses to the DC structure from the drivers.
Got rid the bitmap driver.
2002-03-28 22:22:05 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Alexandre Julliard
9fcd89a5d8
Removed unnecessary includes.
2001-12-17 22:12:23 +00:00
Alexandre Julliard
87abe2f61c
Create a color bitmap in CreateDIBitmap even with a black&white DC.
2001-08-20 18:04:09 +00:00
Alexandre Julliard
e22a1e68cf
Use the passed hdc in CreateDIBitmap instead of creating a new one.
2001-08-17 00:07:42 +00:00
Alexandre Julliard
658cdb4412
Make sure we don't hold the GDI lock when loading drivers.
2001-08-15 23:33:20 +00:00
Andreas Mohr
1d8ef194e8
DIB_GetBitmapInfo didn't recognize BITMAPV4/5HEADER.
2001-08-03 18:11:23 +00:00
Alexandre Julliard
6bbc745dde
Moved the 16-bit pointer to the DIB bits out of the driver-specific
...
structure and into the main bitmap structure. Removed
CreateDIBSection16 from the driver interface.
2001-07-22 23:13:08 +00:00
Patrik Stridvall
044855c6ec
Documentation fixes.
2001-07-11 18:56:41 +00:00
Patrik Stridvall
01d5e5b071
Documentation fixes.
2001-07-02 19:59:40 +00:00
Patrik Stridvall
17fd4e3816
Documentation name fixes.
2001-06-28 18:04:41 +00:00
Marcus Meissner
183eae9096
Multiple *ptr++ constructs in one expression have undefined behaviour,
...
moved them out of the expression.
2001-06-14 19:22:55 +00:00
Andreas Mohr
f32f918123
Spelling fixes.
2001-04-20 18:36:05 +00:00
Patrik Stridvall
d0a41774a3
Documentation ordinal fixes.
2001-02-14 23:11:17 +00:00
James Abbatiello
c559f3fc69
In CreateDIBSection, the offset into the file mapping does not have to
...
be a multiple of the memory allocation granularity.
2001-02-12 19:40:28 +00:00
James Juran
f4d5fefb0a
Add <string.h> to files that needed it.
2001-01-26 20:43:40 +00:00
Joerg Mayer
4d75640d79
Fixed some signed/unsigned warnings.
2001-01-10 22:45:33 +00:00
Ove Kaaven
a32ddc0f8d
Implemented Get/SetDIBColorTable.
2000-11-25 21:42:00 +00:00
Alexandre Julliard
2239abb9f9
Allocate DC objects on the process heap, and removed WIN_DC_INFO
...
structure (based on a patch by Ken Coleman).
2000-11-05 02:05:07 +00:00
Alexandre Julliard
908464d448
Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
...
Various warning fixes.
2000-11-01 03:11:12 +00:00
Eric Pouech
26501596da
Fixed fallback code for StretchBlt on RLE DIBs with gaps.
2000-09-10 03:13:41 +00:00
Alexandre Julliard
2a2321bbca
Authors: Alexandre Julliard <julliard@codeweavers.com> (for Corel), Albert den Haan <albertd@corel.com>
...
Added syslevel locking for GDI operations.
Propagate the changes through the graphics code.
2000-08-19 21:38:55 +00:00
Alexandre Julliard
946a4448af
Cleaned up a few USER dependencies.
2000-07-30 13:50:27 +00:00
Stephane Lussier
23259ce5c9
In CreateDIBSection function, if hdc is NULL it now uses the desktop DC
...
instead of failing.
2000-07-11 22:04:44 +00:00
Alexandre Julliard
a660c7903f
Moved DIB_FixColorsToLoadflags to cursoricon.c.
2000-06-03 20:45:20 +00:00
Ove Kaaven
8b9f33851a
Added DIB_CreateDIBSection with extra parameter ovr_pitch, added
...
ovr_pitch to pCreateDIBSection in DC_FUNCS. If ovr_pitch is nonzero,
it is a pitch override (specifies bytes per line), and tells to treat
the offset parameter as an already-mapped virtual memory address (if
the section parameter is zero). Fixed a DIB status init bug in
creating DIB sections from file mappings (if created from mapping, the
DIB is *not* really InSync).
2000-04-29 16:47:07 +00:00
Patrik Stridvall
2d6457c11a
Added/fixed some documentation reported by winapi_check.
2000-03-28 20:22:59 +00:00
Patrik Stridvall
0ee98cc39f
Fixed ANSI C violations.
2000-02-26 13:17:55 +00:00
Marcus Meissner
718b0e4059
Corrected arguments in DIB_DeleteDIBSection.
2000-01-23 02:18:52 +00:00