XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently May 8th, 2025, 8:13 am

All times are UTC - 8 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: CPU cores
PostPosted: April 21st, 2013, 5:26 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Tony I see that when is not available a cpu core, when I use the code,for core that not exists 2,3,4 , appears like this "%CPU3". Maybe you should fix this and it will better and less ugly show as "0%"....

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


Top
 Profile  
 
 Post subject: Re: CPU cores
PostPosted: April 22nd, 2013, 4:51 pm 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
OK, I will fix this next version ,thanks :)

_________________
XWidget Software Developer
[XWidget for Android] [Lastest version of XWidget] [Lastest patch of XWidget]
[XDesktop for Android/Windows]


Top
 Profile  
 
 Post subject: Re: CPU cores
PostPosted: April 23rd, 2013, 6:23 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
jimking wrote:
Tony I see that when is not available a cpu core, when I use the code,for core that not exists 2,3,4 , appears like this "%CPU3". Maybe you should fix this and it will better and less ugly show as "0%"....

My best solution is to place the format code in Substitute too (if you are using a text control) or manually update by registering a listener in core.onUpdate for other component. Example place '%CPU3" in substitute while %CPU3" is your binding core format.

Tony wrote:
OK, I will fix this next version ,thanks :)

Tony, this too needs to be fixed in many other cores too. I've seen this problem in RSS and GMail cores. Perhaps, they should return 'undefined' (script convention) or a blank value.

_________________
Life is a myriad game... Just play it!


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: Bing [Bot] and 38 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:  

Powered by phpBB® Forum Software © phpBB Group