Plan for Zachary Zadell
by Zachary Zadell · 03/31/2005 (4:01 pm) · 19 comments
Hi everyone, this is my first .plan since becoming an intern here at GG. I have been working closely with Ben Garney to produce a replacement to the old and unintuitive treeview control that is in Torque currently.
New guiTreeViewCtrl (click for a larger pic):

The new control has been integrated into both the mission editor and the gui editor. Within the mission editor, the creator and editor trees now both use the same control, rather than a custom control for the creator.
Both editors now support shift selection for selecting multiple items and ctrl selection for deselecting or selecting single items either for movement or deletion.
Selections made within the editor are now reflected within the treeview control.
You can now drag selected items both within a group or to other groups with the mouse.
You can also use the arrow keys to re-order items and navigate the tree in an explorer like fashion.
Items are now represented by icons designed by Tim Aste. The icons can either be assigned in script or determined by the control based on the item's properties. The icons can be defined entirely from script.
This is just the inital pass at improvements to editors. I plan to make other improvements in the future based on the feedback of the artists here at GG.
New guiTreeViewCtrl (click for a larger pic):
The new control has been integrated into both the mission editor and the gui editor. Within the mission editor, the creator and editor trees now both use the same control, rather than a custom control for the creator.
Both editors now support shift selection for selecting multiple items and ctrl selection for deselecting or selecting single items either for movement or deletion.
Selections made within the editor are now reflected within the treeview control.
You can now drag selected items both within a group or to other groups with the mouse.
You can also use the arrow keys to re-order items and navigate the tree in an explorer like fashion.
Items are now represented by icons designed by Tim Aste. The icons can either be assigned in script or determined by the control based on the item's properties. The icons can be defined entirely from script.
This is just the inital pass at improvements to editors. I plan to make other improvements in the future based on the feedback of the artists here at GG.
#2
03/31/2005 (4:05 pm)
WOW!!! IVE BEEN LOOKING FOR THIS!!!!
#3
So thats what you were working on, looks pretty cool... is it going in 1.4?
03/31/2005 (4:10 pm)
Hey Zachary, :)So thats what you were working on, looks pretty cool... is it going in 1.4?
#4
03/31/2005 (4:10 pm)
Nice :)
#5
03/31/2005 (4:16 pm)
Great stuff... now when will we get to use it? =)
#6
Good job Zac!
This is all part of our push to make stuff easier and improve the work flow for artists and designers. :) Going to be fun seeing all these projects coming online soon.
03/31/2005 (4:51 pm)
It's going in 1.4 yep. :) Zac rocks, this is not an easy thing to write. Going into CVS next week so people can test if they want and then we'll keep refining it until it's rocksolid. Good job Zac!
This is all part of our push to make stuff easier and improve the work flow for artists and designers. :) Going to be fun seeing all these projects coming online soon.
#9
03/31/2005 (11:06 pm)
yeah, that's more clear now !!! great
#10
04/01/2005 (3:47 am)
But can you delete a SimGroup Yet?
#11
04/01/2005 (4:30 am)
Cool!!!
#12
Does this work like a standard windows style treeview now then? with a data structure with several elements, rather than the nasty simgroup dependant object that other treeview was?
We had a feature we wanted in the AI pack that really required this control to be worthwhile. Now that youre tackling it, I'll see if I can use it for the feature we had planned.
Cool stuff. Its not particularly glamorous, but hell if its not bloody useful! keep at it!
04/01/2005 (5:51 am)
Hey Zac! nice work matey!!!Does this work like a standard windows style treeview now then? with a data structure with several elements, rather than the nasty simgroup dependant object that other treeview was?
We had a feature we wanted in the AI pack that really required this control to be worthwhile. Now that youre tackling it, I'll see if I can use it for the feature we had planned.
Cool stuff. Its not particularly glamorous, but hell if its not bloody useful! keep at it!
#13
Yes you can delete simgroups. just highlight the group and delete away. everything in that simgroup will be deleted.
@Phil
Yes, it isn't dependant on simgroups. Every item in the tree can be a simobject or just an "item." A good example is the creator tree.
04/01/2005 (10:43 am)
@AnthonyYes you can delete simgroups. just highlight the group and delete away. everything in that simgroup will be deleted.
@Phil
Yes, it isn't dependant on simgroups. Every item in the tree can be a simobject or just an "item." A good example is the creator tree.
#14
04/01/2005 (10:52 am)
This is one of those really cool things that I never realized that I needed until someone else kicked me in the head.
#15
Great idea. It gives the whole interface a much more personal and 'fun' feel. It is also easier to find things with those little 'type' icons. Cool.
Hall Of Worlds - For Gamers EdM|EGTGE
04/30/2005 (9:04 pm)
Zachary,Great idea. It gives the whole interface a much more personal and 'fun' feel. It is also easier to find things with those little 'type' icons. Cool.
#16
By the way, this looks fantastic. :)
05/22/2005 (11:07 pm)
I'm just wondering how this is progressing as I don't see it in CVS.By the way, this looks fantastic. :)
#17
08/21/2005 (11:34 pm)
Hi Zach, Any news on the TreeView Controller? Did this ever see the light of day?
#19
- What should be called in replacement of setTreeRoot in order to build a tree from a SimSet?
- Has the tree ctrl documentation been updated?
Thanks in advance!
11/25/2005 (2:34 am)
In 1.4, setTreeRoot no longer exists. Two questions:- What should be called in replacement of setTreeRoot in order to build a tree from a SimSet?
- Has the tree ctrl documentation been updated?
Thanks in advance!

Torque 3D Owner dsfsd
To be able to drag and drop and do all those fun things you do in windows in the tree view controls, kicks so much ass.