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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to