[Lazarus] LCL TImageList method wish

Ondrej Pokorny lazarus at kluug.net
Thu Apr 26 20:05:14 CEST 2018


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


More information about the Lazarus mailing list