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
Matthew J. Francis
ed744e787c
Fixed top-down DIB handling in StretchDIBits32().
1999-10-24 17:28:23 +00:00
Alexandre Julliard
54e477588c
Backed out previous change (breaks with metafiles).
1999-10-13 16:16:23 +00:00
Eric Pouech
2818a67635
Optimized StretchDIBits to call SetDIBitsToDevice (when src & dst
...
dimensions are equal).
1999-10-13 15:40:17 +00:00
Francois Boisvert
3d696d93de
CreateDIBitmap creates a monochrome bitmap only when the first color of the
...
colormap is black followed by white. Otherwise it creates a color bitmap.
1999-09-23 11:40:38 +00:00
Noel Borthwick
d05b7beb5a
- Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
...
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Karl Lessard
c73a1fd62d
Some more minor GDI fixes.
1999-09-19 14:15:41 +00:00
Huw D M Davies
1bb9860547
Small DIB fixes.
1999-09-19 12:04:17 +00:00
Karl Lessard
dee464c4c6
Fixed GetDIBits problems.
1999-09-14 11:51:01 +00:00
Kai Morich
9e9fc1b9b6
Relaxed parameter checking for GetDIBits.
1999-09-13 15:13:24 +00:00
Karl Lessard
41875795cc
Ian Ward
...
Dan Langlois
Speed up conversion between XImages and DIBSections.
1999-09-03 16:49:17 +00:00
Gerard Patel
9dd16f0a1a
Added protection against possible memory corruption.
1999-08-15 16:38:07 +00:00
Alexandre Julliard
156570906f
Converted to the new debug interface, using script written by Patrik
...
Stridvall.
1999-05-23 10:25:25 +00:00
Michael Veksler
92ae219e04
Removed redundant include of winbase.h from winuser16.h.
...
Moved types from winbase.h to winuser16.h .
1999-05-02 11:39:09 +00:00
Huw D M Davies
56166a6f85
Implemented recording of StretchDIBits and SetDIBitsToDevice and
...
playback of SetDIBitsToDevice. Cleaned up PlayMetaFileRecord a bit.
1999-04-19 16:45:24 +00:00
Patrik Stridvall
b4b9fae671
New debug scheme with explicit debug channels declaration.
1999-04-19 14:56:29 +00:00
Huw D M Davies
608629bc13
Fixes for upside-down DIBs.
1999-04-18 12:07:00 +00:00