From: Ralph T. <ra...@gm...> - 2007-01-19 05:45:15
|
Hi list, One of the things that may need attention for the Expresso editor (amongst other things) is assemblage granularity. As controls can be added and removed from the dialog in an editor, the lifetimes of the controls aren't always going to be tied to the lifetime of the dialog. One approach would be to use a different assemblage for each control, however the current eve_client_holder design doesn't allow for this (not unless the assemblage member becomes a reference that can be changed). The other approach would be to modify assemblage so that you can call some kind of "begin/end" functions that would return some identifier you could use to destroy the things that got created between begin and end. Note that this is something I have to solve for Mission soon (it's blocking moving to 1.0.23), so I'd rather come up with a solution that can go back into ASL. Previously the factory_token_t contained a reference to an assemblage, and I just used a different assemblage for every view I needed to. Ralph |