'drawFrame' error

azimsyamil:
so what should i add to correct the problem?

Add the functions and call them properly.

I ask again. Where did you get the code ?