Aqua-like borders on views
Aqua-like borders on views
- Subject: Aqua-like borders on views
- From: "Alastair J.Houghton" <email@hidden>
- Date: Mon, 14 Jul 2003 13:17:57 +0100
Hi all,
Does anyone know of a Cocoa API or method to render a border like the
one NSScrollView draws? There are lots of functions that draw similar
things (e.g. NSDrawLightBezel(), NSDrawGroove()), but most of them seem
to draw the border in a NeXT/OpenSTEP style (i.e. lit from the top
left), whereas I would like to be consistent with the Aqua style, and
preferably without having to rewrite my program if Apple decide to
change it in the future.
On a similar note, does anyone know whether there are class methods on
NSColor that return the correct colours to use for such a border (and
if so, which ones)?
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.