Re: Custom Title bars
Re: Custom Title bars
- Subject: Re: Custom Title bars
- From: Louis Sinclair <email@hidden>
- Date: Thu, 25 Aug 2005 11:37:19 -0500
Thanks Ryan. Can you elaborate on this? I've experimented with this idea,
but wasn't sure how to proceed.
I've got a custom NSView that find's its containing window's close button
in the drawRect function, and I can get a pointer to the close button's
superview, but I'm not sure what to do from there.
--
Louis
At 11:02 AM 8/25/05, Ryan Stevens wrote:
No, don't draw the window yourself - too much work to get anything
close to the standard. Instead you can grab a standardWindowButton
(see NSWindow docs) and go from there.
On Aug 25, 2005, at 8:36 AM, Jason Swain wrote:
You may need to draw the window yourself. Start with a transparent
window and fill in what you need. This may be a hassle as you will
need to do your own close buttons etc, but it may work for you.
Have a look at this:
http://developer.apple.com/samplecode/RoundTransparentWindow/
RoundTransparentWindow.html
Jason
On 25 Aug 2005, at 15:55, Louis Sinclair wrote:
Hi all,
How would one go about making a custom title bar on a window. All
I really need to do is apply a backdrop image to the title bar area.
Thanks!
--
Louis Sinclair
--
Louis Sinclair
Minnetonka Audio Software, 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