I am making an editor for some graphics objects. They are set up in a tree structure, so I am learning FLTK right now so I can use it as a gui that will display these objects in the browser-gadget.
How do you suggest I should connect these object with the browser gadget? Should I generate some sort of string list each time I modify my graphic objects, and then regenerate the data in the browser gadget all over again? Can I save pointers to objects in the browser gadget list somehow, or can I only use the labels as data to find relevant objects? Right now, the only solution I can come up with is by counting the list, and then count objects in the tree to find which object I am refering to, but this feels like a very tedious and stupid solution. I have never worked with a gui before, so any suggestions is appreciated so I can avoid wasting time experimenting with crappy solutions. Thanks! _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

