176 Commits

Author SHA1 Message Date
Erich Hoover
274e5db7e7 user32: Add support for sequence-based animated cursors. 2011-03-17 13:06:49 +01:00
Erich Hoover
7b333de867 user32: Merge create_icon_bitmaps with CURSORICON_CreateIconFromBMI. 2011-03-17 13:06:49 +01:00
Erich Hoover
28e9b99728 user32: Add support for retrieving individual animated frames. 2011-03-17 13:06:49 +01:00
Erich Hoover
fa4f9c43bc user32: Handle static and animated cursors as separate objects. 2011-03-17 13:06:49 +01:00
Erich Hoover
ee8cb4f728 user32: Add a convenience function for retrieving the number of steps in a cursor. 2011-03-16 16:31:55 +01:00
Erich Hoover
0bb1aadb8f user32: Add get/release routines for accessing cursor frames. 2011-03-16 16:31:54 +01:00
Erich Hoover
3e35caa7b2 user32: Add preliminary support for reading and storing multi-rate animated cursor data. 2011-03-10 15:24:34 +01:00
Erich Hoover
389ffed293 user32: Add FIXMEs for unsupported animated cursor data. 2011-03-10 15:24:04 +01:00
Erich Hoover
86a9f20aa2 user32: Fix GetCursorFrameInfo when passed the proper number of steps. 2011-03-10 15:23:34 +01:00
Erich Hoover
e776f3ccf7 user32: Implement semi-stub of GetCursorFrameInfo. 2011-03-07 15:10:22 +01:00
Erich Hoover
7b0ab606e2 user32: Permit loading animated cursors with CreateIconFromResource(Ex). 2011-03-07 15:10:01 +01:00
Wolfram Sang
c67f075d67 user32: Check bitmap info before it is used. 2011-02-28 13:15:07 +01:00
Wolfram Sang
ce5763b88c user32: Make DIB_GetBitmapInfo checks stricter. 2011-02-28 13:15:01 +01:00
Alexandre Julliard
02e8174067 server: Store the cursor clip rectangle in the server. 2011-02-25 13:50:19 +01:00
Alexandre Julliard
76fb69bf3d user32: Fix LoadImage behavior with zero size and no LR_DEFAULTSIZE.
Based on a patch by Marcus Meissner.
2011-01-28 12:44:21 +01:00
Alexandre Julliard
ab4a5a327d user32: Propagate the LoadImage flags into the low-level loader functions. 2011-01-28 12:42:56 +01:00
Mikhail Maroukhine
f859535774 user32: Add constness to params and variables. 2011-01-04 16:09:53 +01:00
Alexandre Julliard
2c63cf58ea user32: Don't call GetModuleFileNameW under the user lock. 2010-12-14 13:49:14 +01:00
Alexandre Julliard
e8723a5dee user32: Fix destruction of the active cursor. 2010-10-13 15:38:06 +02:00
Gerald Pfeifer
8c7e2f99db user32: Removed some code that is unused after revision 751a09e9839d7273895df24666a0bb2fb51a29c7. 2010-10-13 11:19:53 +02:00
Alexandre Julliard
19eea5fa6b user32: Improve error checking in GetIconInfo. 2010-10-12 23:24:11 +02:00
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