Commit Graph

33 Commits

Author SHA1 Message Date
Anton Baskanov 18dc14ed9a gdi32: Return default palette entries from GetSystemPaletteEntries for non-palette-based devices.
Signed-off-by: Anton Baskanov <baskanov@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 19:19:09 +09:00
André Hentschel 540d1459f9 gdi32: Use boolean return values in boolean functions. 2014-01-30 14:51:36 +01:00
Frédéric Delanoy adee328a50 gdi32: Use BOOL type where appropriate. 2013-11-07 13:13:05 +01:00
Alexandre Julliard 091c342f32 gdi32: Add a generation count in the high word of GDI handles. 2012-10-17 21:38:07 +02:00
Alexandre Julliard df357093cc gdi32: Get rid of the GDIOBJHDR type. 2012-10-17 13:48:45 +02:00
Alexandre Julliard 592e6aa942 gdi32: Work around a gcc array out of bounds warning. 2012-07-23 14:52:32 +02:00
Alexandre Julliard c5895ead6a gdi32: Use the default DIB color table to create system and halftone palettes. 2011-12-12 11:30:50 +01:00
Alexandre Julliard c7a8ff26d3 gdi32: Graphics driver functions no longer need to be CDECL. 2011-07-13 14:56:12 +02:00
Alexandre Julliard 2c16ab2ae2 gdi32: Add a null driver entry point for UnrealizePalette. 2011-03-16 23:06:47 +01:00
Alexandre Julliard 0d27e3c0ed gdi32: Add null driver entry points for the palette functions. 2011-03-11 18:26:55 +01:00
Alexandre Julliard adc63287b5 gdi32: Add null driver entry points for the object selection functions. 2011-03-10 12:39:03 +01:00
Alexandre Julliard 17349a06b1 gdi32: Remove remaining references to gdi32 internals from gdi16.c. 2009-11-17 22:30:08 +01:00
Rob Shearman ccce11d2c3 gdi32: Move 16-bit functions not exported in gdi32.dll into files compiled only when 16-bit functionality is enabled. 2009-02-19 12:51:50 +01:00
Alexandre Julliard a83c81b544 gdi32: Allocate palette entries separately from the main GDI object.
This allows resizing the palette without changing the object pointer.
2009-01-28 19:02:17 +01:00
Alexandre Julliard de831f334c gdi32: Release GDI handles before freeing the object.
This makes it unnecessary to hold the GDI lock during destruction.
2009-01-28 18:45:21 +01:00
Alexandre Julliard 311c53db4f gdi32: Allocate and initialize GDI objects before giving them a handle.
This makes it unnecessary to hold the GDI lock since the object
cannot be accessed before it has a handle.
2009-01-28 18:43:06 +01:00
Alexandre Julliard 5811a2ccb4 gdi32: Use the official constants instead of the old Win9x magic numbers for GDI object types. 2009-01-28 16:20:56 +01:00
Alexandre Julliard 68d19b9552 gdi32: Don't hold the GDI lock while calling the GetObjectA/W methods for GDI objects. 2009-01-27 16:30:43 +01:00
Alexandre Julliard 9ff44b815b gdi32: Don't hold the GDI lock while calling the UnrealizeObject method for GDI objects. 2009-01-27 16:26:35 +01:00
Alexandre Julliard f03871094c gdi32: Don't hold the GDI lock while calling the DeleteObject method for GDI objects. 2009-01-27 16:19:37 +01:00
Michael Stefaniuc 2d94915f27 gdi32: Don't cast the void pointer returned by GDI_GetObjPtr(). 2008-10-24 14:24:59 +02:00
Roderick Colenbrander c937634376 gdi32: GetPaletteEntries should not filter peFlags (test included). 2008-02-19 12:06:10 +01:00
Alexandre Julliard aa500d266f gdi32: Get rid of the 16-bit GetObject functions. 2008-02-18 17:50:35 +01:00
Alexandre Julliard 1e3c47eae9 gdi32: Get rid of DC_GetDCPtr in the palette functions. 2008-02-05 21:57:35 +01:00
Hans Leidekker 20c1e503e9 gdi32: Make GetICMProfile behave more like native. Rewrite ansi version as a wrapper and move color management functions to their own file. 2008-01-22 12:01:36 +01:00
Peter Oberndorfer cea66e5859 gdi32: Fix a comment typo. 2007-12-23 14:17:11 +01:00
Alexandre Julliard 1476e34645 gdi32: Add separate functions for releasing/freeing DCs to replace the standard GDI ones.
This should make it possible to use a different locking mechanism for DCs.
2007-08-21 21:37:40 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Alexandre Julliard 75b8f88875 gdi32: Get rid of the gdi.h include. 2006-11-17 14:52:07 +01:00
Alexandre Julliard bb51f96907 gdi32: Get rid of the palette mapping handling and leave it up to the driver. 2006-11-17 14:38:11 +01:00
Alexandre Julliard ed4f22ab5f gdi32: Moved the system palette flags to winex11.drv. 2006-11-17 14:34:44 +01:00
Alexandre Julliard 7dfc447741 gdi32: Renamed the gdi directory to gdi32. 2006-10-20 12:25:29 +02:00