• 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
Drawing a NSTextField bezel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Drawing a NSTextField bezel


  • Subject: Drawing a NSTextField bezel
  • From: Stéphane Sudre <email@hidden>
  • Date: Sun, 26 Sep 2004 15:37:57 +0200

What's the proper way to draw the same bezel as the NSTextField one?

NSGraphics.h does not contain any usable function (the drawings are from the PReVIOUS period).

One solution could involve drawing the bezel with NSBezierPath but since the official NSTextField bezel appearance can change from release to release, it's not the best option IMHO.

Is there a better way than using the hidden API _drawThemeBezelWithFrame:inView: which works fine as long as you are dealing with a NSTextFieldCell subclass?

_______________________________________________
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


  • Follow-Ups:
    • Re: Drawing a NSTextField bezel
      • From: Frank Midgley <email@hidden>
  • Prev by Date: Re: Unit testing framework suggestions?
  • Next by Date: Re: Drawing a NSTextField bezel
  • Previous by thread: Dependency analysis warnings
  • Next by thread: Re: Drawing a NSTextField bezel
  • Index(es):
    • Date
    • Thread