Re: Transparent Windows WAS: (no subject)
Re: Transparent Windows WAS: (no subject)
- Subject: Re: Transparent Windows WAS: (no subject)
- From: "M. Uli Kusterer" <email@hidden>
- Date: Fri, 20 Feb 2004 00:19:58 +0100
At 14:26 Uhr -0800 19.02.2004, email@hidden wrote:
What boggles me is that the RoundedTransparentWindow example uses that
technique but draws to the window differently. I've deduced Allegro uses
QuickDraw, internally, to draw to the port (not sure; I'm beginner when it
comes to OSX GUI programming) with bitmaps from internal buffer(s). Also,
there may be some color conversion that occurs that could turn what should
be a transparent background into black.
Quickdraw doesn't support alpha channels. Or, more correctly, it
resets them. So, whenever you draw into a port using Quickdraw, it
will set the entire area you draw to (or the entire port, don't
remember) to be opaque.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.