anonymous imageset ?

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

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

anonymous imageset ?

Postby Pompei2 » Sun Nov 11, 2007 23:36

Hi,

Too bad the imageset constructors are private. Is there any way to create anonymous imagesets ?

I need to create a bunch of imagesets programatically, I don't have enough information to give them a unique name and I don't want to create a random name. I don't even need them to register into the imageset manager as I keep a pointer at them.

I tried to name them "" but I got an already exist exception.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Mon Nov 12, 2007 13:22

I'm affraight there's no way to bypass the manager. That means you do rely on coming up with (random) names.

You can of course write your own helper routine which abstracts that process, to make your life a little easier.

HTH.

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Tue Nov 13, 2007 00:07

Hmmmm ok too bad :( Personally I think this should be implemented, maybe i'll do this and commit a patch to treat "" imagesets as anonymous, shouldn't be too hard unless I miss something.


Return to “Help”

Who is online

Users browsing this forum: Bing [Bot] and 39 guests