Resize a Texture or an Image
Posted: Thu May 03, 2007 21:49
I am using CEGUI with Ogre and I have an Ogre Texture that I use for RTT and I convert that to a CEGUI texture and use that to create a CEGUI::Image. I put that Image in a FrameWindow and I want the user to be able to resize that window, but I can't seem to find a way to change the size of the CEGUI::Texture or the CEGUI::Image. If I start out with an Ogre Texture that is the exact size of the window everything looks good, but when I resize the window it looks like crap because of the up- / down-sampling that is happening. What's the right way to do this?