logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

s3dw_ani_mate - doing the whole animation thing

Author

SimonWunderlich
           Author of s3d

s3d                                                                                             S3DW_ANI_MATE(3)

Description

       Just call this in your mainloop if you want some nice window sliding animations. it's somewhat bloating,
       but you don't want to miss it ;)

            #include <time.h>   // nanosleep()
            static struct timespec t={0.33*1000*1000}; // 33 mili seconds
            void mainloop()
            {
                    // keep this in your mainloop. this will do smooth animations for you ...
                    s3dw_ani_mate();
                    nanosleep(&t,NULL);
            }

            ....
            s3d_mainloop(mainloop);

Name

       s3dw_ani_mate - doing the whole animation thing

Synopsis

#include<s3dw.h>voids3dw_ani_mate(void);

See Also