Aric Stewart
bcefe114e8
comctl32: ILC_COLORDDB imagelists can be created with 0 sizes.
...
Negative values are still invalid.
Signed-off-by: Aric Stewart <aric@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-20 22:19:29 +09:00
Nikolay Sivov
eb6a872273
comctl32/tests: Enable visual tests in interactive mode, fix build failure.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-16 17:13:40 +09:00
Nikolay Sivov
490b4eec4b
comctl32/tests: Fix function prototype (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:46:13 +09:00
Nikolay Sivov
44dbf381a7
comctl32/tests: Fix imagelist leak (Valgrind).
2014-12-01 11:00:20 +01:00
Michael Stefaniuc
89e9d6db33
comctl32/tests: Add some ImageList_BeginDrag() tests.
2014-10-07 10:14:25 +02:00
Nikolay Sivov
f109a084e8
comctl32/imagelist: Update to IImageList2.
2014-06-12 13:19:06 +02:00
André Hentschel
e32237d34a
comctl32/tests: Avoid preprocessor checks to ensure it compiles.
2014-01-27 17:01:56 +01:00
Michael Stefaniuc
5092ecf6fe
comctl32/tests: Finally compile with -D__WINESRC__.
2013-12-04 11:06:53 +01:00
Frédéric Delanoy
fdb5e13f18
comctl32/tests: Use BOOL type where appropriate.
2013-11-14 16:20:42 +01:00
Nikolay Sivov
44ebba9d5e
comctl32/tests: Preparation for switching __WINESRC__ on.
2013-10-22 20:19:17 +02:00
Michael Stefaniuc
9463dba830
tests: Use the explicit LoadLibraryA function.
2013-10-02 11:02:21 +02:00
Francois Gouget
47b56f238d
comctl32/tests: Use ok(0) to report unexpected function calls instead of assert(0).
2013-07-03 21:20:03 +02:00
Daniel Jelinski
cb8ce94e4d
comctl32/imagelist: Use proper color format for merged image lists.
2013-03-08 19:35:21 +01:00
Marcus Meissner
d8d83d2eb3
comctl32: Avoid leak of hShell32 (Coverity).
2013-01-09 12:54:39 +01:00
Michael Stefaniuc
ab55448069
comctl32/tests: Get rid of a temp buffer.
2012-12-12 11:58:43 +01:00
Nikolay Sivov
21897a9689
comctl32: Call interface methods properly.
2012-08-20 10:58:45 +02:00
Michael Stefaniuc
175eaf1074
comctl32: Avoid TRUE:FALSE conditional expressions.
2012-08-13 17:29:01 +02:00
Alexandre Julliard
ff71cc2ca4
comctl32: Fix management of imagelist growth amount.
2012-01-11 17:47:31 +01:00
Alexandre Julliard
9c9e8dd141
comctl32/tests: Fix a test failure on older Windows.
2011-12-16 19:47:27 +01:00
Alexandre Julliard
65b7eb2635
comctl32/tests: Add some more tests for ImageList_Write.
2011-12-16 17:40:27 +01:00
Francois Gouget
07cfe3ea51
comctl32/tests: Make impl_from_IStream() static.
2011-10-13 19:57:19 +02:00
Michael Stefaniuc
d8213b468a
comctl32/tests: Don't accept Win95 behavior.
2011-09-27 16:24:26 +02:00
Michael Stefaniuc
af27b03967
comctl32/tests: Standardize COM in imagelist.c.
2011-09-27 16:24:26 +02:00
Francois Gouget
01378c5c8e
comctl32: Don't crash when getting a bad image list handle.
2011-09-19 18:32:51 +02:00
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