Commit Graph

163 Commits

Author SHA1 Message Date
Jon Griffiths 39bbcb48b6 Use correct tag names for compatability with fwd decls.
Some old code checks that _WINDEF_ is defined in windef.h.
2004-09-20 19:13:16 +00:00
Dmitry Timoshkov a489fb5a8a Move MulDiv prototype from wingdi.h to winbase.h where it belongs. 2004-09-06 20:28:01 +00:00
Francois Gouget 493cf88bb6 Remove these Wine-only types:
EnumICMProfilesProcCallback
  PEXCEPTION_REGISTRATION_RECORD
Don't test these Wine-only types:
  EMRSETTEXTJUSTIFICATION
  EXCEPTION_REGISTRATION_RECORD
Remove EXCEPTION_FRAME, it doesn't exist at all.
2004-08-22 02:07:13 +00:00
Robert Shearman 3e80fb4611 - Fix type in GetRandomRegion function.
- Add prototype to header.
2004-08-20 19:26:28 +00:00
Andreas Mohr ee5445da81 Added OBJ_COLORSPACE define. 2004-08-18 20:58:59 +00:00
Andreas Mohr 5d91a63add Move some OpenGL defines from the private wgl.h header to where they
belong.
2004-08-16 20:07:06 +00:00
Andreas Mohr fe2dcf7439 Several GDI object handling functions are defined to take a HGDIOBJ
instead of a HANDLE.
2004-07-08 20:17:59 +00:00
Eric Pouech bde649c356 Added some missing prototypes. 2004-05-18 20:43:29 +00:00
Kevin Koltzau ac05d0dd29 Partial stub of GdiAlphaBlend/AlphaBlend. 2004-04-14 19:35:24 +00:00
Dimitrie O. Paun 64fd63f754 Add struct name for BITMAPINFO. 2004-04-09 19:02:07 +00:00
Mike McCormack 23d036719d Move EMR*16 definitions to wingdi.h, as they're part of the WIN32 API. 2004-03-29 23:04:11 +00:00
Dmitry Timoshkov 21fc3c8067 CreateDIBSection takes a const pointer to BITMAPINFO. 2004-03-12 19:46:12 +00:00
Kevin Koltzau f5fc26fe3b Add define MAKEROP4. 2004-02-03 21:29:22 +00:00
Marcus Meissner 219731197a Added stub for EnumICMProfilesA/W. 2004-01-13 05:20:17 +00:00
Rein Klazes 62fb1919f8 - Add a bitmap resource with the font icons: TrueType, printer,
OpenType and Type 1. Modify the code so that they will be used if or
  when the needed bits are passed to the FontEnumProc.
- Use EnumFontFamiliesEx instead of EnumFontFamilies.
- Fix the fixme in the WM_MEASUREITEM message handler.
2003-12-30 22:08:17 +00:00
Kirill Smelkov c3c33a042f Added SetDCPenColor prototype. 2003-12-01 22:35:10 +00:00
Alexandre Julliard 2fdc4dc5dd Added missing prototypes for some implemented functions. 2003-11-26 04:11:56 +00:00
Ulrich Czekalla 16ff6689df Implemented SetDCPenColor and SetDCBrushColor. 2003-11-05 01:43:57 +00:00
Dimitrie O. Paun 643b7c97ac The Get[RGB]Value() macros should return a BYTE, not the same type as
the one passed in.
2003-09-11 20:40:57 +00:00
Dimitrie O. Paun 53f9c21fb7 Use angle brackets (<>) rather than quotes ("") for the include
directives in our .h files. This should avoid some potentially nasty
surprises for Winelib apps.
2003-08-28 21:43:34 +00:00
Dmitry Timoshkov 3a910c7d1f Convert CreateDC to unicode in the driver interface. 2003-08-12 20:42:18 +00:00
Huw Davies fa28b5eac2 GetRandomRgn(...,1) returns the current clipping rgn.
Moved GetRandomRgn and the MetaRgn functions to objects/clipping.c.
2003-05-19 19:03:19 +00:00
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