Commit Graph

105 Commits

Author SHA1 Message Date
Dmitry Timoshkov 270bc587d8 Move implementation of CreateDC16 to CreateDCA. 2001-04-16 18:56:45 +00:00
Francois Gouget 4f44845da3 GetDeviceCaps: make sure the devCaps field is not NULL before
dereferencing it.
2001-04-09 18:34:10 +00:00
Ove Kaaven 27398d4966 Implemented Get/SetDeviceGammaRamp. 2001-03-20 01:55:18 +00:00
Patrik Stridvall d0a41774a3 Documentation ordinal fixes. 2001-02-14 23:11:17 +00:00
Patrik Stridvall 2b3aa616e8 Added/modified documentation for function arguments. 2000-12-01 23:58:28 +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 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 4c18636d4e Use GetStockObject() instead of the magic STOCK_* handles. 2000-10-29 01:22:15 +00:00
Marcus Meissner 97827ead5b Stubbed GetDeviceGammaRamp. 2000-10-13 20:22:59 +00:00
Marcus Meissner 13de9b3579 WORD is unsigned, so we need to transalte 0xffff into -1. 2000-09-26 22:45:05 +00:00
Andreas Mohr 007fb24088 Added support for non-deletable system brushes and pens created by
USER.
2000-09-16 20:53:51 +00:00
Gerard Patel feb87374ba Make GetDeviceCaps16 (hdc, NUMCOLORS) not return -1 for 16 bits programs. 2000-09-07 18:37:52 +00:00
Alexandre Julliard 2ad1a94d28 Backed out font codepage change. 2000-08-25 21:35:11 +00:00
Hidenori Takeshima 7901c0b505 Handle the codepage of fonts if supported by the graphics driver. 2000-08-20 20:08:35 +00:00
Alexandre Julliard 9bfb173c22 Fixed GDI locking in GetDeviceCaps. 2000-08-20 18:49:08 +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
Phillip Ezolt 3c41fabc6a Fixed CreateDC to work properly when it is called with a device. 2000-08-01 02:15:34 +00:00
Gerard Patel 5131f21fb2 hookThunk was not initialized in GetDcState. 2000-06-12 21:52: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
Patrik Stridvall 2d6457c11a Added/fixed some documentation reported by winapi_check. 2000-03-28 20:22:59 +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
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
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 f64e0d7e37 Add stubs for Get/SetLayout(). 1999-11-21 00:49:50 +00:00
Ulrich Weigand f86aab84ba DC hook proc thunk management simplified. 1999-09-20 18:47:14 +00:00
Huw D M Davies 304d9a4737 Change interfaces to THUNK_Alloc/Free slightly and make them non-static.
Remove relays for win16drv from CallBack table, instead use build to
generate them directly in graphics/win16drv/prtdrv.c.
If Printer AbortProc is 16bit then allocate thunk and store that as a
32bit proc in DC.  Setting of abortprocs now done in the correct place
(i.e. not in the driver).
1999-09-13 15:15:45 +00:00
Huw D M Davies d016b0a02d Implement handling of 32 bit AbortProc. 1999-07-24 12:09:34 +00:00
Patrik Stridvall d96e1f133e Moved code to the X11 driver. 1999-07-04 13:31:03 +00:00
Noel Borthwick 86b686fb8c From CreateCompatibleDC, pass the device name associated with the
source DC in order to allow PSDRV_CreateDC to locate the printer info
for the device.
1999-06-05 08:52:30 +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
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
Ulrich Weigand e6ea9ebb5e Check for busy DCE moved to DCHook16(). 1999-05-08 09:50:52 +00:00
Francis Beaudet 179e8deb6d Check if DC is busy before deleting it. 1999-05-04 16:55:22 +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
Patrik Stridvall b4b9fae671 New debug scheme with explicit debug channels declaration. 1999-04-19 14:56:29 +00:00
Huw D M Davies b94e43303a Change (32 bit) HMETAFILEs to GDI objects (HMETAFILE16s remain as
global memory handles).  Fixed disk-based MetaFiles.  Better
separation between MetaFile playback and the metafiledrv.
1999-04-15 16:46:51 +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
Marcus Meissner de43ef45ec Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
1999-02-28 19:56:59 +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
Patrik Stridvall 8d8703cb48 Moved some more code to the X11 driver. 1999-02-04 14:05:38 +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
Alexandre Julliard 638f169b1e Recovery of release 990110 after disk crash.
See Changelog for changes between 990103 and 990110.
1999-01-17 16:32:32 +00:00
Paul Quinn 1beaae5f9e Lots of new defines and stubs. 1998-12-15 15:38:36 +00:00
Alexandre Julliard 0c0e3bebb8 Authors: Francis Beaudet <francis@macadamian.com>, Sylvain St-Germain <sylvain@macadamian.com>, Thuy Nguyen <thuy@macadamian.com>
Lots of new stubs.
1998-12-10 15:49:22 +00:00
Ulrich Weigand e62cbca0fb Removed some unnecessary FIXME outputs. 1998-11-26 15:06:47 +00:00
Huw D M Davies 9c68faadab Remove X_DC_INFO from DC and make it behave like any other PDEVICE. 1998-11-25 12:36:03 +00:00
Huw D M Davies 2bd3acf7c8 Moved DC_SetupGC functions to graphics/x11drv/graphics.c. 1998-11-22 17:45:06 +00:00
Ulrich Weigand 7119a6ea5e Bugfix: SetDCState did not reset clipping region to empty. 1998-11-01 14:05:33 +00:00