[Lazarus] Icon transparency

patspiper patspiper at gmail.com
Sat Mar 26 17:12:20 CET 2011


On 03/26/2011 06:04 PM, Zaher Dirkey wrote:
>
>
> On Sat, Mar 26, 2011 at 12:54 AM, patspiper <patspiper at gmail.com 
> <mailto:patspiper at gmail.com>> wrote:
>
>     Hi,
>
>     Component palette icons should use as transparent color the lower
>     left pixel. While the component palette honors this, the icon
>     loses its transparency when the component is placed on a form (IDE
>     design mode). The transparent color is shown instead as a proper
>     color.
>
>     Shall I report this behavior as a bug?
>
>     Thanks,
>     Stephano
>
>
> 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?

Still, bitmap images use transparency when shown on the palette.

Stephano
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110326/c49ee7f7/attachment-0003.html>


More information about the Lazarus mailing list