Commit Graph

243 Commits

Author SHA1 Message Date
Eric Pouech
578621349a Check if dc has been created before using it. 1999-05-22 18:41:25 +00:00
Marcus Meissner
ddca315388 Replaced all occurences of SYSMETRICS_xx and sysMetrics[SM_xx] by
GetSystemMetrics(SM_xx), removed no longer needed includes of
sysmetrics.h.
1999-05-22 11:33:23 +00:00
Pascal Lessard
8903e536fb Add some null checking in the Get/SetBitmapBits functions. 1999-05-22 10:39:00 +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
Alex Korobka
98447497b7 Rearranged PAINT_RedrawWindow() so that it first recursively updates
invalid regions and only then starts sending out messages. This should
help with reentrancy during message processing and now it needs just
one (or none) scratch region for all there is to do. Also, small fixes
for SetWindowPos().
1999-05-08 17:57:09 +00:00
Patrik Stridvall
896889f317 ANSI C fixes. 1999-05-08 12:50:36 +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
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
Alexandre Julliard
06c275a643 Converted to the new debugging interface (done with the help of the
script written by Patrik Stridvall).
1999-05-02 14:32:27 +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
585c8466ab Several improvements to Enhanced MetaFile playback. 1999-05-02 09:23:51 +00:00
Pavel Roskin
ffd5e82b97 LoadImageW fixed for hicolor displays. 1999-05-01 10:41:02 +00:00
Patrik Stridvall
a9a671d7ca Fixed ANSI compabillity. 1999-04-25 19:01:52 +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
0f8bc5b5c7 Fixed ANSI compabillity. 1999-04-22 16:27:50 +00:00
Michael Veksler
ff5ae3dd65 Removed some includes of 16 bit API. 1999-04-22 15:26:11 +00:00
Karl Lessard
b5e41aa5e2 Fixed coordinates conversion in OffsetClipRgn. 1999-04-22 14:59:21 +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
Pavel Roskin
5b14b535c8 LookupIconIdFromDirectoryEx16() fixed: if GetSystemPaletteEntries()
returns 0, it is interpreted as if it were 256.
1999-04-18 09:34:51 +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
Juergen Schmied
c45bbee66b Changed ressource dir structures.
Adapted FindBestIccon/FindBestCursor.
1999-04-11 11:46:32 +00:00
Luc Tourangeau
3ef75725fd Ensure that the bitmap is properly initialized when created with the
LR_CREATEDIBSECTION flag.
1999-04-10 16:36:15 +00:00
Ulrich Weigand
466cd44484 Added GdiSignalProc() stub. 1999-04-01 11:46:02 +00:00
Ulrich Weigand
d8379a64cc LoadBitmap16()/LoadImage16() calling sequence simplified. 1999-04-01 10:08:58 +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
Alex Korobka
4f1ac05dea Moved hrgnUpdate from client to window coordinates, made nonclient
painting depend on the update region, reworked SetWindowPos() and
RedrawWindow() to speed up update region calculation, made -desktop
work properly, added WM_CANCELMODE here and there, fixed several
window activation bugs that crept in since the last time.
1999-03-28 09:37:57 +00:00
Huw D M Davies
e42ee26d9a Fixed {S|G}etBitmapBits in x11drv. Removed BITMAP_GetPadding. 1999-03-27 15:59:12 +00:00
Huw D M Davies
8a5eb4de6a Fixed metafile recording of CreatePatternBrush. 1999-03-27 15:55:00 +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
Marcus Meissner
c600afbd4b CURSORICON_Destroy: missing WINAPI added. 1999-03-24 14:55:37 +00:00
Marcus Meissner
6b9dd2e098 Lots of warning fixed, one missing WINAPI in ddraw.c added. 1999-03-18 17:39:57 +00:00
Jim Aston
2e1cafa288 Renamed wintypes.h to windef.h. 1999-03-14 16:35:05 +00:00
Caolan McNamara
ae8a748aa1 Added metafile support for ExtFloodFill. 1999-03-14 13:40:12 +00:00
Caolan McNamara
8e5e588b8e Added support for alternate DIBBITBLT layout. 1999-03-13 12:47:36 +00:00
Ulrich Weigand
50a0915101 Implemented Win95-style shared cursor/icon cache.
Merged NE and PE resource handling.
1999-03-10 14:00:29 +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
David Luyer
ee517e863e - fixed missing stdlib.h and string.h includes everywhere
- removed a couple of unneeded stdlib.h and stdio.h includes
1999-02-28 12:27:56 +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
Marcus Meissner
61afa33b03 Some more recursive include fixes/optimizations. 1999-02-22 10:16:00 +00:00
Marcus Meissner
317af320cf Optimized include/*.h: (recursively) include all headers needed by
this .h file, but only those. Necessary fixes to a lot of .c files,
started optimizing "windows.h" away from some of them. Moved
GetCurrentTask prototype to wine/winbase16.h.
1999-02-17 13:51:06 +00:00
Eric Pouech
b9544f159d Changed some functions prototypes (were returning void). 1999-02-14 14:09:42 +00:00
Brad Pepers
0bdff36d38 WinG fixes. 1999-02-09 15:37:16 +00:00
Huw D M Davies
7bb6fd1db3 GetMetaFileBitsEx should work in bytes not words. 1999-02-09 15:32:19 +00:00
Ulrich Weigand
4f85bad39e Change fault handler 'addr' argument to LPCVOID. 1999-02-09 15:30:22 +00:00
Paul Quinn
f8db63bbc0 GetCursorPos is actually a BOOL. 1999-02-09 14:24:45 +00:00
Zygo Blaxell
1084b2cbff Fix types of GetDIBits functions (LPSTR should be LPVOID). 1999-02-09 14:13:12 +00:00