Hi Tom,
I just checked and transparency does indeed work correctly in Carbon
in the latest Snapshot(27/01/2008). Great work!
Dominique.
Tom Gregorovic wrote:
On Jan 11, 2008 10:09 AM, Dominique Louis
<[EMAIL PROTECTED]> wrote:
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.
It used to work, but after bitmap rewrite (which moved transparency in
TBitmap to mask) it was broken. I hope, I have fixed it in latest SVN.
Tom
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives