Re: Changing the shape of NSButton
Re: Changing the shape of NSButton
- Subject: Re: Changing the shape of NSButton
- From: Kevin C Stevens <email@hidden>
- Date: Mon, 29 Jul 2002 21:56:33 -0400 (EDT)
On Mon, 29 Jul 2002, Shawn Erickson wrote:
>
>
You can draw all kind of arbitrary paths using NSBezierPath. However I
>
believe cells always have rectangular frames and as a result would need
>
to overlap.
>
>
It may be simpler and better performing to draw your hex tile pattern
>
in a custom view and track mouse movements and clicks as needed.
I was hoping to avoid that part, but I may not be able to. (sigh)
>
>
> Assuming I can do either of these two things, can I put the new button
>
> object on a palette in IB?
>
>
Yes.
>
>
I suggest getting a hold of a Cocoa book to pick this stuff up the
>
fastest.
>
>
Several exist look here - http://makeashorterlink.com/?L2D323261
>
I personally liked Hillegass's book -
>
http://makeashorterlink.com/?B2C312261.
On order from Amazon even as we speak. I'm working my way through the
O'Reilly step-by-step, but haven't gotten to what I am interested in yet.
Thanks,
Kevin
>
-Shawn
>
-ks
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.