That depends on the GIF. Please send the GIF so I can take a look what's
going on.
Best,
Scuri
2018-01-17 4:00 GMT-02:00 Mihail Ivanchev <mihai...@gmail.com>:
> Hello IUP,
>
> I noticed that IupLoadAnimation loads only the 1st frame of a GIF file
> containing several. Here is how I use it:
>
> appDlg.loadingAnimSmall = IupLoadAnimation("loading-small.gif");
> appDlg.canvas.loadingAnim = IupAnimatedLabel(appDlg.loadingAnimSmall);
> IupAppend(IupGetParent(appDlg.canvas.handle), appDlg.canvas.loadingAnim);
> IupSetAttribute(appDlg.canvas.loadingAnim, "START", "YES");
>
> printf("%d\n", IupGetInt(appDlg.canvas.loadingAnim, "FRAMECOUNT"));
> printf("%d\n", IupGetInt(appDlg.canvas.loadingAnim, "FRAMETIME"));
>
> The frame count's reported to be 1, the frame time is correctly inferred.
> Is this expected?
>
> Thanks!
>
>
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users