Drawing a NSTextField bezel
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