Re: Drawing a NSTextField bezel
Re: Drawing a NSTextField bezel
- Subject: Re: Drawing a NSTextField bezel
- From: Daniel Jalkut <email@hidden>
- Date: Sun, 26 Sep 2004 23:02:46 -0700
Stéphane Sudre wrote:
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?
Subclass NSTextFieldCell, override "drawInteriorWithFrame" to do
nothing, and ask the subclass to "drawWithFrame." That way, you're
taking advantage of public methods with fairly predictable expectations
for their behavior.
Daniel
_______________________________________________
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