• 9
• 11
• 9
• 20
• 12
• entries
570
2427
• views
216611

# Untitled

78 views

Augh, I'm still working on the Object Editor (an editor to "build" an object from the components), and I'm writing a TreeView control. And I think my brain is about to a splode. Because AUGH. Data structures... I ph34r that class next semester.

But yeah, I think I've got that part sorted out (its a mess), now I'm trying to figure out how to render the whole thing. Lets see... we have a tree of hardpoints to render, right? Each entry has two states - expanded and collapsed, so...
function render leaf   for each child on leaf      render child      if child is expanded         increase depth         render child as leaf      else if child is selected         render border around child

I think that's what I want... Yay for using the journals to collect thoughts :D

I think I'm going to go get some lunch and let my mind mull over it some more. Eugh!

You should make an editor editor first

It'll be on the to-do list when I get around to making the to-do list editor.