Re: Blunt edges to Window

2008-12-11 Thread Rob Keniger
On 12/12/2008, at 3:35 PM, Arun wrote: So this means, it only works in Leopard... not in Tiger? Is there any way in which it can work both on tiger and leopard? No, on Tiger you need to do some hackery to get this to work, it's not natively supported. Have a look at Matt Gemmell's Tunes

Re: Blunt edges to Window

2008-12-11 Thread Arun
Thanks, So this means, it only works in Leopard... not in Tiger? Is there any way in which it can work both on tiger and leopard? -Arun On Fri, Dec 12, 2008 at 10:49 AM, Rob Keniger wrote: > > On 12/12/2008, at 3:17 PM, Rob Keniger wrote: > > You're probably looking for - >> (void)setContentBo

Re: Blunt edges to Window

2008-12-11 Thread Rob Keniger
On 12/12/2008, at 3:17 PM, Rob Keniger wrote: You're probably looking for - (void)setContentBorderThickness: (CGFloat)borderThickness forEdge:(NSRectEdge)edge I forgot to mention that this is straight from the 10.5 AppKit release notes: http://developer.apple.com/releasenotes/Cocoa/AppKi

Re: Blunt edges to Window

2008-12-11 Thread Rob Keniger
On 12/12/2008, at 3:04 PM, Arun wrote: Went through the documentation and could not find ant API... Any idea about the name of the API? You're probably looking for - (void)setContentBorderThickness: (CGFloat)borderThickness forEdge:(NSRectEdge)edge Try subclassing NSWindow and calling [s

Re: Blunt edges to Window

2008-12-11 Thread Arun
Hi.. Went through the documentation and could not find ant API... Any idea about the name of the API? -Arun On Thu, Dec 11, 2008 at 11:56 PM, Stéphane Sudre wrote: > > On Dec 11, 2008, at 7:12 PM, Arun wrote: > > The example i have in my mind is Finder, iTunes etc. >> These have a blunt corne

Re: Blunt edges to Window

2008-12-11 Thread Stéphane Sudre
On Dec 11, 2008, at 7:12 PM, Arun wrote: The example i have in my mind is Finder, iTunes etc. These have a blunt corned window. There's an API in the AppKit (NSWindow) to have rounded or square corners. Is this what you're referring to? ___ Co

Re: Blunt edges to Window

2008-12-11 Thread Arun
The example i have in my mind is Finder, iTunes etc. These have a blunt corned window. On Thu, Dec 11, 2008 at 11:35 PM, Volker in Lists <[EMAIL PROTECTED]>wrote: > Hi, > > do you have an example? A good source for information might be Apple Guide > to the UI or HIG -> available through your Xco

Re: Blunt edges to Window

2008-12-11 Thread Volker in Lists
Hi, do you have an example? A good source for information might be Apple Guide to the UI or HIG -> available through your Xcode installations documentation. Cheers, Volker Am 11.12.2008 um 18:41 schrieb Arun: Hi, How to create a blunt corned window edges? Is there any control which wi

Blunt edges to Window

2008-12-11 Thread Arun
Hi, How to create a blunt corned window edges? Is there any control which will provide the same? any idea? -Arun KA ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the