XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Jun 27日 06:06

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 2016年 Jun 6日 13:52 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 484
Progress bars can be used to give a sliding indicator showing any value. They are useful as visual analogue indicators of values directly from cores but only for cores that express their values as percentages.

Unfortunately, they are next to useless when showing anything that does not equate to a percentage value. For example a temperature cannot be expressed in terms of percent.
A temperature is an absolute, it is a measurement. It has no maximum which could equate to 100%.

Therefore a sliding scale indicator that starts at 0 and goes up to 100% is useless in these cases.

eg. a temperature of 90 degrees reported by the speedfancore is shown by a bound progress bar as a value of 90%. A temperature of 110 degrees will show as 100%, the maximum that a progress bar can show is 100. Useless.

There should be an option of making the upper value correspond to an absolute figure that is over and above 100. A value that reflects reality. In this case a maximum value of 150 could be set and the speedfancore values could be displayed on progress bars allowing non-digital analogue displays to function. I'd say this limitation is almost severe enough to be warranted as a bug, it is at best an extreme limitation to what would otherwise be a very useful function...


Top
 Profile  
 
PostPosted: 2016年 Jun 6日 18:35 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4497
I think you should take a look at one of widgets that I created with a thermometer. I used a progress bar a land they shown the temp. The hard part is to change the values in the script to match with the real time temp.
With the weather after some tests changing the values is possible to do it.

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
PostPosted: 2016年 Jun 6日 19:18 
Offline
User avatar

Joined: 2013年 Jul 29日 09:13
Posts: 484
It isn't possible to change the way that a progress bar displays directly from a core. If I want to display a temperature higher than 100 degrees centigrade it cannot do it. For example if you switch to fahrenheit then the gauge reads 100% all the time. This is pure junk.

The progress bar needs more options, that's it. The option to specify a maximum that is not a percent, given that values fed into it are not percentile.

The point is that these progress bars are here to make widget designing easy and if they fail then there is no point in having them. I could convert my widgets and simply do everything in javascript but they are meant to use these sort of functions to make them easy to produce They don't help at all and I don't feel like rewriting my widgets just so cater for the inadequacies of Xwidget.

I have given up with this engine - it is 50% good, really good sometimes - but 50% incomplete/bad. I toyed with Xwidgets and I am now abandoning it altogether. There is no point, it is shoddy and well a bit ...junk.


Top
 Profile  
 
PostPosted: 2016年 Jun 6日 23:26 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4497
Check the script there man! It can be done even with F temperatures. And the progress bar with that script DOESN'T show the %! Depends on the design (the length of the progress bar) and the values that you want to add. Don't forget that you can create 2 separate layers with C and F. But I'm almost sure that you didn't even check it..

Examples:
http://xwidget.com/xwidget/widgets/date ... rd_HD.html

http://xwidget.com/xwidget/widgets/othe ... us_HD.html

_________________
Image
...and remember: don't take life too seriously...
My profile on Deviantart: http://jimking.deviantart.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

Powered by phpBB® Forum Software © phpBB Group