Tree Menu

Blitz3D Forums/Blitz3D Programming/Tree Menu

boomboom(Posted 2008) [#1]
Hi, I am using sprite candy, but this is more of a general concept question.

I am trying to create a folding tree menu system, but for some bizarre reason its just not clicking in my mind how to do one. I have had a couple of attempts so dar, but they both ended in a lot of confusing spagetti code. Example of what I want:



anyone got any suggestions or code examples on programming a tree menu?


big10p(Posted 2008) [#2]
Basically, I'd probably do this with a 'folder' type that contains a linked list of all it's child folders. You may need a link to the parent folder type instance, too, I'm not sure.

Er, you may need more info than this, actually. What specific aspect of doing a tree menu are you struggling with?

Also, have you considered WinBlitz?