Login
Username:

Password:

Remember me



Lost Password?

Register now!

Sections

Who's Online
34 user(s) are online (16 user(s) are browsing Forums)

Members: 1
Guests: 33

samo79, more...

Support us!

Headlines

Report message:*
 

Re: Displaying animated GIFs / PNGs

Subject: Re: Displaying animated GIFs / PNGs
by TSK on 2020/12/5 15:27:25

@tomsoniq, others

You can add a datatype object into a "Reaction" layout but CHILD_DataType,TRUE is needed.
LAYOUT_AddChild,IDataTypes->NewDTObject(...,TAG_END),
CHILD_DataType,TRUE,
CHILD_NoDispose,TRUE,


I don't think a layout/window can display animations on its own, like others have said. You have to display frames one by one on your own.

Trying to display an anim gif as a datatype object that way (above) after installing gifanim datatype from os4depot simply crashes badly. In case the author of anim gif is interested it crashes with memory pointer DEADBEEF.

Powered by XOOPS 2.0 © 2001-2016 The XOOPS Project