On 16 Jul '08, at 8:22 AM, chaitanya pandit wrote:
One idea would be to create an NSBezierPath with the shape of the chat bubble, once u have it you can use the CTGradient calss's [gradient fillBezierPath] method to fill it with an aqua look.The CTGradient project is here: http://blog.oofn.net/2006/01/15/gradients-in-cocoa/
There's an NSGradient class in 10.5.I haven't tried this, but I don't think a plain gradient would look very good. The iChat balloons are more complicated than that; the artwork was done in Photoshop using some of those fancy layer effects that the Apple HI team can probably do in their sleep.
Once you have a template image like that, it's easy to stretch it to fill the balloon bounds using NSDrawNinePartImage.
—Jens
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]