Hi Paul,
Does this mean that TBitBtn under Mac OS X does not support transparency for Bitmaps only via PNGs?

I just searched through the code and the Mac OS X Function TButtonGlyph.Draw() in buttonglyph.inc is a bit sparse and there is no code there makes use of the passed in Transparency. I also noticed in TCustomBitBtn.ActionChange/CopyImage it has a // TODO : Transparency comment.

So I'm guessing it's not done yet.

Dominique.

Paul Ishenin wrote:
Dominique Louis wrote:

I finally updated to Lazarus v0.9.24 and the glyph transparency issue still does not work with TBitBtns, but works fine on TToolButtons.

Attached is a screen shot of the transparency issue.

If anyone has any ideas which files I should look at to try and fix this, I'm happy to do so if I'm pointed in the right direction.
1. Use png instead of bmp
2. Update to recent 0.9.25 (snapshot or svn) and recheck there.

Best regards,
Paul Ishenin.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to