Re: Change the background colour of a window and toolbar
Re: Change the background colour of a window and toolbar
- Subject: Re: Change the background colour of a window and toolbar
- From: Kyle Sluder <email@hidden>
- Date: Thu, 3 Jun 2010 21:42:16 -0700
On Thu, Jun 3, 2010 at 9:29 PM, Dave Fernandes
<email@hidden> wrote:
> The Leopard AppKit release notes certainly mention textured windows in a number of places, but nowhere does it say that they are deprecated. I thought a bottom bar was just a strip of visible window background. How do you make the window draggable from the bottom bar without making the window textured?
The correct answer is "you don't." It's confusing.
The less correct answer is -[NSWindow setMovableByWindowBackground:].
You're right that the Leopard release notes does not officially
deprecate textured windows. But it describes the API that was added to
support this section from the Leopard-and-later HIG:
"Important: In Mac OS X v10.5 and later, there are no brushed metal
windows. Windows that were designed as brushed metal windows to run in
earlier versions of Mac OS X should adopt the Leopard look in Mac OS X
v10.5. For the most part this is automatic. You may need to adjust
your layout so that no window-frame material is visible on the sides
of the window and you should ensure that the controls you used in the
toolbar are still appropriate. See “Window-Frame Controls” for more
information on appropriate controls and “Legacy Toolbar Controls” for
some transition advice."
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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