Re: Making textured windows pretty
Re: Making textured windows pretty
- Subject: Re: Making textured windows pretty
- From: Max Horváth <email@hidden>
- Date: Thu, 5 Feb 2004 03:55:22 +0100
Hello!
just found this old mail in the mailing list archive.
Hej,
On den 11 augusti 2003, at 15:50:45PM, Fabian Lidman wrote:
We also want the bottom of the window to be rectangular rather than
rounded, like in Safari. Does anyone know how Apple did this?
This is not public in the current API, but if you're not afraid to
walk the wild side you can add this somewhere at the top of your
window controller:
@protocol DummyProtocol
- (void) setBottomCornerRounded:(BOOL) flag;
@end
And then before placing the window on screen:
if ([window respondsToSelector: @selector(setBottomCornerRounded:)])
{
// Private API
[(id < DummyProtocol >)window setBottomCornerRounded: NO];
}
I wanted to ask you, if someone knows and could tell me, how to
implement this directly. I do not know, where to put this source into
my source. in which function do I have to add it?
Or has someone an example application (with source)?
Thanks in advance,
Max Horvath!
--
Max Horvath
Software Developer
webEdition Software GmbH Waldstr. 40b 76133 Karlsruhe Germany
Phone: +49 (0)721 - 90 90 - 495
Fax: +49 (0)721 - 20 188 - 99
email@hidden
http://www.webedition.de
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.