I didn't thought that I will enjoy in this 'wait image'
How to make this image to spin?
If split this in 8 images
why having 8 images when it's easy to rotate the image with gr.DrawImage() ? Increase angle value by (360 / at each time interval you want (with a timer and a public variable for the angle) and just use this angle value in the gr.DrawImage() as parameter.
void DrawImage(IGdiBitmap, dstX, dstY, dstW, dstH, srcX, srcY, srcW, srcH, angle = 0, alpha = 255);
You're right.. this is simple rotate scipt, but i don't know where to put it inside 'Thumbs' script, to display only when downloading image:
var wait = gdi.Image(fb.FoobarPath + "images\\wait5.png");
var angle = 0;
function on_paint(gr) {
gr.DrawImage(wait, 0, 0, 30, 30, 0, 0, wait.width, wait.height, angle);
}
var timer = window.CreateTimerInterval(10);
function on_timer() {
if(angle >= 360) angle = 10;
angle += 10;
window.Repaint();
}