Skip to content

Widget for displaying animated GIFs #336

@laudrup

Description

@laudrup

First of all thanks for this great and very useful library.

I am currently using TGUI for making a small game for my daughter (not made public yet but I plan to) and I had the need to display some simple animation.

For my use case it would be the simplest to use an animated GIF, so I found some public domain C code for GIF decoding here and used that to implement a TGUI widget. Proof of concept code here.

Don't worry too much about the current implementation, it was just to show my idea. In order for it to be useful I would have to rewrite parts of the C library being used to support loading of data with TGUIs ImageLoader and a bunch of other things.

My question is whether you might be interested in such of Widget for the TGUI library? If that is the case I will do my work directly in the TGUI sources and send a pull request at some point.

I imagine it might be useful for such a widget to be extended later on to support other kinds of animation (maybe with the help of ffmpeg or similar).

Would you be interested in such a widget at some point?

Thanks a lot.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions