Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
- Subject: Re: [NSOutlineView] _outlineCell and _trackingOutlineCell vs 64-bit
- From: Iceberg-Dev <email@hidden>
- Date: Wed, 22 Apr 2009 19:29:47 +0200
On Apr 22, 2009, at 5:50 PM, Corbin Dunn wrote:
Howdy,
On Apr 22, 2009, at 4:37 AM, Iceberg-Dev wrote:
What's the official way to replace _outlineCell and
_trackingOutlineCell in Cocoa 64-bit?
I do this for 32-bit:
@implementation NSOutlineView (PrivateCells)
- (NSButtonCell *) outlineCell
{
return _outlineCell;
}
Note that what you are doing is not an official way to make things
work in 32-bit. It is strongly discouraged to access the ivars to
AppKit classes, and what you are doing may break in the future.
Well, the future is already there. You can't do for 64-bit
applications what you can do for 32-bit ones.
There is no way to replace the outlinecell
How could one then draw the disclosure triangle in white (and
correctly centered vertically) instead of black/dark gray (and
incorrectly centered)?
-- please log a bug requesting the ability to do so.
Will do.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden