I've gotten a nice layout setup, I have a custom panel that shows a dynamic texture with all my primative 2D drawing going on in it, and its running and drawing lines and curves with a good framerate (using ogre).
My panel needs rulers, so I decided to use CEGUI widgets for that. I added a static image bar across the top and down the side, for a horizontal and vertical ruler. What I want to do now, is "stamp" my graphical glyphs (for numbers, rule marker, and dm/m/km) and I got that to work creating/deleting child staticImages (testing on just the rule markers), but it crawls at a very low rate.
I'd use a text widget, but I'd still have to create a new one per rule, since I need to control where the text starts on a per pixel basis, and I need both horizontal and vertical text.
The only other option that I know of so far, is copying the raw pixel data to the points on my panel's texture, after the drawing routines are done. I'd like to avoid that if possible.
What would be ideal, is some way where I could change the image on the static image that is the ruler, by "stamping" images on it, without the overhead of creating and destroying whole window widgets.
Is there any way to do this within the CEGUI API? If not, I'll look into my texture copying options.
btw, congrats on the 0.4 release

TIA
Paddy