2016-08-23 7:09 GMT+02:00 Martin Schreiber <[email protected]>: > What happens if you use bmo_colormask instead of bmo_graymask?
Working! Tried bmo_colormask before but on my test app with PNG (multicolored) icon and didn't see any difference. By difference I mean, icon was drawed same with or without bmo_colormask so I just ignored this property, with bmo_graymask PNG icon was not drawed at all. Stupid me that I didn't check bmo_colormask on my project where I use runtime fontawesome icons. With bmo_colormask, they are back now, smooth, transparent, beautiful and on both Intel 4400 and Skylake 520 :) . Don't know why such regression, my fontawesome icons are created by default with cl_Black: glyphs.getcell(b.bitmap,ACode,mf(X, 0, 0, Y),cl_black); imgList.addimage(b.bitmap, [al_xcentered,al_ycentered]); Final color is set by my skin manager based on user color configuration: timagelist.bitmap.init(AColor); But that doesn't matter now, I'm happy :) . I just need to use colormask more often and problem solved. Sorry for so long issue. BTW: I'm now on my old laptop where both bmo_graymask and bmo_colormask properties have same correct behavior. But I'm playing now with PNG icons. See attached screenshots. My tests: 1. If timagelist has default options (no graymask and no colormask) then when add icon, bmo_graymask is automatically added to the options and result is as on screen1 2. If timagelist has bmo_graymask or bmo_colormask then when add icon, options are untouched as I set them (gray or color). Result is as on screen1 3. When try to switch between bmo_graymask and bmo_colormask (or remove both) while there is icon already added in timagelist, then result is screen2 and there is no way back to screen1 Is it normal? If yes then it is worth remember for me. Didn't know that changing this timagelist properties I modify original resource icon BTW2: About "<TImageList>.Bitmap.Mask.Init($ffffff)" which you mentioned. Tested it too afterall. On old laptop, with bmo_graymask or bmo_colormask I get black background. On new laptop, bmo_colormask = black background, bmo_graymask = nothing. Must say that bmo_graymask on new laptop is hard case and totally useless property - no trace for TIcon, no artifacts, just nothing, empty form
------------------------------------------------------------------------------
_______________________________________________ mseide-msegui-talk mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

