Commit Graph

341 Commits

Author SHA1 Message Date
Dimitrie O. Paun 4d48dd3048 Removed HEAP_xalloc. 2000-04-30 12:22:18 +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
Huw D M Davies f46e1d8a51 Fix return value for OffsetRgn if x and y are 0. 2000-04-18 11:54:29 +00:00
Huw D M Davies c9315fe820 Tidy up of PlayEnhMetaFileRecord - fixes PolyPoly* functions. 2000-04-18 11:52:58 +00:00
Huw D M Davies 2cf4ebc1aa Fixes and cleans up some of the GetEnhMetaFile* functions.
Fixes scaling of EMFs in playback.  Will probably be right
when World Transforms work properly...
2000-04-13 15:57:34 +00:00
Patrik Stridvall 54fe8380a1 Fixed some issues reported by winapi_check. 2000-04-06 20:21:16 +00:00
Junichi Kuchinishi 34b7b3f74f Added conversion from DBCS lpDx to WCHAR lpDx. 2000-04-06 20:12:16 +00:00
Huw D M Davies 280aeb9689 Delete objects after use in EnumEnhMetaFile.
Make PlayEnhMetaFile call EnumEnhMetaFile.
Move EnumEnhMetaFile prototype to wingdi.h.
2000-03-30 20:22:41 +00:00
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +00:00
Alexandre Julliard a7116b0559 Fixed memory allocations. 2000-03-28 20:02:37 +00:00
Alexandre Julliard a08e2cf19f Merged DDBitmap and physBitmap into the generic bitmap structure
(suggested by Andrew Lewycky).
2000-03-28 13:37:50 +00:00
Hidenori Takeshima e2905ea478 Fixes for i18n. 2000-03-26 14:43:22 +00:00
Francois Gouget 6d77d3a1df Use min/max instead of MIN/MAX. 2000-03-25 21:44:35 +00:00
Alexandre Julliard b52aed4e10 Moved LoadImage and related functions to cursoricon.c. 2000-03-24 21:40:30 +00:00
Alexandre Julliard d6c0d8642c Moved gdi/user thunking functions into their respective dlls.
Moved keyboard.spec into user dll.
2000-03-24 21:38:30 +00:00
Alexandre Julliard 28c3a1baf3 Moved graphics initialisation to the x11drv/ttydrv dll init code.
Merged event, keyboard and mouse drivers into USER driver.
2000-03-20 18:21:19 +00:00
Alexandre Julliard aafd54dab9 Moved font resource functions out of the X11 driver. 2000-03-19 21:20:54 +00:00
Alexandre Julliard 07e4213642 Added GetDCOrgEx in graphics device interface and removed X11 code
from dc.c.
2000-03-19 21:19:21 +00:00
Dimitrie O. Paun 9ad9636725 Removed most calls to xmalloc/xrealloc. 2000-03-19 14:29:50 +00:00
Alexandre Julliard 1dac57f05f Created separate dlls for user,gdi,ttydrv,x11drv.
Fixed Winelib argc handling (thanks to Eric Pouech).
2000-03-19 12:08:09 +00:00
Alexandre Julliard 62f824f7cb Avoid calling the *Rect USER functions from inside GDI.
Moved a few USER functions to a more appropriate location.
2000-03-18 22:12:33 +00:00
Rein Klazes ad5d10f223 Correct rounding of the result in MulDiv16(). 2000-03-12 21:12:38 +00:00
Alexandre Julliard 09f8a751e8 Lilia Roumiantseva
cbCountSizeOfEnhMetafile callback function instead of increasing a
contents of the pointer to the size increased the pointer itself.
2000-03-04 19:18:23 +00:00
Serge Ivanov 15f86464c0 CURSORICON_IconToCursor: inconsistent Lock/Unlock 2000-03-04 19:07:08 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Juergen Schmied 44016841cf Fixed allocation of 16x16 icons. 2000-02-25 20:52:01 +00:00
Serge Ivanov ed5ac5f60b Not all region functions updated 'type' field to reflect current
region state.
2000-02-25 20:42:11 +00:00
Alexandre Julliard 90476d6b4a Moved SystemHeap allocations to the process heap. 2000-02-16 22:47:24 +00:00
Matthew Cline 20512fd854 GetObjectA() now rejects GDI handles which are invalid. 2000-02-13 16:00:17 +00:00
Alexandre Julliard fc296da4e2 Removed extra includes from ole.h and wingdi.h. 2000-02-10 19:39:48 +00:00
Jeremy White d3e22d9d55 Removed #include of wingdi.h and windef.h from winuser.h (and resolved
the resulting compilation failures).
2000-02-10 19:03:02 +00:00
Marcus Meissner 382354e687 GetDeviceCaps: spot yet unsupported accesses to the DeviceCaps struct. 2000-01-30 22:19:08 +00:00
Alexandre Julliard 0dd3655fd0 Removed debugstr.h. 2000-01-29 19:49:58 +00:00
Marcus Meissner 718b0e4059 Corrected arguments in DIB_DeleteDIBSection. 2000-01-23 02:18:52 +00:00
Peter Hunnisett f2b8492285 - Added some missing EMR record types and updated and fixed others
- Added stubs and headers for CreateColorSpace,DeleteColorSpace and SetColorSpace
- Added header for SetICMMode
- Added ability to play more enhanced metafile records
2000-01-15 22:17:49 +00:00
Gerard Patel 82f37be914 Removed DeleteObject call left over from previous patch. 2000-01-15 22:11:21 +00:00
Gerard Patel d1795f674c Avoid deleting of the default 1x1 bitmap for memory DCs. 2000-01-09 20:52:53 +00:00
Huw D M Davies c553924ddd Move DCFuncs ExtTextOut and GetTextExtentPoint to Unicode.
Map a few Unicode chars to the first 0xff in psdrv.
Don't expect x11drv to display Unicode chars yet.
1999-12-26 00:47:03 +00:00
Peter Hunnisett 27548eeb4a Added support for playing more record types (still more to come). 1999-12-25 22:58:59 +00:00
Huw D M Davies 7c57a72c57 PlayMetaFile and EnumMetaFile should work if the hdc is a
(enh)metafile DC.
1999-12-20 03:56:09 +00:00
Eric Pouech a35e345c04 Allows DrawText(16|A|W) to get a NULL string as parameter. 1999-12-12 19:38:17 +00:00
Peter Hunnisett 0cdc4d9307 - Implemented GetEnhMetaFilePaletteEntries
- Added fixme stubs for SetMetaRgn and GetMetaRgn
- Added support for playing several enhanced metafile records
- Added beginnings of implementation for playing the rest of the
  enhanced metafile records
1999-12-11 23:18:10 +00:00
Dimitrie O. Paun dd03cc19fd Make use of the DEFAULT_DEBUG_CHANNEL where appropriate.
Use the default version of FIXME, ERR, WARN, TRACE for the default
channel.
1999-12-08 03:56:23 +00:00
Peter Hunnisett c821a75b9c - Added stub for conversion from meta to enhance meta files.
- Implemented GetEnhMetaFileBits for enhanced meta files.
1999-12-04 03:56:53 +00:00
Ulrich Weigand d1682aab05 Removed some unaligned accesses. 1999-11-21 02:21:17 +00:00
Huw D M Davies cdf191a205 Stub for GetFontData16. 1999-11-21 02:01:41 +00:00
Huw D M Davies f64e0d7e37 Add stubs for Get/SetLayout(). 1999-11-21 00:49:50 +00:00
Lionel Ulmer acc7467c03 Added the possibility to have mouse movements reported relative to
Wine's mouse driver.
1999-11-07 21:25:57 +00:00
Ian Schmidt e04b3e9a02 Removed unnecessary USER call from GetFontMetrics. Fixes native USER. 1999-11-04 01:45:53 +00:00
Francis Beaudet 12668f5e2f Return correct height and width for stock fonts in GetObject. 1999-10-31 17:32:26 +00:00