• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Making textured windows pretty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making textured windows pretty


  • Subject: Re: Making textured windows pretty
  • From: Max Horváth <email@hidden>
  • Date: Fri, 6 Feb 2004 15:21:03 +0100

Hello!

Does really nobody have an idea how to help me?

Everything I would like to do is to let the bottom corners of a metal window are being displayed as they are in safari - not rounded.

I found this code in the mailing list archive, but I don't know, where I have to insert into my source code.

Many thanks in advance!

--
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

Am Feb 5, 2004 um 03:55 AM schrieb Max Horvath:

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.
_______________________________________________
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.

  • Follow-Ups:
    • Re: Making textured windows pretty
      • From: "M. Uli Kusterer" <email@hidden>
References: 
 >Re: Making textured windows pretty (From: Max Horváth <email@hidden>)

  • Prev by Date: Re: Any news regarding an official iCal interface
  • Next by Date: Problems with AMRollOverButton
  • Previous by thread: Re: Making textured windows pretty
  • Next by thread: Re: Making textured windows pretty
  • Index(es):
    • Date
    • Thread