• 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: realreplayer style NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: realreplayer style NSWindow


  • Subject: Re: realreplayer style NSWindow
  • From: "Mu Lin" <email@hidden>
  • Date: Thu, 26 Jan 2006 11:56:59 -0800
  • Importance: normal
  • Priority: normal

Thanks, joar:

I am reading the headers of the realpalyer, indeed there is a NSButton subsclass RNButton mimic the title bar, so I think the way realplayer did is:
1. subclass NSWindow and use boardless style mask and use their own image pattern for background color.
2. add RNButton to the contentView
3. implement close, move, resize.


Sounds like one man-week task, don't you think?

On Jan 26, 2006, at 11:28 AM, j o a r wrote:


On 26 jan 2006, at 20.20, Mu Lin wrote:


By the way, I do know the RoundTransparentWindow sample code, it is of no help for me since I do need the title bar.


Real has constructed their own title bar for those windows.

You can get hold of the standard window buttons using the + [NSWindow standardWindowButton:forStyleMask:] and associated methods.

j o a r




This mail server is the property of Spectral Dynamics, Inc.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: realreplayer style NSWindow
      • From: j o a r <email@hidden>
References: 
 >realreplayer style NSWindow (From: "Mu Lin" <email@hidden>)
 >Re: realreplayer style NSWindow (From: j o a r <email@hidden>)

  • Prev by Date: Fix Depracated call in Apple Sample Code?
  • Next by Date: Re: Are there any NSUserDefaults keys which aren't valid?
  • Previous by thread: Re: realreplayer style NSWindow
  • Next by thread: Re: realreplayer style NSWindow
  • Index(es):
    • Date
    • Thread