i'm sure ive overlooked something but i'm not sure what
previously i would
Code: Select all
// get ptr to named imageset - don't forget this throws if imageset is not present
CEGUI::Imageset& imageset = CEGUI::ImagesetManager::getSingleton().get( "pics" );
ItemListbox* Pics_names = static_cast<ItemListbox*>(winMgr.getWindow( "Pics_names"));
Editbox* pics_txt = static_cast<Editbox*>(winMgr.getWindow( "pics_txt"));
imageset.getName();
// get iterator to iterate over defined images.
Imageset::ImageIterator iter = imageset.getIterator();
while ( !iter.isAtEnd() )
{
to scan though an image set etc,etc
now imageset has been removed so tried
Code: Select all
CEGUI::Image& imageset = CEGUI::ImageManager::getSingleton().get("pics");
imageset.getName();
// get iterator to iterate over defined images.
ImageManager::ImageIterator iter = imageset.getIterator();
but getiterator is not part of the image class
so what would be the way to go here ?