2008 06 23NSWindow goodies : bottomCornerRounded, usesLightBottomGradient
Some undocumented
NSWindow
methods to add sharp corners to textured windows, and an iPhoto/iTunes like bottom gradient bar.
As this is undocumented, proceed with caution with respondsToSelector
.
if ([window respondsToSelector:@selector(setBottomCornerRounded:)]) [window setBottomCornerRounded:NO];
Jens
2009 08 14
Great information, just what I've been looking for, for two days, night all over the net! You may want to add the following to one of your include-files...
@interface NSWindow (private) - (void)setBottomCornerRounded:(BOOL)aFlag; @end
...to avoid the compiler-warning and get a nice build.
Thanks! I used this in my app.