Re: realreplayer style NSWindow
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