Discussion:
Can I play animated GIF's inside a wxRichtTextCtrl?
BigPilot
2014-05-12 06:19:16 UTC
Permalink
Is it possible to play animated GIF's inside a wxRichTextCtrl?
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Julian Smart
2014-05-12 07:03:23 UTC
Permalink
Post by BigPilot
Is it possible to play animated GIF's inside a wxRichTextCtrl?
Unfortunately not currently, but it could be implemented by adding a
wxRichTextAnimation class containing an wxAnimation object and
techniques borrowed from wxAnimationCtrl. Set the pointer for the
current wxImage (or wxBitmap cache) to be used for the current frame,
and then refresh the area of screen containing the animation from the
timer notification function.

Regards,

Julian
--
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.

To unsubscribe, send email to wx-users+***@googlegroups.com
or visit http://groups.google.com/group/wx-users
Loading...