And after that, you can either uses NSImage but it's not really nice,
or create a NSView subclass to do your drawing.
I had to do this myself and want to share some knowledge.
Actually, the notification windows is 161 points wide, and 156 points
high (with 1 point = 1 pixel when use scale fa
You might also check out the RoundedFloatingPanel code from Matt
Gemmell: http://mattgemmell.com/source about 60% of the way down.
JP
On May 2, 2008, at 3:38 AM, John Clayton wrote:
Hi All,
Does anyone know of some code that mimics the graphics that are
displayed by Apple when one modifie
Le 2 mai 08 à 23:00, Kyle Sluder a écrit :
On Fri, May 2, 2008 at 4:51 PM, Shawn Erickson <[EMAIL PROTECTED]>
wrote:
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 shap
On Fri, May 2, 2008 at 4:51 PM, Shawn Erickson <[EMAIL PROTECTED]> wrote:
> 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.
Well yes, of course you can have arbitr
On Fri, May 2, 2008 at 1:09 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Fri, May 2, 2008 at 2:41 PM, Christopher Nebel <[EMAIL PROTECTED]> wrote:
> > Alternatively, you could mimic the effect using a transparent panel [1] --
> > I expect that's what Growl is doing.
>
> Unfortunately if you
On Fri, May 2, 2008 at 2:41 PM, Christopher Nebel <[EMAIL PROTECTED]> 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
On May 2, 2008, at 4:00 AM, I. Savant wrote:
Any info about the box or code that emulates this would be useful,
There's no public API, but there's this:
http://growl.info/documentation/developer/
Alternatively, you could mimic the effect using a transparent panel
[1] -- I expect that's w
Any info about the box or code that emulates this would be useful,
There's no public API, but there's this:
http://growl.info/documentation/developer/
--
I.S.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requ
Hi All,
Does anyone know of some code that mimics the graphics that are
displayed by Apple when one modifies the system volume? Specifically
the grey box + white shadowed text that pops up briefly. I want to do
something similar in my app, so any kind of guiding code would be
useful.