Alexandre Julliard
|
bb8590f6ce
|
user32: Fix a DC leak in DrawIconEx.
|
2010-10-12 23:01:22 +02:00 |
Alexandre Julliard
|
76e7fcc9d8
|
user32: Store icon objects directly in the cache instead of using a separate structure.
|
2010-10-11 17:11:27 +02:00 |
Alexandre Julliard
|
76cd25c875
|
user32: Reimplement icon copying using CURSORICON_Load.
|
2010-10-11 17:11:27 +02:00 |
Alexandre Julliard
|
6e7846e33e
|
user32: Return the module and resource name in GetIconInfoEx.
|
2010-10-11 17:11:27 +02:00 |
Alexandre Julliard
|
751a09e983
|
user32: Store the module and resource name information for icons.
|
2010-10-11 17:11:27 +02:00 |
Alexandre Julliard
|
d9ae28926b
|
user32: Get rid of the unused icon cache refcount.
|
2010-10-08 15:24:09 +02:00 |
Alexandre Julliard
|
975bff627b
|
user32: Convert the icon cache to a standard Wine list.
|
2010-10-08 15:24:09 +02:00 |
Alexandre Julliard
|
d3de0c265b
|
user32: Implemented GetIconInfoExA/W.
|
2010-10-08 15:23:47 +02:00 |
Alexandre Julliard
|
beba1f1586
|
user32: Make sure the driver CreateCursorIcon() entry point is always called.
|
2010-10-08 11:56:46 +02:00 |
Michael Stefaniuc
|
5a2cc94105
|
user32: Simplify the error handling in BITMAP_Load().
This fixes a memleak on an error path (Smatch).
|
2010-09-29 10:06:13 +02:00 |
Erich Hoover
|
7bba6234e3
|
user32: Add support for multiple frames in cursor format.
|
2010-09-28 17:33:20 +02:00 |
Erich Hoover
|
ca7163e438
|
user32: Prepare for multi-frame storing of icons and cursors.
|
2010-09-28 17:33:20 +02:00 |
Gerald Pfeifer
|
824ab969ff
|
user32: Fix error handling in BITMAP_Load.
|
2010-09-20 13:48:11 +02:00 |
Wolfram Sang
|
9f0f17f853
|
user32: Check for valid pointer in CreateIconFromResource.
|
2010-08-17 14:18:45 +02:00 |
Alexandre Julliard
|
d87715c831
|
user32: Don't try to alpha blend icons when drawing to a monochrome device.
|
2010-06-16 14:54:37 +02:00 |
Wolfram Sang
|
0dfedd50c3
|
user32: No sanity checks for BITMAPCOREINFO in BITMAP_Load.
|
2010-06-07 13:52:35 +02:00 |
Alexandre Julliard
|
f5f3426c87
|
user32: Fallback to normal icon drawing if AlphaBlend fails.
|
2010-05-31 12:14:27 +02:00 |
Alexandre Julliard
|
c9d112fd94
|
user32: Re-enable the fast code path in CreateIconIndirect.
|
2010-05-28 11:22:08 +02:00 |
Alexandre Julliard
|
e2cb88ec2d
|
user32: Copy icon bits by hand in CreateIconIndirect if the bitmaps can't be selected into a DC.
|
2010-05-26 17:36:32 +02:00 |
Alexandre Julliard
|
50ebc10da4
|
user32: Get rid of the CURSORICONINFO structure in icon objects.
|
2010-05-21 14:37:30 +02:00 |
Alexandre Julliard
|
fb70204c69
|
user32: No longer store the icon bits in the icon object.
|
2010-05-21 14:35:11 +02:00 |
Alexandre Julliard
|
86c4a3694d
|
user32: Remove the CURSORICONINFO parameter in the CreateCursorIcon driver entry point.
|
2010-05-21 13:30:15 +02:00 |
Alexandre Julliard
|
efe1c945f2
|
user32: Use the stored color and mask bitmaps instead of the raw bits in GetIconInfo.
|
2010-05-20 16:25:44 +02:00 |
Alexandre Julliard
|
072d0b3483
|
user32: Use the stored color and mask bitmaps instead of the raw bits in DrawIconEx.
|
2010-05-20 16:25:44 +02:00 |
Alexandre Julliard
|
bb33cebe3f
|
user32: Store a pre-computed alpha bitmap for 32-bpp icons with an alpha channel.
|
2010-05-20 16:11:20 +02:00 |
Alexandre Julliard
|
f78c5c940a
|
user32: Store color and mask bitmaps in the cursor data.
|
2010-05-20 16:01:25 +02:00 |
Alexandre Julliard
|
e58afcfb2d
|
user32: Define an explicit structure for storing the cursor data.
|
2010-05-20 14:17:52 +02:00 |
Alexandre Julliard
|
5decff1897
|
user32: Ignore the bitmap offset if it's not set.
|
2010-05-20 12:37:59 +02:00 |
Wolfram Sang
|
636e35d8ad
|
user32: Apply sanity-check in BITMAP_Load.
|
2010-05-17 12:42:33 +02:00 |
Alexandre Julliard
|
162d95a3ce
|
Fix the bitmap info size computation when masks are present.
|
2010-05-14 17:17:46 +02:00 |
Wolfram Sang
|
f76a3b965c
|
user32: Honor bfOffBits in BITMAP_Load.
|
2010-05-10 18:20:36 +02:00 |
Alexandre Julliard
|
eeda373f6f
|
user32: Fix checking of show count in ShowCursor.
|
2010-05-10 11:53:37 +02:00 |
Alexandre Julliard
|
159145cefe
|
user32: Make DrawIcon simply call DrawIconEx.
|
2010-05-07 12:45:39 +02:00 |
Alexandre Julliard
|
4c03fd0138
|
user32: Use the correct rop when blitting an icon in DrawIconEx.
|
2010-05-07 12:41:40 +02:00 |
Alexandre Julliard
|
a59d79c9a6
|
user32: Fix drawing of 1-bpp icons in DrawIconEx.
|
2010-05-07 12:08:29 +02:00 |
Alexandre Julliard
|
2e96abd0d4
|
user32: Return the icon depth instead of number of colors when loading from a .ico file.
|
2010-05-07 11:34:17 +02:00 |
Alexandre Julliard
|
bfc4c71049
|
user32: Only call the driver DestroyCursorIcon entry point for valid handles.
|
2010-04-26 14:44:00 -05:00 |
Wolfram Sang
|
94a3c0987e
|
user32: Ignore reserved bytes in BMP fileheader.
|
2010-04-26 13:02:51 -05:00 |
Alexandre Julliard
|
3a263a871c
|
user32: Fix handling of bitmap header size for V4/V5 bitmaps.
|
2010-04-21 14:56:26 +02:00 |
Alexandre Julliard
|
33e6f7dca3
|
user32: Only call the driver when the cursor has actually changed.
|
2010-04-21 11:07:45 +02:00 |
Alexandre Julliard
|
8ec6359bbb
|
user32: Remove the CURSORICON parameter in the SetCursor entry point.
|
2010-04-21 11:07:45 +02:00 |
Alexandre Julliard
|
d676bf246d
|
user32: Add driver entry points for cursor creation and destruction, and pass the cursor handle to SetCursor.
|
2010-04-20 19:22:38 +02:00 |
Mikhail Maroukhine
|
5e78bab266
|
user32: Fix compiler warnings with flag -Wcast-qual.
|
2010-04-01 18:12:42 +02:00 |
Alexandre Julliard
|
49de5ca39f
|
user32: Store the current cursor and show count in the server.
|
2010-03-22 17:54:21 +01:00 |
Dmitry Timoshkov
|
52ebbb8aa7
|
user32: Restore special handling of monochrome bitmaps removed by c2202929ab .
|
2010-03-15 15:07:15 +01:00 |
Michael Stefaniuc
|
7442a7f931
|
user32: Don't use HIWORD() on a HINSTANCE.
|
2010-02-11 17:33:50 +01:00 |
Alexandre Julliard
|
f89aaa65ad
|
user32: Store 32-bit and 16-bit cursors/icons in independent structures.
|
2010-02-08 17:49:47 +01:00 |
Michael Stefaniuc
|
0a22cd2b8f
|
user32: Avoid using HIWORD() on atoms/resources.
|
2010-02-04 13:39:27 +01:00 |
Joel Holdsworth
|
95ac10e526
|
user32: Fixed icons to select correct image in high colour depth.
|
2009-12-31 12:12:17 +01:00 |
Alexandre Julliard
|
2919c49d7f
|
user32: Don't cache 16-bit instance resources on the 32-bit side.
|
2009-12-23 14:26:51 +01:00 |
Alexandre Julliard
|
0f511f3c8e
|
user32: Don't assume global handles in CopyIcon.
|
2009-12-22 17:27:59 +01:00 |
Alexandre Julliard
|
b36ca48608
|
user32: Call the cursor/icon handle allocation functions through the WoW handlers table.
|
2009-12-22 17:27:57 +01:00 |
Alexandre Julliard
|
0280f058f9
|
user32: Add wrapper functions for manipulation of cursor/icon handles.
|
2009-12-22 17:27:25 +01:00 |
Alexandre Julliard
|
1d1f8e2a2c
|
user32: Move DestroyIcon32 implementation to user16.c.
|
2009-12-22 13:48:19 +01:00 |
Alexandre Julliard
|
e3bcc11beb
|
user32: Move freeing of a 16-bit module's icons to user16.c.
|
2009-12-22 12:16:24 +01:00 |
Alexandre Julliard
|
3806f9aee9
|
user32: Move a number of 16-bit cursor/icon functions to user16.c.
|
2009-12-21 15:36:52 +01:00 |
Alexandre Julliard
|
671b4d129d
|
user32: Get rid of the CURSORICON_Copy internal function.
|
2009-12-21 15:36:52 +01:00 |
Alexandre Julliard
|
7de210fb5c
|
user32: Reimplement CopyIcon16/CopyCursor16 using CreateCursorIconIndirect16.
|
2009-12-21 15:36:52 +01:00 |
Alexandre Julliard
|
001abc3c62
|
user32: Use CreateIconIndirect to implement CreateCursor.
|
2009-12-21 15:36:52 +01:00 |
Mike Kaplinskiy
|
075a1e0e4d
|
user32: Fix color mask handling in CreateIconIndirect.
|
2009-12-21 15:01:25 +01:00 |
Alexandre Julliard
|
12cb58c426
|
user32: Data chunks in RIFF file must be word-aligned.
|
2009-10-22 15:15:00 +02:00 |
Alexandre Julliard
|
62ac036bc6
|
user32: Add a helper to retrieve the dimensions of an icon.
|
2009-10-15 20:00:00 +02:00 |
Stefan Dösinger
|
acebc001b7
|
user32: Make some functions hookable.
|
2009-10-14 12:21:06 +02:00 |
Michael Stefaniuc
|
e6cd096d65
|
user32: Fix a memory leak on a error patch (Smatch).
|
2009-10-06 13:41:33 +02:00 |
Alexandre Julliard
|
5cdd8a2a48
|
user32: Don't use a static dc for icon blitting.
|
2009-10-05 15:18:10 +02:00 |
Joel Holdsworth
|
c2202929ab
|
user32: Fixed CURSORICON_CreateIconFromBMI to preserve the alpha channel.
|
2009-10-05 15:17:16 +02:00 |
Wilfried Pasquazzo
|
32ca9b27c3
|
user32: Correct scaling of DrawIcon.
|
2009-09-23 16:06:49 +02:00 |
Michael Stefaniuc
|
e17af8082b
|
user32: Remove unreachable code: break after return (Smatch).
|
2009-06-30 12:31:59 +02:00 |
Joel Holdsworth
|
d1c89d0a78
|
user32: Added DrawIconEx alpha blending support.
|
2009-06-25 14:34:13 +02:00 |
Joel Holdsworth
|
a0232508b3
|
user32: Added DrawIcon alpha blending support.
|
2009-06-25 14:34:13 +02:00 |
Michael Stefaniuc
|
214b40b109
|
user32: Remove superfluous pointer casts.
|
2009-03-02 12:11:38 +01:00 |
Francois Gouget
|
53f9b31afd
|
user32: LookupIconIdFromDirectory16() is unused so remove it.
|
2009-02-09 13:16:19 +01:00 |
Andrew Riedi
|
63908f039b
|
user32: The frames of .ani cursors are .ico's, not .cur's.
|
2008-12-01 14:14:45 +01:00 |
Andrew Riedi
|
506f77b8d6
|
user32: Cursors can have more than one color.
|
2008-12-01 14:14:41 +01:00 |
Andrew Riedi
|
9726a7119b
|
user32: Make the hotspot ICON_HOTSPOT when loading icons.
Based on patches by Henri Verbeet.
|
2008-11-26 13:37:24 +01:00 |
Andrew Riedi
|
1425b1b9ef
|
user32: Fix the loading of stretched cursors.
Based on patches by Henri Verbeet.
|
2008-11-21 11:53:22 +01:00 |
Francois Gouget
|
3b140ccb0e
|
Assorted spelling fixes.
|
2008-11-17 16:04:39 +01:00 |
Andrew Riedi
|
7f5b4ab15d
|
user32: Initial .ani support (only first frame).
Based on patches by Henri Verbeet.
|
2008-11-14 14:28:23 +01:00 |
Michael Stefaniuc
|
fb11803d19
|
user32: Remove superfluous casts of void pointers.
|
2008-11-05 10:55:46 +01:00 |
Michael Stefaniuc
|
3d6e19d48a
|
user32: Do not cast zero.
|
2008-11-04 11:26:24 +01:00 |
Jim Cameron
|
08775c642a
|
user32: Fixed bug in loading .cur files.
|
2008-08-28 13:09:00 +02:00 |
Markus Hitter
|
cadb885473
|
user32: Better reflect the current state of DrawIconEx.
|
2008-08-25 12:23:42 +02:00 |
Alexandre Julliard
|
0528a2b660
|
user32: Support creating cursors and icons from DIB section bitmaps.
|
2008-05-21 11:39:38 +02:00 |
Huw Davies
|
be900067b6
|
user32: Fix bitmap_info_size to take into account bit field masks.
|
2008-05-02 16:07:45 +02:00 |
Andrew Talbot
|
d8ce2207b8
|
user32: Remove unused variables.
|
2008-04-30 10:25:35 +02:00 |
Alex Villacís Lasso
|
1fcc4ffdfa
|
user32: LoadImage(IMAGE_BITMAP) should reject invalid BMP files (with tests).
|
2008-04-14 12:06:37 +02:00 |
Andrew Riedi
|
927875390d
|
user32: Move the bitmap header check as far up as possible.
Based on a patchset by Henri Verbeet.
|
2008-03-18 11:44:09 +01:00 |
James Hawkins
|
c29c740de0
|
janitorial: Remove links to any microsoft site.
|
2008-03-01 12:17:10 +01:00 |
Andrew Riedi
|
58d2e3df39
|
user32: winex11.drv has support for color cursors now.
|
2008-02-07 11:59:52 +01:00 |
Andrew Talbot
|
ba596d30ce
|
user32: Remove unneeded casts.
|
2008-01-22 11:27:45 +01:00 |
Andrew Riedi
|
3d08d32a42
|
user32: Add a FIXME for animated cursors.
|
2007-12-03 13:18:50 +01:00 |
Stefan Dösinger
|
abf5240310
|
user32: Destroying the current cursor results in an error.
|
2007-11-30 14:01:34 +01:00 |
Andrew Talbot
|
01e93cc2d1
|
user32: Exclude unused headers.
|
2007-05-21 13:36:02 +02:00 |
Jan Zerebecki
|
d553159eac
|
user32: Fix to succeed reliably in test where it works by accident.
|
2007-04-16 13:51:53 +02:00 |
Dmitry Timoshkov
|
b5186e17dd
|
user32: Simplify height calculation.
|
2007-02-27 12:26:36 +01:00 |
Dmitry Timoshkov
|
1936fd99ee
|
user32: Add a CreateIcon test, make it pass under Wine.
|
2007-02-21 10:55:06 +01:00 |
Dmitry Timoshkov
|
e35db3408b
|
user32: Add traces to the cursor APIs.
|
2007-02-21 10:55:01 +01:00 |
Dmitry Timoshkov
|
7670d76690
|
user32: Do not use DIB APIs for bitmap bits in a device dependent format.
|
2007-01-24 11:57:08 +01:00 |
Dmitry Timoshkov
|
81a294f76d
|
user32: Using DIB APIs to convert a DDB to monochrome is wrong, do it differently.
|
2007-01-24 11:57:02 +01:00 |
Dmitry Timoshkov
|
64f1d97a54
|
user32: Some apps pass a color bitmap as a mask to CreateIconIndirect, convert it to b/w.
|
2007-01-19 12:28:57 +01:00 |