csiri wrote:I need to render different windows (FrameWindows with all their children) into different textures. Could you give me more hints or more preferably sample source code on how to achieve this?
First of all you will need to modify the Renderer that you're using in such a way that you can specify a target texture for some given rendering.
You will then need to modify System::renderGUI in such a way that instead of just rendering a single window (that being the active 'sheet'), it actually maintains a list of windows to be rendered and the target textures for them. You would then iterate over this list, calling into the Renderer to set the target texture, and then getting the window to render itself.
There is no example source code showing this, since nobody has done it yet (as far as I know).
Hope this gives you some clues
CE.