XWidgetSoft Forum

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

All times are UTC - 8 hours




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: icons and weather
PostPosted: March 5th, 2013, 3:42 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Many times when I make a new weather widget, is difficult to synchronize the icons with the weather.... :(
I use the numerical or with txt pngs but I don't know why the weather results with the wrong icon.... I also made this test:
I used the default icons from a working weather widget, I tried to change the name my icons exactly with the corresponding icons, same number of icons that are shown the same weather condition, I put them back in my widget but the weather shows me wrong AGAIN... WHY this happens??? What I'm doing wrong..??? :?

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


Top
 Profile  
 
 Post subject: Re: icons and weather
PostPosted: March 5th, 2013, 6:35 am 
Offline
User avatar

Joined: May 12th, 2012, 8:32 pm
Posts: 594
Hi,
There is the AccuweatherCore weather icon number description:


Code:
1--Sunny
2--Mostly Sunny
3--Partly Sunny
4--Intermittent Clouds
5--Hazy Sunshine
6--Mostly Cloudy
7--Cloudy
8--Dreary
9--null
10--null
11--fog
12--showers
13--Mostly Cloudy with Showers
14--Partly Sunny with Showers
15--Thunderstorms
16--Mostly Cloudy with Thunder Showers
17--Partly Sunnty with Thunder Showers
18--Rain
19--Flurries
20--Mostly Cloudy with Flurries
21--Partly Sunny with Flurries
22--Snow
23--Mostly Cloudy with Snow
24--Ice
25--Sleet
26--Freezing Rain
27--null
28--null
29--Rain and Snow Mixed
30--Hot
31--Cold
32--Windy
33--Night Clear
34--Night Mostly Clear
35--Night Partly Cloudy
36--Night Intermittent Clouds
37--Night Hazy
38--Night Mostly Cloudy
39--Night Partly Cloudy with Showers
40--Night Mostly Cloudy with Showers
41--Night Partly Cloudy with Thunder Showers
42--Night Mostly Cloudy with Thunder Showers
43--Night Mostly Cloudy with Flurries
44--Night Mostly Cloudy with Flurries

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


Top
 Profile  
 
 Post subject: Re: icons and weather
PostPosted: March 5th, 2013, 6:38 am 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
Thank you VERY MUCH for the clarification!

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


Top
 Profile  
 
 Post subject: Re: icons and weather
PostPosted: March 9th, 2013, 7:21 am 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
I also a related problem.
binding the %weatherIconNum2 (and others too form 1-7) doesn't work.

Here's what i've
an image control.
BindingCore : accweathercore1
CoreFormat : Icons/%%weatherIconNum2.png

I've all weather icons (1-44) in a folder 'Icons' in widget root directory.
Plz Help :?

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


Top
 Profile  
 
 Post subject: Re: icons and weather
PostPosted: May 1st, 2013, 2:45 pm 
Offline
User avatar

Joined: December 5th, 2012, 5:52 pm
Posts: 4887
You have to change the code a bit. If you make even a single "error" using another symbol or number the code will not work!
Create a folder IN the (same) widget's folder using any name and the code like this:
(if your folder's name is "icons")

icons\%curWeatherIconNum.png
current weather

icons\%curWeatherIconNum1.png
day1 weather

icons\%curWeatherIconNum2.png
day2 weather

etc

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


Top
 Profile  
 
 Post subject: Re: icons and weather
PostPosted: May 1st, 2013, 4:38 pm 
Offline
User avatar

Joined: March 8th, 2013, 10:27 pm
Posts: 353
Thanks
The issue was with icon numbering which had I messed up. And the widget is already up at dA.

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


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

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 58 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