• 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
Etched Text
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Etched Text


  • Subject: Etched Text
  • From: "Ian G. Gillespie" <email@hidden>
  • Date: Sat, 7 Feb 2004 07:43:23 -0800

Hi all,

I did a search, but I was surprised to find that I couldn't find much information on how to draw etched text (for a textured window). I know that I can create two NSTextFields with white and black text and offset them by 1 pixel, but I am sure sub-classing NSTextField is the more elegant way to go about it. Can anyone give me any pointers on what methods I would/should over-ride (maybe "drawRect:"?), or perhaps someone has already done this and I can download the source somewhere?

Thanks.
Ian _______________________________________________
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.
  • Follow-Ups:
    • Re: Etched Text
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: NSTableView Row header
  • Next by Date: Re: NSColor Deadlock bug?
  • Previous by thread: Re: NSTableView Row header
  • Next by thread: Re: Etched Text
  • Index(es):
    • Date
    • Thread