Re: Graphics seen when volume is modified.
Re: Graphics seen when volume is modified.
- Subject: Re: Graphics seen when volume is modified.
- From: "Shawn Erickson" <email@hidden>
- Date: Fri, 2 May 2008 13:51:11 -0700
On Fri, May 2, 2008 at 1:09 PM, Kyle Sluder
<email@hidden> wrote:
> On Fri, May 2, 2008 at 2:41 PM, Christopher Nebel <email@hidden> wrote:
> > Alternatively, you could mimic the effect using a transparent panel [1] --
> > I expect that's what Growl is doing.
>
> Unfortunately if you pass NSBorderlessWindowMask to a HUD window you
> lose the rounded corners. I'm sure there's an unsupported way to do
> it, but I'm going to file a radar which asks that borderless HUD
> windows get the rounded corners.
You can get rounded corners, etc. by setting the background color for
the window to be an image of the color and shape you want or by having
the content view define the shape.
/me points at <http://developer.apple.com/samplecode/RoundTransparentWindow/index.html>
-Shawn
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden