Commit Graph

65 Commits

Author SHA1 Message Date
Alexandre Julliard bd3b0e4f70 comctl32: Simplify the DIB byte width computation. 2011-08-29 12:08:21 +02:00
Marko Nikolic 7399177f0b comctl32/tests: Removed sign comparison warning in imagelist tests. 2011-06-06 16:18:21 +02:00
Gerald Pfeifer 8c9abc1dd8 comctl32/tests: Avoid uninitialized variable warning in GetWidthBytes(). 2011-02-14 13:33:29 +01:00
Austin English 3391c28d41 comctl32/tests: Make sure to use return value (LLVM/Clang). 2011-02-07 10:06:50 -06:00
Austin Lund 23b00490c0 comctl32/tests: Fix ImageList tests for different device color depths. 2010-10-15 11:34:59 +02:00
Nikolay Sivov acbd632039 comctl32/imagelist: Fix return value for IImageList_GetIconSize(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 9b77425f6a comctl32/imagelist: Fix return value from IImageList_SetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 1c82b3491a comctl32/imagelist: Remove parameter check from IImageList_GetBkColor(). 2010-08-23 13:37:02 +02:00
Nikolay Sivov 6db1d3c5b9 comctl32/imagelist: Fix reference leak in IImageList_Clone(). 2010-08-23 13:37:01 +02:00
Nikolay Sivov 87847aa13c comctl32/imagelist: Remove parameter check from IImageList_Clone(). 2010-08-23 13:37:01 +02:00
Nikolay Sivov eb2aae669c comctl32/imagelist: Make IImageList_Merge() crash like it does on native. 2010-08-23 13:37:01 +02:00
Nikolay Sivov d84cad6a06 comctl32/imagelist: Fail to create imagelist with zero or negative image dimensions. 2010-08-20 13:46:54 +02:00
Nikolay Sivov 66c9a73db5 comctl32/imagelist: Fail in ImageList_GetIconSize on null parameters. 2010-08-20 13:46:49 +02:00
Nikolay Sivov 8bcdc9ad43 comctl32/tests: More imagelist tests to show broken parameter validation. 2010-08-20 13:46:45 +02:00
Nikolay Sivov 4023e0125f comctl32/imagelist: Fix failure code for IImageList_Remove(). 2010-08-20 13:46:40 +02:00
Nikolay Sivov 5ee4441c15 comctl32/imagelist: Fix failure code for IImageList_Draw(). 2010-08-20 13:46:36 +02:00
Nikolay Sivov 33ee0cae46 comctl32/tests: Use reduced IMAGELISTDRAWPARAMS structure size for tests. 2010-08-20 13:46:33 +02:00
Nikolay Sivov 4d6c30f90f comctl32/tests: Use better names for test functions, discover some new test failures. 2010-08-20 13:46:30 +02:00
Dmitry Timoshkov 1066194f94 comctl32: Add a bunch of imagelist storage tests, make them pass under Wine. 2010-06-23 15:27:47 +02:00
Alexandre Julliard f2b993d414 comctl32/imagelist: Pre-multiply the colors by the alpha channel when storing an image with alpha. 2010-05-16 18:22:53 +02:00
Alexandre Julliard 91948f9ce8 comctl32: Always alpha blend images for 32-bpp imagelists. 2010-05-14 16:17:56 +02:00
Alexandre Julliard f02adf3e2b comctl32: Generate an alpha channel if necessary when adding images to a 32-bit imagelist. 2010-05-14 16:17:36 +02:00
Mikhail Maroukhine 6443d87543 comctl32: Fix compiler warnings. 2010-03-29 12:10:00 +02:00
Michael Stefaniuc 4376ccf3fc comctl32: Use FAILED instead of !SUCCEEDED. 2009-12-01 13:04:36 +01:00
Owen Rudge 482c454e50 comctl32/tests: Fix imagelist v6 test failures on XP. 2009-11-19 11:48:51 +01:00
Owen Rudge 5ce3af5b37 comctl32/tests: Use SHIL_SYSSMALL instead of LARGE, and compare with system metrics.
This patch fixes a test failure if a user has a non-standard icon size 
set. Windows 7, for instance, offers more variation than previous 
versions of Windows in icon scaling. We should get the system icon 
metric and compare our icon size against that.
2009-11-19 11:48:38 +01:00
Owen Rudge 459361d4d6 comctl32/tests: Use defined flags instead of magic numbers in v6 tests. 2009-11-17 15:14:53 +01:00
Owen Rudge 9db87f13d3 shell32: Implement SHGetImageList and remove todo_wine from imagelist tests. 2009-11-17 15:14:53 +01:00
Owen Rudge c0a6c5cd3f comctl32/tests: Add hotspot/drag test for IImageList. 2009-11-17 15:14:53 +01:00
Owen Rudge 9adc1b8fd6 comctl32/tests: Add test of IImageList_Merge function. 2009-11-17 15:14:53 +01:00
Nikolay Sivov 7caa61fde6 comctl32/imagelist: Make ImageList_Destroy just decrease refcount. Move actual destruction to ::Release. 2009-11-16 15:02:02 +01:00
Nikolay Sivov 4afc54540d comctl32/imagelist: Use defined flags instead of magic numbers in tests. 2009-11-16 15:01:34 +01:00
Owen Rudge b37009ee80 comctl32/tests: Add further tests for IImageList. 2009-11-16 13:29:09 +01:00
Owen Rudge a07c922fa3 comctl32/tests: Add tests for IImageList based on standard imagelist tests. 2009-11-16 13:27:54 +01:00
Paul Vriens 54a01bf5bc comctl32/tests: Remove unused parameter. 2009-11-13 12:21:41 +01:00
Owen Rudge 856dda3288 comctl32/tests: Add IImageList creation test. 2009-11-13 12:14:46 +01:00
Nikolay Sivov ebea81f131 comctl32/tests: Release activation context handle when we're done with tests. 2009-10-21 16:05:59 +02:00
Joel Holdsworth 84cb7031f4 comctl32/tests: Added tests for ImageList_DrawIndirect. 2009-10-09 11:50:29 +02:00
Francois Gouget 544f882918 comctl32/tests: Add a trailing '\n' to ok() calls. 2009-08-19 12:07:24 +02:00
Owen Rudge 1556fbf86c comctl32/tests: Add basic test for IImageList using SHGetImageList. 2009-08-13 15:51:07 +02:00
Michael Stefaniuc ac37f1b7fb comctl32/tests: Do not cast the IDC_* defines to a LPSTR. 2009-01-05 12:35:06 +01:00
Michael Stefaniuc 092b892f54 comctl32: HGDIOBJ is interchangeable with other handle types so don't cast. 2008-10-27 11:29:46 +01:00
Paul Vriens aad6125340 comctl32/tests: Use win_skip instead of trace. 2008-10-21 11:43:41 +02:00
James Hawkins 0f38a6c881 comctl32: Fix several failing tests in win95. 2008-09-24 13:11:30 +02:00
Francois Gouget 86b3624158 comtcl32/tests: Dynamically load ImageList_SetImageCount() because it is missing on Windows 95. 2007-12-10 12:06:13 +01:00
Dmitry Timoshkov 19377e4ed6 comctl32: Remove a stray back slash. 2007-05-02 14:58:54 +02:00
Dmitry Timoshkov 83f51d08df comctl32: Add more image list tests, fix one problem found. 2007-04-24 11:53:59 +02:00
Dmitry Timoshkov 8c5cf0cbae comctl32: Add an image list storage test, make it pass under Wine. 2007-04-23 13:58:15 +02:00
Rob Shearman 4ef2442608 comctl32: Don't free user32 objects with a gdi32 function in imagelist test.
Use DestroyIcon for releasing the resources associated with created icons.
2007-02-19 12:33:19 +01:00
Rob Shearman c932790dcf comctl32: Fix imagelist leak in tests. 2006-10-23 15:18:03 +02:00