Can't get Imageset from ImagesetManager

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

User avatar
FTC
Just popping in
Just popping in
Posts: 8
Joined: Sat Oct 02, 2010 09:35

Can't get Imageset from ImagesetManager

Postby FTC » Sat Nov 20, 2010 23:24

Hi,

I have searched for hours and with everything I found out this should work:

Code: Select all

CEGUI::Imageset* imgset = CEGUI::ImagesetManager::getSingleton().getImageset((CEGUI::utf8*)"clock_numbers");


But it does not. I always get this error:

Code: Select all

'class CEGUI::ImagesetManager' has no member named 'getImageset'


I opened the header file for the ImagesetManager and there is indeed no method 'getImageset', but all the documentation or posts in other forums use this to get the images.

greetings

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Can't get Imageset from ImagesetManager

Postby CrazyEddie » Sun Nov 21, 2010 09:29

The member is now named simply 'get', and is inherited from the NamedXMLResourceManager base class.

This change, along with many others is discussed in the porting notes for 0.7.x, here: http://www.cegui.org.uk/docs/current/porting6to7.html

HTH

CE.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 25 guests