[Lazarus] Icon transparency

patspiper patspiper at gmail.com
Sun Mar 27 07:31:14 CEST 2011


On 03/27/2011 07:30 AM, Paul Ishenin wrote:
> 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.
That's unfortunate.
>> Still, bitmap images use transparency when shown on the palette.
>
> I will look at this problem later.
Thanks,
Stephano




More information about the Lazarus mailing list