Commit Graph

117 Commits

Author SHA1 Message Date
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
Patrik Stridvall b87fe2e9bf More code moved to the X11 driver (bitmap and palette and misc). 1999-04-01 08:16:08 +00:00
Huw D M Davies cc3e5d7823 Allow depth of DIB to differ from depth of bitmap in GetDIBits. 1999-03-25 10:48:01 +00:00
Alexandre Julliard a396029270 Large-scale renaming of all Win32 functions and types to use the
standard Windows names.
1999-02-26 11:11:13 +00:00
Huw D M Davies 3da9ff32ff Fixes buffer overrun problems with GetDIBits. 1999-02-24 09:47:37 +00:00
Ulrich Weigand 4f85bad39e Change fault handler 'addr' argument to LPCVOID. 1999-02-09 15:30:22 +00:00
Zygo Blaxell 1084b2cbff Fix types of GetDIBits functions (LPSTR should be LPVOID). 1999-02-09 14:13:12 +00:00
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +00:00
Huw D M Davies a38d84d854 GetSystemPaletteEntries returns palette size if entries==NULL.
Use this instead of COLOR_GetSystemPaletteSize.
1998-11-30 11:18:26 +00:00
Eric Kohl c011267b97 Fixed retrieval of invalid palette data in GetDIBits(). 1998-11-15 18:10:11 +00:00
Dirk Thierbach f1ac4ef72b Fixed bug in StretchDIBits32 (wrong origin). 1998-11-15 17:25:44 +00:00
Huw D M Davies 7b06d98404 Fixes a few of the many compiler warnings. 1998-11-14 17:13:51 +00:00
Eric Pouech cd67edd365 Prevent CreateDIBSection from seg faulting when one dimension of
section is 0.
1998-11-08 16:27:02 +00:00