• 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: See-through effect (ala Terminal, iPhoto HUD windows, Disco)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: See-through effect (ala Terminal, iPhoto HUD windows, Disco)


  • Subject: Re: See-through effect (ala Terminal, iPhoto HUD windows, Disco)
  • From: "David Aames" <email@hidden>
  • Date: Mon, 15 Jan 2007 11:26:53 +0000

On 1/15/07, Andreas Mayer <email@hidden> wrote:


Am 15.01.2007 um 10:49 Uhr schrieb David Aames:

> Please,
> can some of the holy Cocoa gurus on the list enlighten us all on
> _how_ to
> achieve this (not code, just guidelines)?

Did you try this private API?

@interface NSWindow(NSWindow_Theme)
- (char)_contentHasShadow;
- (void)_setContentHasShadow:(char)fp8;

No idea if it works. I was just looking through an AppKit class dump.


Andreas,

Thank you very much for this hint. I *suspect* this would do the trick but
as I'm at work at the moment I cannot verify it (a google search reveals
that it's used in WebKit so it *should* be working). I will post back as
soon as I get back home. Thank you again for your insightful reply.

Kind regards,
David

PS. If anyone else knows of any other tips, please share them with us.
PPS. From Colloquy

@interface NSWindow (NSWindowPrivate) // new Tiger private method
- (void) _setContentHasShadow:(BOOL) shadow;
@end

PPPS. WebKit also defines the same category
http://trac.webkit.org/projects/webkit/browser/trunk/WebKit/WebInspector/WebInspector.m?rev=16641


Andreas
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >See-through effect (ala Terminal, iPhoto HUD windows, Disco) (From: "David Aames" <email@hidden>)
 >Re: See-through effect (ala Terminal, iPhoto HUD windows, Disco) (From: Andreas Mayer <email@hidden>)

  • Prev by Date: Re: See-through effect (ala Terminal, iPhoto HUD windows, Disco)
  • Next by Date: NSColorWell question
  • Previous by thread: Re: See-through effect (ala Terminal, iPhoto HUD windows, Disco)
  • Next by thread: Re: See-through effect (ala Terminal, iPhoto HUD windows, Disco)
  • Index(es):
    • Date
    • Thread