s3dw_ani_mate(3) debian man page | unix.com

Man Page: s3dw_ani_mate

Operating Environment: debian

Section: 3

S3DW_ANI_MATE(3)						    s3d Manual							  S3DW_ANI_MATE(3)

NAME
s3dw_ani_mate - doing the whole animation thing
SYNOPSIS
#include <s3dw.h> void s3dw_ani_mate(void);
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);
AUTHOR
Simon Wunderlich Author of s3d s3d S3DW_ANI_MATE(3)
Related Man Pages
nanosleep(2) - mojave
nanosleep(2) - osx
nanosleep(2) - netbsd
timespec_to_timeval(3) - netbsd
timeval_to_timespec(3) - netbsd
Similar Topics in the Unix Linux Community
Introduction
Detecting unused variables...
One instance of comparing grep and awk
Weird 'find' results