Quantcast
Channel: Library Questions - Processing 2.x and 3.x Forum
Viewing all articles
Browse latest Browse all 2896

Referencing to mainApp(PApplet) instead of "this"

$
0
0

Hi, I would like to use the gif library out of a class that I have written. If I write something like:
Gif myAnimation = new Gif(this, myFile);
...Processing gives an error as it references to my class and not my main App. How do I reference to main sketch? I am pretty sure it has something to do with PApplet, but I can not get it working! Thank you!


Viewing all articles
Browse latest Browse all 2896

Trending Articles