Skip to content

Changing location of gif #86

Closed Answered by bitbank2
Sarooshki asked this question in Q&A
Discussion options

You must be logged in to vote

In the GIFDRAW structure is a void pointer (void *) called pUser. This is for you to pass whatever you want (pointer to a structure) to the GIFDraw callback function. It's the 3rd (optional) parameter for the playFrame() method.

playframe(bool bSync, int *delayMilliseconds, void *pUser);

Create a 2 element integer array with the corner offset you want and pass it as the pUser parameter.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@Sarooshki
Comment options

Answer selected by bitbank2
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants