by date
Plan for Zachary Zadell
Plan for Zachary Zadell
| Name: | Zachary Zadell | ![]() |
|---|---|---|
| Date Posted: | Apr 01, 2005 | |
| Rating: | 5.0 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Zachary Zadell |
Blog post
Improved TreeView Control
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.
Recent Blog Posts
| List: | 08/30/07 - Torque for Wii availability and licensing 04/01/05 - Plan for Zachary Zadell |
|---|
Submit your own resources!| Timothy Aste (Apr 01, 2005 at 00:03 GMT) Resource Rating: 5 |
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.
Edited on Apr 01, 2005 00:05 GMT
| Ed Johnson (Apr 01, 2005 at 00:05 GMT) |
| Joseph Euan (Apr 01, 2005 at 00:10 GMT) |
So thats what you were working on, looks pretty cool... is it going in 1.4?
| Nicolas Quijano (Apr 01, 2005 at 00:10 GMT) Resource Rating: 5 |
| Tom Spilman (Apr 01, 2005 at 00:16 GMT) |
| Josh Williams (Apr 01, 2005 at 00:51 GMT) Resource Rating: 5 |
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.
Edited on Apr 01, 2005 04:44 GMT
| Chris Newman (Apr 01, 2005 at 02:42 GMT) |
I cant wait till 1.4.
| Nick Zafiris (Apr 01, 2005 at 06:58 GMT) Resource Rating: 5 |
Nick
| Grugin (Apr 01, 2005 at 07:06 GMT) |
| Anthony Rosenbaum (Apr 01, 2005 at 11:47 GMT) |
| Hokuto (Apr 01, 2005 at 12:30 GMT) |
| Phil Carlisle (Apr 01, 2005 at 13:51 GMT) |
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!
| Zachary Zadell (Apr 01, 2005 at 18:43 GMT) Resource Rating: 5 |
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.
| David Montgomery-Blake (Apr 01, 2005 at 18:52 GMT) |
| Edward F. Maurina III (May 01, 2005 at 04:04 GMT) |
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.
Edited on May 01, 2005 04:04 GMT
| OneST8 (May 23, 2005 at 06:07 GMT) |
By the way, this looks fantastic. :)
Edited on May 23, 2005 06:07 GMT
| David Neale (Aug 22, 2005 at 06:34 GMT) |
| CraigSusen (Sep 21, 2005 at 02:11 GMT) |
Nice to see you are using that large brain of yours.
Craig
| Ulf Maagaard (Nov 25, 2005 at 10:34 GMT) |
- 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!
You must be a member and be logged in to either append comments or rate this resource.



5.0 out of 5


