On 26.04.2018 11:00, AlexeyT via Lazarus wrote:
this patch
https://github.com/graemeg/lazarus/commit/0ff493e8cf2b6e4f1c971561db87d2579396eacd
makes the same for 4 WS'es: it gets bitmap from imagelist for some
resolution.
Wish: make TImageList.GetBitmapForResulution and make this patch simpler.
You mean you want to simplify 2 calls:
AValue.GetImageIndexAndEffect
AImageRes.GetBitmap
into one call:
AValue.GetBitmap
?
OK, if you feel it is really worth it, feel free to send a patch.
+ You will need to keep GetImageIndexAndEffect anyway.
Ondrej
--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus-ide.org
https://lists.lazarus-ide.org/listinfo/lazarus