Commit Graph

210 Commits (a1614c82cda99efc34ff7f5b4a8427149d38640c)

Author SHA1 Message Date
Thomas Faber 2fb139ffe7 comctl32: Fix MSVC build in imagelist.c. 2012-01-30 20:44:50 +01:00
Austin English 913fb67a5b comctl32: Fix a grammar error in comment. 2012-01-12 12:24:40 +01:00
Alexandre Julliard ff71cc2ca4 comctl32: Fix management of imagelist growth amount. 2012-01-11 17:47:31 +01:00
Alexandre Julliard e0fc985f32 comctl32: Use GetDIBits to retrieve the default color map for an imagelist DIB section. 2011-12-16 17:40:31 +01:00
Alexandre Julliard 40cf298c75 comctl32: Use DrawIconEx to copy icon bits and use the correct background color. 2011-12-16 17:40:30 +01:00
Alexandre Julliard 65b7eb2635 comctl32/tests: Add some more tests for ImageList_Write. 2011-12-16 17:40:27 +01:00
Alexandre Julliard 129f48a692 comctl32: Don't try to mask out the image for palette-based bitmaps. 2011-12-15 10:49:03 +01:00
Alexandre Julliard e6cf9fbcc2 comctl32: Merge imagelist definitions into the C file. 2011-11-21 11:47:24 +01:00
Alexandre Julliard ee462a7801 comctl32: Take the total bitmap size into account when reading a bottom-up image list. 2011-11-21 11:42:48 +01:00
Alexandre Julliard 73b9dc98eb comctl32: Setup the alpha channel also when reading an imagelist from a stream. 2011-11-15 22:11:15 +01:00
Alexandre Julliard 4c785235d0 comctl32: Add a couple of DIB helper functions for imagelists. 2011-11-15 22:10:45 +01:00
Michael Stefaniuc e443948d94 comctl32: Drop 'inline' from a function using sigsetjmp. 2011-10-31 23:53:41 +01:00
Huw Davies 66fe4e74cb comctl32: Initialise the mask's colour table. 2011-10-28 17:26:56 +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
Nikolay Sivov 6d1a3c6e6e comctl32/imagelist: Fix a couple of imagelist leaks (Valgrind). 2011-01-17 12:50:33 +01:00
Alexandre Julliard cca319d594 comctl32/imagelist: Don't change destination size in ImageList_Duplicate without corresponding allocation. 2011-01-10 12:41:38 +01:00
Alexandre Julliard 1826530974 comctl32: Use the appropriate color format when loading a DIB in ImageList_LoadImageW. 2010-10-14 17:54:51 +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 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
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 9eea385a0e comctl32/imagelist: Grow the has_alpha array also in ImageList_SetImageCount. 2010-06-08 12:45:48 +02:00
Alexandre Julliard 95c529dee6 comctl32: Only support an alpha channel for 32-bpp DIB-based imagelists. 2010-06-02 12:46:58 +02:00
Alexandre Julliard 350f0d3982 comctl32/imagelist: Initialize the mask bits to zero in case the mask bitmap is smaller than the image bitmap. 2010-06-01 16:26:15 +02:00
Alexandre Julliard d81ddde230 comctl32/imagelist: Don't select the mask bitmap into a DC, it may already be selected. 2010-06-01 16:25:47 +02:00
Alexandre Julliard f90b6d5af6 comctl32/imagelist: Fix a copy/paste typo in ImageList_Merge. 2010-05-26 17:36:23 +02:00
Alexandre Julliard 5572fc57ef comctl32/imagelist: Add support for 25% and 50% blending when using an alpha channel. 2010-05-26 15:39:17 +02:00
Alexandre Julliard 8f1853a309 comctl32/imagelist: Clear pixels that fall outside the mask when generating an alpha channel. 2010-05-19 20:11:48 +02:00
Alexandre Julliard 15efbc892b comctl32/imagelist: Don't pre-multiply the stored image, do it only at blending time. 2010-05-18 18:42:06 +02:00
Alexandre Julliard 3915cfbd02 comctl32/imagelist: Fix the allocated size of the has_alpha array. 2010-05-17 12:42:25 +02:00
Alexandre Julliard 45fd49bab6 comctl32/imagelist: Generate the mask from the alpha channel if present. 2010-05-16 18:23:04 +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 33e7d0282b comctl32: Store an alpha channel present flag for each image in an imagelist. 2010-05-14 16:17:56 +02:00
Alexandre Julliard 528722e4e1 comctl32: Also generate an alpha channel when replacing an image or icon in an imagelist. 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
Alexandre Julliard f75c7b5f71 comctl32: Make ImageList_AddMasked call ImageList_Add instead of duplicating the functionality. 2010-05-14 13:37:04 +02:00
Michael Stefaniuc a712a29201 comctl32: Update some ImageList comments. 2010-05-11 11:06:16 +02:00
Alexandre Julliard 8ea1f3385a comctl32: Apply the imagelist mask when alpha blending. 2010-05-10 18:20:20 +02:00
Alexandre Julliard 599531b7d9 comctl32: Add support for alpha blending in ImageList_DrawIndirect. 2010-05-05 12:47:24 +02:00
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