Commit Graph

80 Commits

Author SHA1 Message Date
Mark Jansen e1f1a60f87 user32: Correctly determine bit count for BITMAPCOREINFO in is_dib_monochrome.
Signed-off-by: Mark Jansen <learn0more@gmail.com>
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:41:00 +09:00
Thomas Faber 6ad5cfbebd user32: Handle BITMAPCOREINFO when loading icons.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:40:59 +09:00
Thomas Faber 6e4b649862 user32/tests: Test loading monochrome icons.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-28 18:40:59 +09:00
Piotr Caban 888ffb1134 user32: Test GetIconInfo on other process cursor. 2015-07-30 23:48:39 +02:00
Bruno Jesus d90d2ab558 user32/tests: Fix a memory leak (valgrind). 2014-06-11 16:09:42 +02:00
Frédéric Delanoy b242d9cee3 user32/tests: Constify some arrays. 2014-05-12 10:48:33 +02:00
Frédéric Delanoy bb2be17327 user32/tests: Use BOOL type where appropriate. 2013-11-05 11:16:00 +01:00
Dmitry Timoshkov 7603700169 user32/tests: Fix cursor and icon tests compilation with __WINESRC__ defined. 2013-10-23 17:01:46 +02:00
Alexandre Julliard 8ab65c222e user32: Draw the mask with SRCCOPY in DrawIcon when the image isn't being drawn. 2012-02-08 11:00:51 -06:00
Alexandre Julliard 3bbb208f8e user32/tests: Add tests for small sizes of cursor bitmaps. 2011-11-16 18:08:12 +01:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Alexandre Julliard 8d50342858 user32/tests: Allow an approximate color match for the cursor contents. 2011-09-08 23:52:02 +02:00
Thomas Faber 37f12af5c8 user32/tests: Fix build with MSVC. 2011-08-24 12:14:47 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Alexandre Julliard e705f29fd5 user32/tests: Fix the GetCursorFrameInfo parameter types. 2011-03-17 13:06:50 +01:00
Erich Hoover 274e5db7e7 user32: Add support for sequence-based animated cursors. 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
Francois Gouget 4f7fc170a7 user32/tests: Use NULL instead of casting 0. 2011-03-16 14:14:23 +01:00
Austin Lund 5d0783bc0d user32/tests: Output error information in cursoricon tests. 2011-03-16 14:14:23 +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 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 ce5763b88c user32: Make DIB_GetBitmapInfo checks stricter. 2011-02-28 13:15:01 +01:00
Wolfram Sang 25923d2f16 user32/tests: Modify proper fields instead of magic offsets. 2011-02-28 13:14:55 +01:00
Austin English 7b4cf0bec0 user32/tests: Remove unneeded assignment (LLVM/Clang). 2011-02-09 09:26:32 -06:00
Alexandre Julliard e8723a5dee user32: Fix destruction of the active cursor. 2010-10-13 15:38:06 +02:00
Alexandre Julliard 1aab7ea837 user32/tests: Add more tests for DestroyCursor on the active cursor. 2010-10-13 13:58:19 +02:00
Alexandre Julliard 6e7846e33e user32: Return the module and resource name in GetIconInfoEx. 2010-10-11 17:11:27 +02:00
Alexandre Julliard d1df0c42ea user32/tests: Test GetIconInfoExW too since the A version is broken on Win64. 2010-10-11 12:54:04 +02:00
Alexandre Julliard 990842a322 user32/tests: Tests for GetIconInfoExA/W. 2010-10-08 15:24:09 +02:00
Wolfram Sang 9f0f17f853 user32: Check for valid pointer in CreateIconFromResource. 2010-08-17 14:18:45 +02:00
Wolfram Sang 0dfedd50c3 user32: No sanity checks for BITMAPCOREINFO in BITMAP_Load. 2010-06-07 13:52:35 +02:00
Wolfram Sang 636e35d8ad user32: Apply sanity-check in BITMAP_Load. 2010-05-17 12:42:33 +02:00
Gerald Pfeifer 879328f3da user32/tests: Make checks in test_LoadImageFile and test_LoadImage more comprehensive. 2010-05-12 14:13:14 +02:00
Wolfram Sang f76a3b965c user32: Honor bfOffBits in BITMAP_Load. 2010-05-10 18:20:36 +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 6551553fe6 winex11: Make the cursor window global instead of per-thread, and send it a message when the cursor changes. 2010-04-29 10:19:29 -05:00
Wolfram Sang 94a3c0987e user32: Ignore reserved bytes in BMP fileheader. 2010-04-26 13:02:51 -05:00
Gerald Pfeifer f2c94fa138 user32: Remove variable mask which is not really used from check_alpha_draw. 2010-04-22 12:12:11 +02:00
Alexandre Julliard 1f1d9e7b02 user32/tests: Use the correct type for the bits pointer in CreateDIBSection calls. 2010-04-02 15:40:55 +02:00
Alexandre Julliard 49de5ca39f user32: Store the current cursor and show count in the server. 2010-03-22 17:54:21 +01:00
Alexandre Julliard c83ea46e1a user32: Return fake global information in GetCursorInfo instead of thread-local values. 2010-03-19 11:59:51 +01:00
Alexandre Julliard 0be0211682 user32/tests: Add some tests for GetCursorInfo. 2010-03-19 11:59:33 +01:00
Alexandre Julliard d2ec02e06f user32/tests: Add some tests for ShowCursor. 2010-03-18 19:26:36 +01:00
Alexandre Julliard 5a18e2a925 user32/tests: Add some tests demonstrating that SetCursor uses the thread input data. 2010-03-18 13:46:38 +01:00
Wilfried Pasquazzo 2326f3d4d5 user32: DrawState always uses real icon size for drawing. 2009-10-05 14:53:00 +02:00
Wilfried Pasquazzo 3be7ec3401 user32/tests: DrawState: New test case for correct drawing of icons. 2009-10-05 14:52:46 +02:00
Wilfried Pasquazzo 1a5db69019 user32/tests: Test for correct scaling of DrawIcon. 2009-09-23 16:06:55 +02:00
Joel Holdsworth d1c89d0a78 user32: Added DrawIconEx alpha blending support. 2009-06-25 14:34:13 +02:00