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
Patrik Stridvall
3a9c476a03
Fixed documentation.
1999-10-31 02:07:05 +00:00
Patrik Stridvall
96336324cf
- Added missing configuration #if:s and #includes:s.
...
- Minor configuration related changes.
1999-10-24 22:13:47 +00:00
Patrik Stridvall
900290aa9f
Added Win16 variants of existing Win32 functions.
1999-10-24 21:32:43 +00:00
Matthew J. Francis
ed744e787c
Fixed top-down DIB handling in StretchDIBits32().
1999-10-24 17:28:23 +00:00
Ulrich Czekalla
e6ab9d308a
Make sure that all calls use the extended structures which are a
...
superset of the regular structures.
1999-10-24 17:26:45 +00:00
Ulrich Czekalla
04df4cffdf
Copy bitmaps properly.
1999-10-23 18:56:30 +00:00
Alexandre Julliard
54e477588c
Backed out previous change (breaks with metafiles).
1999-10-13 16:16:23 +00:00
Eric Pouech
2818a67635
Optimized StretchDIBits to call SetDIBitsToDevice (when src & dst
...
dimensions are equal).
1999-10-13 15:40:17 +00:00
Francis Beaudet
ec09a400a7
DPtoLP needs to round the result.
...
Fixed MulDiv to deal better with negative numbers.
1999-09-27 11:44:01 +00:00
Richard Cohen
8b47ec24c4
Fixed GetRandomRgn.
1999-09-27 11:41:13 +00:00
Francois Boisvert
3d696d93de
CreateDIBitmap creates a monochrome bitmap only when the first color of the
...
colormap is black followed by white. Otherwise it creates a color bitmap.
1999-09-23 11:40:38 +00:00
Ian Schmidt
31b47218c8
Added partial implementation of GetICMProfileA, required by Paint Shop
...
Pro 5.
1999-09-22 15:12:41 +00:00
Patrik Stridvall
e92331ffd0
Fixed ANSI C violations.
1999-09-20 18:52:06 +00:00
Ulrich Weigand
f86aab84ba
DC hook proc thunk management simplified.
1999-09-20 18:47:14 +00:00
Noel Borthwick
d05b7beb5a
- Add clipboard support for copying/pasting bitmaps or Pixmaps between Wine
...
and native Linux applications.
- Respond to the MULTIPLE selection request target when Wine is the
selection owner.
- Relax type checking for TARGETS selection.
1999-09-20 15:42:47 +00:00
Juergen Schmied
cb2e4d3a3c
Fixed crash when loading *.ani files.
1999-09-19 18:56:40 +00:00
Peter Ganten
87d95b7bc5
Stubs for PolyTextOutA/W.
1999-09-19 14:17:14 +00:00
Karl Lessard
c73a1fd62d
Some more minor GDI fixes.
1999-09-19 14:15:41 +00:00
Huw D M Davies
1bb9860547
Small DIB fixes.
1999-09-19 12:04:17 +00:00
Karl Lessard
dee464c4c6
Fixed GetDIBits problems.
1999-09-14 11:51:01 +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
Kai Morich
9e9fc1b9b6
Relaxed parameter checking for GetDIBits.
1999-09-13 15:13:24 +00:00
Francis Beaudet
699900bdb3
Use a special value in the hotspot coordinate to identify which HICON
...
are cursors and which are icons.
1999-09-05 12:15:49 +00:00
Huw D M Davies
fc348622ed
Fixed compiler warnings.
1999-09-04 14:25:02 +00:00
Pierre Mageau
4ac8db783d
Changed CopyImage to accept desiredX, desiredY and LR_COPYFROMRESOURCE.
...
CURSORICON_FindBestIcon changed to find the correct icon.
ImageList_ReplaceIcon now calls CopyImage internally.
Assign a value for the hIconSm CLASS member (using CopyImage).
1999-09-04 11:16:48 +00:00
Karl Lessard
41875795cc
Ian Ward
...
Dan Langlois
Speed up conversion between XImages and DIBSections.
1999-09-03 16:49:17 +00:00
Richard Cohen
05bf5344f0
Make stock fonts independent of mapping mode.
...
System font should only be bold for Win31.
1999-09-03 15:16:23 +00:00
Steve Tibbett
c5255354ab
Fixed cursor stretch code.
1999-08-15 18:52:32 +00:00
Gerard Patel
9dd16f0a1a
Added protection against possible memory corruption.
1999-08-15 16:38:07 +00:00
Steve Tibbett
85692c8cbf
Fixed cursor selection to find the correct cursor when more than one
...
available.
1999-08-15 16:35:21 +00:00
Juergen Schmied
2259e44e27
First implementation of GetCharacterPlacementA.
1999-08-15 14:22:48 +00:00
Eric Kohl
b694b006a4
Improved GetRandomRegion().
1999-07-31 13:04:36 +00:00
Ulrich Weigand
98c3053e6e
Added FinalUserInit16/FinalGdiInit16 stubs.
...
Call out to FinalUserInit in MAIN_EmulatorRun.
1999-07-27 17:10:06 +00:00
Huw D M Davies
d016b0a02d
Implement handling of 32 bit AbortProc.
1999-07-24 12:09:34 +00:00
Huw D M Davies
aec373ca0d
String to GetTextExtentPoint is not necessarily 0 terminated.
...
Fix function name `32's in comments - API naming madness makes this
worthwhile.
1999-07-23 19:25:11 +00:00
Thuy Nguyen
6e133d5d3b
Fixed rounding in MulDiv.
1999-07-18 18:36:18 +00:00
Eric Pouech
ec133cea9a
Check better that handles are actual handles to a region.
1999-07-18 18:24:56 +00:00
Juergen Schmied
a904e16faa
Fixed crash due to invalid pointer.
1999-07-10 10:09:58 +00:00
Patrik Stridvall
d96e1f133e
Moved code to the X11 driver.
1999-07-04 13:31:03 +00:00
Eric Kohl
121e672e87
Improved GetRandomRegion().
1999-06-26 11:53:56 +00:00
Marcus Meissner
b8830034d9
Do not reuse a passed CONST RECT * pointer.
1999-06-13 08:36:34 +00:00
Patrik Stridvall
fdcfdb9a6d
Added missing/wrong includes.
1999-06-12 14:55:11 +00:00
Huw D M Davies
e987634c44
Open files with more appropriate sharing mode.
1999-06-12 06:50:57 +00:00
Huw D M Davies
0ae4e09188
Small fixes for EnhMetaFile playback.
1999-06-12 06:49:52 +00:00
Eric Pouech
7990b7c011
Fixed CreateCompatibleBitmap when called with 0 width or height.
1999-06-07 17:46:39 +00:00
Joshua Thielen
50e96dc2a6
Allow pens with styles greater than PS_INSIDEFRAME to be created with
...
ExtCreatePen.
1999-06-05 15:11:43 +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
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