From: Marco W. <in...@ca...> - 2005-02-23 08:46:29
|
Hi guys, Just some thoughts (and work in progress) on the GraphObjects... *Parent* I'm building some code into the TGraphNode to support some kind of Parent much like the TControl does in the VCL. This is for the obvious reason to support a grouping like behaviour. Parents would paint themselves first and in addition it would paint it's children. Similarly if moved, it would move the children. In several vector drawing tools it would be considered some kind of grouping where the parent is simply the first object in the list. *Layer* I'm also thinking about layers similar to this. Every GraphObject would be defaulted to the single layer in the TSimpleGraph. The Graph could have several layers and including a visible property and an ActiveLayer index. It would certainly add value to the current ZOrder and individual visible states. *Lock* Simple to realize is the lock propert on individual Nodes instead of the entire Graph. This could be finetuned into the layering and parenting... So far my thoughts. As work progresses I'll keep you posted. In the meanwhile I've discovered that I cannot add Tasks and stuff in the SourceForge site. Is there something you can do to arrange this? Marco. -- Phone +31 650.69.27.31 Email ma...@wo... ICQ 432807 Skype marcowobben "Trust is a future that brings what is needed, exactly how it is needed" |