Re: best way to handle periodic table of the elements
Re: best way to handle periodic table of the elements
- Subject: Re: best way to handle periodic table of the elements
- From: Dave Rosborough <email@hidden>
- Date: Wed, 15 Dec 2004 20:50:17 -0800
Given that the periodic table itself doesn't change, it would probably
be easiest to just draw a periodic table in a graphics program rather
than draw it programmatically, wouldn't it?
Then you could just implement a subclass of NSView or NSImageView with
some mouse tracking work.
Just my two bits!
Dave Rosborough
On 15-Dec-04, at 8:37 PM, Donald Hall wrote:
Fellow list members,
I am starting to work on an application that will use the periodic
table of the elements in its on screen interface. The user will roll
the mouse over the elements in the table and various things will be
displayed elsewhere in the window depending on the position of the
cursor. I am wondering what the best App Kit object would be to
represent the table. I am thinking a custom NSTableView - custom
because the periodic table is not rectangular - some of the cells in
the NSTableView grid of cells would have borders and some would not
(e.g. all those empty cells between Hydrogen and Helium). Or is their
a better approach?
I am sure someone who reads this list will have done something
similar, so I'd greatly appreciate any tips or pointers you might
have.
Thanks in advance,
Don Hall
--
Donald S. Hall, Ph.D.
Apps & More Software Design, Inc.
email@hidden
http://www.appsandmore.com
_______________________________________________
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
_______________________________________________
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