• 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
Aqua-like borders on views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: NSMovie don't work with .m4a files
  • Next by Date: Re: NSMovie don't work with .m4a files
  • Previous by thread: Default Button Problem
  • Next by thread: detecting key presses while mouse button is held
  • Index(es):
    • Date
    • Thread