XWidgetSoft Forum
https://www.bbs.xwidget.com/

Smoother needle movement
https://www.bbs.xwidget.com/viewtopic.php?f=3&t=3059
Page 1 of 1

Author:  Cov [ May 14th, 2013, 3:56 pm ]
Post subject:  Smoother needle movement

Hello,

I like to suggest enabling smoother movements of needles.
Here is a video, where you see a Windows Standard Gadget on the left and an xwidget on the right for comparison:

Image

CLICK

The needle of the CPU Monitor Gauge (RAM on the bottom) moves significant smoother than the one on the right.

Author:  Jimking [ May 14th, 2013, 4:52 pm ]
Post subject:  Re: Smoother needle movement

Enabling "smoother" movement means increase the times in "Switch Animation" and this causes more CPU consumption! Or the background image/the widget in general should be really small or you will have a 20-30Mb for a single widget!! A this is not good....
Also the cpu meter that changes ontinuously, with more smooth movement it will be less accurate!

Edit:
Check better and you'll see that the left widget loose values!

Author:  Cov [ May 14th, 2013, 5:12 pm ]
Post subject:  Re: Smoother needle movement

Hi jimking,

would you know what method I could use to find out the exact CPU load for each gadget?

Actually, if smoother movements really causes more CPU utilization, then that'd be alright with me.
See, I have lots of different gadgets on my desktop all the time and in idle, my CPU load shows approx 8%.

Regarding the accuracy, if I compare the two gauges from the video, I still prefer the movements on the left hand side.
If the widgets show the actual digital numbers next to the analog display, 100% accuracy of the needle is not important anymore.
Whether it's gauges or bars, the user only gets an estimate impression anyway. And actually for me it's all about the visuals.

Author:  Jimking [ May 14th, 2013, 5:47 pm ]
Post subject:  Re: Smoother needle movement

As I said you can edit (for personal use) the animation increasing the values in "Switch Animation" tab..
The original background image must be small. Then needs less CPU.. Just "play" a litte with the values and check the CPU.
Normally a widget has to consume 0%!!! ;)

viewtopic.php?f=3&t=2868

pm: The only way to check the CPU during your design, just press "Debug" and then open the task manager (Alt/Crtl/Delete and check the values of XWTest.exe and the rest XW processes)

Author:  Cov [ May 14th, 2013, 6:05 pm ]
Post subject:  Re: Smoother needle movement

Hi jimking,

I just tried it out, it worked !!

• selected Edit
• highlighted "rotator1"
• went to "Animate"
• to "Switch Animation"
• changed value (slider) from 0.30 to 1.50
• refreshed widgets, I can indeed see a difference

• changed value from 1.50 to 0.10 just to see
• refreshed and wow, that's a massive difference!

Image



Edit: I just tried Debug Mode and checked the Task Manager / Perfmon.
Very interesting results, thanks for that!

Author:  Jimking [ May 14th, 2013, 6:11 pm ]
Post subject:  Re: Smoother needle movement

Good! Now you know. ;)

Page 1 of 1 All times are UTC - 8 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/