Commit Graph

141 Commits

Author SHA1 Message Date
Jon Griffiths 7c6ebddd74 Protect the TEXTMETRIC struct from redefinition. 2003-03-15 19:35:52 +00:00
Alexandre Julliard 80774de724 Authors: Mike McCormack <mike@codeweavers.com>, Huw Davies <huw@codeweavers.com>
- make world transforms work in EMFs
- fix declaration of GDICOMMENT_* macros
- refuse to load unaligned EMFs
- fix SetWinMetaFileBits
2003-02-14 23:30:27 +00:00
Warren Baird 93a8687efc Added BYTE explicit casts in RGB macro definition. 2003-02-12 01:15:27 +00:00
Andrew John Hughes 6f929659bd Extended SetSystemPaletteUse to deal with error conditions. 2003-02-01 00:36:38 +00:00
Andrew John Hughes f1028ea28b - DeviceCapabilities16 now calls PSDRV_DeviceCapabilities.
- ExtDeviceMode16 now calls PSDRV_ExtDeviceMode.
- Extended switch statement in DeviceCapabilities to handle new
  options.
- Added comments to functions.
2003-01-31 03:24:33 +00:00
Dimitrie O. Paun cef5961d2b Eliminate lots of __WINE__ conditionals from the headers. 2003-01-03 19:12:55 +00:00
Dimitrie O. Paun d985e66f8a DEVMODE structure uses short not SHORT for its fields. 2002-12-23 01:33:00 +00:00
Dimitrie O. Paun 27a8ff25e0 Added missing GetWinMetaFileBits() declaration. 2002-12-19 22:15:53 +00:00
Ove Kaaven 0e32a2bf85 Protect PALETTEENTRY and LOGPALETTE with #ifndefs. 2002-12-02 18:58:46 +00:00
Steve Lustbader 361b9e8763 Stub for SetDCBrushColor. 2002-11-21 03:56:29 +00:00
Patrik Stridvall c99c022a78 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-13 04:13:42 +00:00
Patrik Stridvall ba9dc78e39 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-11-04 22:43:24 +00:00
Patrik Stridvall 1e22e3b3ba Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-29 21:23:33 +00:00
Patrik Stridvall 1298eb4053 Fixed mismatches between the Wine headers and the Microsoft headers. 2002-10-23 18:50:10 +00:00
Vincent Béron 95ee2e2be4 Fixed typo which prevented correct compilation of code using the
Get{C,M,Y}Value macros.
2002-09-16 22:35:24 +00:00
Juraj Hercek fc453968f0 - fixed typo error in CMYK definition (COLOREF -> COLORREF)
- added tags to structures (_OFSTRUCT, _FILETIME, ...)
2002-09-16 19:28:36 +00:00
Steven Edwards ca14f24af4 Fixed typo in BITMAPV4HEADER stucture. 2002-09-04 18:47:32 +00:00
Ulrich Czekalla 550b97e7cd Added temp fix for world transform bug in SetWindowOrgEx handler.
Added handlers for EMR_SETTEXTJUSTIFICATION and EMR_SETLAYOUT.
2002-06-24 23:09:19 +00:00
Huw D M Davies 8da26fb26a - Implement AddFontResource*, add stubs for RemoveFontResource*.
- Add support for GGO_BEZIER and a few bug fixes for GGO_NATIVE.
- Much better support for non ansi charsets in font matching.
- Proper implementation of GetTextFace for gdi font.
- Load fonts that are listed in the registry but aren't in
  %WINDOWSDIR%\fonts.
- Revert TranslateCharsetInfo to use codepage 1252 with ANSI_CHARSET.
- Add support for VIETNAMESE_CHARSET and SYMBOL_CHARSET.
2002-06-22 01:19:29 +00:00
Alexandre Julliard 85844e506d Authors: Jesse Allen <uh_ja@gmx.net>, Lionel Ulmer <lionel.ulmer@free.fr>
Added implementation of wglSwapLayerBuffers.
2002-06-10 02:28:42 +00:00
Alexandre Julliard 376e65092a Better separation of the palette functions.
Removed the palette driver.
2002-06-02 21:40:24 +00:00
Vincent Béron 9a62491660 Removed trailing whitespace. 2002-05-31 23:06:46 +00:00
Huw D M Davies 5b01b50631 Implement GetTextExtentPointI and add support for ETO_GLYPH_INDEX. 2002-04-03 22:08:27 +00:00
Dmitry Timoshkov 2903ca1bbb Implement GetGlyphIndices. Tweak GetCharacterPlacement to use it. 2002-04-03 20:41:14 +00:00
Leo van den Berg 39bcf9d6d4 Added some stubs. 2002-03-19 02:14:34 +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
Huw D M Davies d44b4280cb Fix PAN_FAMILYSTYLE_INDEX name. 2002-02-08 17:10:18 +00:00
Patrik Stridvall f94462fb75 Move __stdcall/__cdecl to the right place. 2002-01-31 23:22:07 +00:00
Dmitry Timoshkov 6b6596a1e3 Fixed packing and layout of many system structures. 2001-11-23 18:44:43 +00:00
Dmitry Timoshkov c3daf42268 Structure NEWTEXTMETRIC uses packing 4. 2001-11-14 21:23:46 +00:00
Francois Gouget d4db6821c5 Move COLORREF from wingdi.h to windef.h.
Add a prototype for GdiFlush.
2001-10-08 20:31:59 +00:00
Huw D M Davies 92bb19fed8 Move GDI_ERROR definition to wingdi.h.
Add HGDI_ERROR.
2001-09-07 15:27:51 +00:00
Marcus Meissner f30b035102 PS passthrough was sending 2 bytes too many.
Added GETSETPRINTORIENT stub.
Implemented EPSPRINTING mode changer.
2001-05-08 00:10:52 +00:00
Alexandre Julliard c7d3931863 Moved DCX_* constants to winuser.h. 2001-04-18 17:41:57 +00:00
Huw D M Davies 26ee2ca445 Fix member names in NEWTEXTMETRICEX structs. 2001-04-04 00:09:53 +00:00
Ove Kaaven 27398d4966 Implemented Get/SetDeviceGammaRamp. 2001-03-20 01:55:18 +00:00
Huw D M Davies 916a1a6c72 Fix typo in OUTLINETEXTMETRIC definition. 2001-03-13 23:31:40 +00:00
François Gouget 441f874517 Added a prototype for GetLogColorSpace. 2000-12-29 03:43:43 +00:00
Francois Gouget b065697ad8 Added GetDCBrushColor and GetDCPenColor. 2000-12-26 00:00:46 +00:00
Alexandre Julliard 982a223f36 Replaced PTR_SEG_TO_LIN macro by exported MapSL function.
Fixed a few ptr/segptr mismatches.
Moved CONV_RECT/POINT macros to wingdi16.h.
2000-12-13 20:20:09 +00:00
Brian Teague 161bc83164 Add a stub for the CAPS1 capability in GetDeviceCaps.
Define the CAPS1 bit flags in wingdi.h
Make various calls to GetDeviceCaps in DLLS use #defined values.
2000-11-29 20:02:46 +00:00
Alexandre Julliard 49556bcbf5 Cleaned up some more dependencies on Wine internal functions. 2000-11-29 18:38:24 +00:00
Nerijus Baliunas c4b8b266a9 Add new encodings ISO 8859-10 (cp28600), 8859-13 (cp28603), 8859-14 (cp28604),
8859-15 (cp28605). Add Lithuanian (Baltic) keyboard layout.
2000-11-11 00:34:32 +00:00
Francois Gouget 6c97e45546 Added missing pointer types: Pxxx or LPxxx
Fixed the definition of FONTENUMPROC
Fixed typo: TA_RTLEADING is in fact TA_RTLREADING (right to left
reading I believe)
Added missing definitions: PC_TRAPEZOID
Use DUMMYxxxNAME for anonymous struct/unions in DEVMODE
2000-11-10 22:33:45 +00:00
Patrik Stridvall 564d3802fc Fixed issue found by winapi_check. 2000-10-22 23:55:15 +00:00
Francois Gouget 6371e83259 Added a NOGDI protection.
Replaced _MAX_PATH with MAX_PATH.
#undef can be used directly on TRANSPARENT.
2000-10-13 23:12:19 +00:00
Francois Gouget d55ccfd968 Added a declaration for GetEnhMetaFileDescription. 2000-10-12 23:14:52 +00:00
Alexandre Julliard 83f52d11c1 Moved all Win16 definitions out of the standard Windows headers. 2000-09-26 22:20:14 +00:00
Francois Gouget f2e6575a90 Added a few missing macros, types and prototypes. 2000-09-22 21:04:30 +00:00
Alexandre Julliard 797f2217f3 Moved system metrics definitions to winuser.h. 2000-07-31 23:29:28 +00:00
Matthew Lake 187271092a Added some missing definitions. 2000-07-08 18:31:43 +00:00
Francois Gouget ae41e8c804 Reordered the CALLBACK and WINAPI directives so that it compiles with
old g++ versions.
2000-06-11 20:07:58 +00:00
Patrik Stridvall e4174d5d57 GetRelAbs for some reason takes 2 parameters, even though the second
one is ignored at least on Windows NT 3.51 according to Marcus Meissner.
2000-05-18 00:51:52 +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 98fde73f14 Fixed some issues reported by winapi_check. 2000-03-24 20:43:33 +00:00
Patrik Stridvall 0ee98cc39f Fixed ANSI C violations. 2000-02-26 13:17:55 +00:00
Matthew Cline 4ecb75b050 Added a PTEXTMETRIC[A|W] definition. 2000-02-12 19:26:07 +00:00
Alexandre Julliard fc296da4e2 Removed extra includes from ole.h and wingdi.h. 2000-02-10 19:39:48 +00:00
Michael Cardenas 6a52a507fd Added a bunch of macros needed for compiling Winelib apps. 2000-02-07 17:22:01 +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
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
Huw D M Davies f64e0d7e37 Add stubs for Get/SetLayout(). 1999-11-21 00:49:50 +00:00
Peter Ganten 87d95b7bc5 Stubs for PolyTextOutA/W. 1999-09-19 14:17:14 +00:00
Marcus Meissner 8388f67523 Added stub implementation for EnumDisplayDevices*. 1999-09-19 12:09:23 +00:00
Huw D M Davies 6dd35697f9 Add support for a large number of different paper sizes to PostScript
driver.
1999-09-10 14:36:49 +00:00
Huw D M Davies 4e877163cf A few more DC_ defines from Win2000. 1999-09-03 16:43:56 +00:00
Michael Veksler 4405f3c369 Removed unnecessary includes from ole related files. 1999-08-18 18:35:57 +00:00
Huw D M Davies 0f184bf01f Added more paper sizes and bin names to PPD parser. 1999-07-27 16:09:40 +00:00
Paul Quinn aaa830698c Some non-threatening fixes to some headers, as well as some casting
changes that make winelib more win32 code compatible.
1999-06-05 15:23:20 +00:00
Huw D M Davies e39b676ae9 Implement DocumentProperties, DeviceCapabilities, beginnings of
Open/Get/ClosePrinter.  Additions to PSDRV_DeviceCapabilities.
Split off WINSPOOL into its own directory.
Several functions added to DC_Funcs.
Based largely on a patch by Pascal Lessard <pascal@macadamian.com>
1999-05-17 16:20:51 +00:00
Huw D M Davies a9f55c46c1 Split off wingdi16.h from wingdi.h. Add many more #defines/typedefs
to bring wingdi.h almost upto a complete NT4.0 interface.
Fix return value of SetRectRgn().
1999-05-08 12:45:18 +00:00
Huw D M Davies 585c8466ab Several improvements to Enhanced MetaFile playback. 1999-05-02 09:23:51 +00:00
Jim Aston 10141fec52 Added some missing #defines I've run across. 1999-04-25 12:31:20 +00:00
Huw D M Davies 7603deae21 General tidy up of the MetaFile driver - make sure that everything
goes through the DCFuncs table.
1999-04-25 09:24:23 +00:00
Huw D M Davies ad1e06ef76 Added Panose defines and EXTLOGFONT[A|W]. 1999-04-24 11:47:26 +00:00
Huw D M Davies a7f2140ae9 Add Enhanced MetaFile record structures. 1999-04-22 09:51:53 +00:00
Huw D M Davies ed6d459f03 Move DM* defines from winbase.h -> wingdi.h. 1999-03-28 15:20:00 +00:00
Jim Aston 2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Paul Quinn 89b21b4c28 Many new defines, and structs to help compile MFC. As well as a few
OLE corrections from earlier.
1999-03-14 13:47:00 +00:00
Francois Gouget 7ae72f5437 It is now possible to use the standard macros for GetTextExtentPoint
and GetTextExtentPoint32.
1999-03-13 18:19:29 +00:00
Alexandre Julliard 73cc3ba131 Authors: Paul Quinn <paulq@corel.ca>, Adrian Thurston <adriant@corel.ca>
- Changed LVM_SETITEMPOSITION -> LVM_SETITEMPOSITION32
          LVM_SETITEMPOSITION16 -> LVM_SETITEMPOSITION
- Added some missing structures and definitions to wingdi.h
- Added proper defines for GetCharWidthsXXX
- Added c++ protection to wingdi.h
1999-03-13 17:12:07 +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
Bertho Stultiens 231dfa2af9 Fixed a couple of faulty names used in wine and typos so that it will
compile again after conversion from 32[AW] naming to [AW] naming.
1999-02-13 17:56:28 +00:00
Brad Pepers 0bdff36d38 WinG fixes. 1999-02-09 15:37:16 +00:00
Zygo Blaxell 1084b2cbff Fix types of GetDIBits functions (LPSTR should be LPVOID). 1999-02-09 14:13:12 +00:00
Alexandre Julliard 8da12c43a9 Group commit for recovery after disk crash.
See Changelog for changes WRT release 990110.
1999-01-17 16:55:11 +00:00
Douglas Ridgway ab9e8bc9f7 Implement TranslateCharsetInfo, change charset type to BYTE. 1999-01-01 18:41:22 +00:00
Francois Gouget 815d320795 Fixed the prototype of CreateDIBPatternBrushPt 1998-12-26 11:57:38 +00:00
Douglas Ridgway 4f7d9ed1ac Documentation for TranslateCharsetInfo. 1998-12-18 17:38:39 +00:00
Paul Quinn 1beaae5f9e Lots of new defines and stubs. 1998-12-15 15:38:36 +00:00
Veksler Michael 1346a3cd8d Move declarations from windows.h to wingdi.h and winuser.h. 1998-12-15 11:15:35 +00:00