Commit Graph

162 Commits (3f5136ce3a1d60d7a532b36bbf8c57959a910f6a)

Author SHA1 Message Date
Dmitry Timoshkov 93437fc963 comctl32: Do not use width of the passed to ImageList_Add bitmap as an icon width. 2010-04-07 13:51:45 +02:00
Michael Stefaniuc 223603cc1c comctl32: Use IS_INTRESOURCE instead of HIWORD to check a resource. 2010-01-26 12:13:51 +01:00
Michael Stefaniuc 4376ccf3fc comctl32: Use FAILED instead of !SUCCEEDED. 2009-12-01 13:04:36 +01:00
Owen Rudge 341e6ed533 comctl32: Implement imagelist drag functions, GetOverlayImage. 2009-11-17 15:14:53 +01:00
Owen Rudge 2e9a6e96e3 comctl32: Implement GetImageRect, Get/SetIconSize, Get/SetBkColor. 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 3e20458aca comctl32/imagelist: Get rid of magic field, use vtable pointer instead. Keep original layout. 2009-11-16 15:01:27 +01:00
Owen Rudge 76c7f28050 comctl32: Implement Copy, Merge and Clone methods in IImageList. 2009-11-16 13:30:01 +01:00
Owen Rudge 8a4a761683 comctl32: Implement SetOverlayImage, Replace, AddMasked, Draw, Remove, GetImageInfo. 2009-11-16 13:29:01 +01:00
Owen Rudge dff6be098e comctl32: Implement Add, ReplaceIcon, GetImageCount, SetImageCount in IImageList. 2009-11-16 13:27:37 +01:00
Marcus Meissner c2e0226d2f comctl32: Removed useless NULL check (Coverity). 2009-11-16 12:43:07 +01:00
Owen Rudge a4f2ab9d14 comctl32: Add basic structure for IImageList interface. 2009-11-13 12:14:40 +01:00
Owen Rudge 956a52bd7f comctl32: Add stubs for image list functions introduced in Vista. 2009-08-13 15:51:16 +02:00
Michael Stefaniuc da6d7920de comctl32: Remove superfluous pointer casts. 2009-02-13 13:00:25 +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
Michael Stefaniuc b723e6f6b6 comctl32: Remove the superfluous casting of the LPVOID returned by Alloc(). 2008-10-24 14:24:59 +02:00
Michael Stefaniuc 15e5f6844a comctl32: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:42:47 +02:00
Gerald Pfeifer 1cdb06c69c comctl32: Remove unused parameter from _read_bitmap(). 2008-07-29 13:53:42 +02:00
Andrew Talbot b7cc9c66b3 comctl32: Remove unneeded address-of operators from array names. 2008-07-08 10:47:43 +02:00
Gerald Pfeifer 7b306c57bd comctl32: Remove check which never triggers. 2007-11-15 12:49:23 +01:00
Alexandre Julliard a4c9d96aca comctl32: Fixed handling of monochrome icons in image lists. 2007-11-14 12:38:35 +01:00
Misha Koshelev fc5a746104 comctl32: imagelist: Fix simultaneous selection of one bitmap into two device contexts. 2007-06-01 12:43:40 +02:00
Aric Stewart df0d77b007 comctl32: Trying to blend an image without a mask causes problem, especially if the background is white. 2007-05-18 14:42:30 +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
Dmitry Timoshkov e0195ca4ef comctl32: Fix an off by one error in ImageList_Remove. 2007-04-23 13:57:02 +02:00
Dmitry Timoshkov 79909e7e5a comctl32: Change internal imagelist bitmap storage in the way applications with pre-compiled imagelists expect it. 2007-02-15 14:19:32 +01:00
Dmitry Timoshkov 74950a9e1f comctl32: Implement ImageList_GetFlags. 2007-02-13 12:08:41 +01:00
Dmitry Timoshkov 369749dcb2 comctl32: Make ImageList_Read and ImageList_Write compatible with each other, simplify the code. 2007-02-12 14:12:48 +01:00
Felix Nawothnig 306718152c comctl32: Degrade ERR to WARN. 2007-01-25 11:05:56 +01:00
Peter Oberndorfer d119fd44fe comctl32: Fix imagelist regression from "comctl32: Remove Nx1 assumptions in ImageList_Read". 2006-12-11 12:18:39 +01:00
Alexandre Julliard 1e6786699d Revert "comctl32: Fix a potential regression in ImageList_ReplaceIcon()."
This reverts commit 9e772d1369.
2006-11-15 11:33:35 +01:00
Mike McCormack f3c6114d75 comctl32: Remove a redundant variable. 2006-11-14 11:35:31 +01:00
Mike McCormack 9e772d1369 comctl32: Fix a potential regression in ImageList_ReplaceIcon(). 2006-11-14 11:35:24 +01:00
Mike McCormack 2614e0ee91 comctl32: When removing an image, move the remaining images one forward, not one backwards. 2006-11-14 11:35:18 +01:00
Paul Vriens d4796304ad comctl32: Remove deadcode (Coverity). 2006-11-13 14:51:20 +01:00
Mike McCormack 7486f47b19 comctl32: Fix a regression in ImageList_AddMasked(). 2006-11-08 15:51:35 +01:00
Mike McCormack e74b0ee910 comctl32: Remove Nx1 assumptions in ImageList_Read. 2006-11-08 11:26:12 +01:00
Mike McCormack dfb41b35c4 comctl32: Switch to a Nx4 tiling. 2006-11-06 12:23:10 +01:00
Mike McCormack 6772873396 comctl32: Remove a Nx1 assuption in ImageList_AddMasked(). 2006-11-06 12:21:24 +01:00
Mike McCormack 49df0467b1 comctl32: Check if GetObject fails on bitmaps passed to us. 2006-11-06 12:21:14 +01:00
Mike McCormack 6a9209da8f comctl32: Fix Nx1 assumptions when adding multiple bitmaps with ImageList_Add. 2006-11-06 12:20:52 +01:00
Mike McCormack ba73cac961 comctl32: Fix an Nx1 in ImageList_DrawIndirect(). 2006-11-06 12:20:43 +01:00
Mike McCormack 4e5f56a8e0 comctl32: Remove another Nx1 assumption from ImageList_Remove(). 2006-11-06 12:20:32 +01:00
Mike McCormack ca6be70819 comctl32: Remove Nx1 assumptions in ImageList_Merge. 2006-11-06 12:20:22 +01:00
Mike McCormack 9cd86dddf1 comctl32: Remove Nx1 assumptions in ImageList_GetIcon(). 2006-11-06 12:20:13 +01:00
Mike McCormack 1328ca572b comctl32: Use imagelist_copy_images() in ImageList_SetImageCount(). 2006-11-06 12:19:59 +01:00
Mike McCormack 7370fc0e70 comctl32: Create a helper function to copy a block of images. 2006-11-06 12:19:26 +01:00
Mike McCormack 83149b1d2c comctl32: Fix a regression. 2006-11-06 12:13:19 +01:00
Mike McCormack f97bf3e6e0 comctl32: imagelist: Remove more 1xN assumptions. 2006-11-02 12:24:08 +01:00