[Lazarus] Icon transparency

Paul Ishenin webpirat at mail.ru
Sun Mar 27 06:30:47 CEST 2011


26.03.2011 23:12, patspiper wrote:
>> As i know component palette icons is png image with alpha channels .
> Where can I find an example of such an icon with the corresponding FPC 
> resource file (res or dcr)?
>
> What should it be marked in the resource file? BITMAP? ICON?
Only RT_BITMAP resources can be used for component images in case of FPC 
resources. Png does not have a corresponding resource type and can't be 
used.
> Still, bitmap images use transparency when shown on the palette.

I will look at this problem later.

Best regards,
Paul Ishenin




More information about the Lazarus mailing list