![]() Regarding inclusion in vbRC5, I've actually directly offered the class to Olaf for inclusion in vbWidgets, so when he gets back in the mood for it, I hope it might be included. I suppose it would be up to the programmer to decide what scenario was preferable, and how much time they want to spend tuning either approach. when the animation stops, the user will know that there is a problem). However, with fine tuning of the steps, it might be indistinguishable from the threaded version, without the chance for deadlock misrepresentation (e.g. Are you searching for Loading Spinner png hd images or vector Choose from 12000+ Loading Spinner graphic resources and download in the form of PNG, EPS, AI or PSD. This would likely result in "choppier" animation, but the task would likely finish sooner. That said, I can see use cases where either:Ī) It is running in a class using the threading features of RC5 - the animation might be smoother, but it would likely be eating more processor time (making the overall task time longer), and possibly even continuing to animate when the parent has locked-up in an infinite loop, therefor being deceptively and infinitely responsive).ī) It is being used in tasks that are easily separable into steps, so you could perform one step in every firing of a certain interval (the class could fire an event every X milliseconds, and during that time the parent could perform some processing, then relinquish control back to the animation). where a task completion time is undeterminable, yet you want to inform the user that work is being done). I'll be honest though, it was mostly a learning experience for me - I don't use this code in any of my projects right now, and I don't know how it performs in the cases where it would be most useful (e.g. The next inspiration was to get more familiar with the vbRC5 Cairo classes, so it seemed like a nice fit. The main inspiration was a combination of this thread, and (as you mentioned) things like the Firefox "page loading" animation, and other spinners that have become especially common on webpages such as YouTube, etc. It is also my first attempt at using the vbRC5 Cairo graphics methods, so there may well be for the kind words! I appreciate the response, since sometimes it feels like I'm passing these demos off into the air. No warranties! This code has not been extensively tested, nor is it currently used in any production environment. This code is free to use for any purpose. This demo requires the vbRichClient5 framework to be registered on your development system. Gaussian Blur, optionally clipping blurred edges Total Degrees that the spinner should span Size of the hole in the middle of the spinner Padding between the edge of the spinner box and the spinnerīackground color of the spinner (including transparent background) ![]() After contributing to the following thread ( ), I thought others might be interested in an animated spinner, so I packaged my code into a class and added a simple demo form that allows you to play around with the parameters in real-time.Īdjustable Speed of spin in, normal spin, and spin out frames
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |