How to make CEGUI support gif format?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

JJChicken
Just popping in
Just popping in
Posts: 9
Joined: Mon May 31, 2010 07:14

How to make CEGUI support gif format?

Postby JJChicken » Wed Jul 21, 2010 06:34

does CEGUI0.62 support gif format?
if not how to support this format?

Jamarr
CEGUI MVP
CEGUI MVP
Posts: 812
Joined: Tue Jun 03, 2008 23:59
Location: USA

Re: How to make CEGUI support gif format?

Postby Jamarr » Wed Jul 21, 2010 14:07

You can use an image codec based on devIL, or some other image library, that supports GIFs to use them in CEGUI. But animating the GIFs is probably another matter; I am not that familiar with GIF, but I assume an image-library that can load them has some kind of gif-update function to cycle frames. So all you need to do is update a CEGUI::Texture with the new frame, each cycle.
If somebody helps you by replying to your thread, upvote him/her as a thanks! Make sure to include your CEGUI.log and everything you tried when posting! And remember that we are not magicians!

JJChicken
Just popping in
Just popping in
Posts: 9
Joined: Mon May 31, 2010 07:14

Re: How to make CEGUI support gif format?

Postby JJChicken » Thu Jul 22, 2010 08:33

thank you!
I will try it


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 16 guests