I am currently using CEGUI 0.4.5, the one which comes included with the Ogre 1.2.
I couldn't get the code in the Main Menu code snippet to work. (http://www.cegui.org.uk/wiki/index.php/ ... ing_Images)
When trying to set the normal image for a PushButton, via setNormalImage(), I can only pass in a RenderableImage. However, the code in the wiki states that I can pass in an Imageset and then the image name.
Doing this doesn't work
Code: Select all
CEGUI::RenderableImage* btnDown = new CEGUI::RenderableImage();
btnDown->setImage(Buttons->getImage("ButtonDown"));
Is there a quick and easy way for me to get an RenderableImage?