XWidgetSoft Forum

XWidget & XLaunchpad , Desktop customization
It is currently 2017年 Nov 24日 21:30

All times are UTC - 8 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
PostPosted: 2013年 May 12日 19:42 
Offline

Joined: 2013年 May 12日 19:37
Posts: 1
i would like a list of different details i can give the weather.


Top
 Profile  
 
PostPosted: 2014年 Mar 19日 00:16 
Offline
User avatar

Joined: 2014年 Mar 14日 23:41
Posts: 12
me too

how can i add diffrent image for morning ,noon, evening
need help


Top
 Profile  
 
PostPosted: 2014年 Mar 19日 02:02 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4557
Quote:
@travis1: i would like a list of different details i can give the weather.

The weather widgets have the right click option "Change Location" or something similar. Click on it and when the "search city" panel appears go back and you will see more weather info + 15days forecast.

Quote:
@dack23: how can i add diffrent image for morning ,noon, evening

You mean when you create a widget?
I don't know if the developer will add this function for the weather widgets, but for now the accuweather core service not supports hourly weather forecast when you create a widget.
It has "only" current weather conditions + weather up to 15 days and the weather images change for day/night (40 weather icons/images for the wth conditions)

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


Top
 Profile  
 
PostPosted: 2014年 Mar 19日 06:33 
Offline
User avatar

Joined: 2014年 Mar 14日 23:41
Posts: 12
yes when i create a widget with xwidget designer
where is definied what picture shows

example
8 o clock morning shows image morning.png (but when its cloudy morningcloudy.png or rainy or thunder)
13 o clock morning shows image noon.png (but when its cloudy nooncloudy.png or rainy or thunder)
17 o clock morning shows image afternoon.png (but when its cloudy afternooncloudy.png or rainy or thunder)
20 o clock morning shows image evening.png (but when its cloudy eveningcloudy.png or rainy or thunder)
22 o clock morning shows image night.png (but when its cloudy nightcloudy.png or rainy or thunder)

thanks for help

anf how can i change the language of months and days?


Top
 Profile  
 
PostPosted: 2014年 Mar 19日 08:35 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4557
dack23 wrote:
yes when i create a widget with xwidget designer
where is definied what picture shows

example
8 o clock morning shows image morning.png (but when its cloudy morningcloudy.png or rainy or thunder)
13 o clock morning shows image noon.png (but when its cloudy nooncloudy.png or rainy or thunder)
17 o clock morning shows image afternoon.png (but when its cloudy afternooncloudy.png or rainy or thunder)
20 o clock morning shows image evening.png (but when its cloudy eveningcloudy.png or rainy or thunder)
22 o clock morning shows image night.png (but when its cloudy nightcloudy.png or rainy or thunder)

thanks for help

anf how can i change the language of months and days?

I don't know if can this be applied for the weather images but check this post:
viewtopic.php?f=8&t=2911
The sure is that needs a particular script code for this!
(or you need to wait an answer from who knows script better than me)

I can tell you that there are two modes/tags for the weather icons/images:
1) ${curWeatherIconNum}.png that needs 40 images for the weather conditions
2) ${curSimpleWeatherIcon}.png that needs 8 images for the weather conditions
sun, cloudy, fog, rain, lightning, snow, moon, moon_cloudy

For the language, in general there are two kind of tags, normal and with the "En" inside. With the second one all the txt will be in English and with the first the txt will follow the language of your system. There are some tags though that support only english.
(that's why in my widget I always select English for all the txts)

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


Top
 Profile  
 
PostPosted: 2014年 Mar 22日 05:21 
Offline
User avatar

Joined: 2014年 Mar 14日 23:41
Posts: 12
but what i need to do to get this images work

sunny.png
clear.png
cloudy_day.png
cloudy_night.png
cold.png
fog_day.png
fog_night.png
hot.png
rainny_day.png
rainny_night.png
snow_day.png
snow_night.png
thunder_day.png
thunder_night.png
windy.png
windy_night.png


in which file it is definied when will which image loading


Top
 Profile  
 
PostPosted: 2014年 Mar 22日 05:36 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4557
As I told you using the ${curSimpleWeatherIcon}.png tag you need 8 images for the weather conditions
sun, cloudy, fog, rain, lightning, snow, moon, moon_cloudy

but the default tags (I don't know for the next release/s) not support day/night function.
(the fog image for example will be the same for and day and night)
You need a particular script code for this.
Check the link in my prev post to see if this can help you..

BUT using the other tag ${curWeatherIconNum}.png that need 40 images you can have day and night images!

Download a weather widget posted here, edit and check it from the inside.
This for example:
viewtopic.php?f=11&t=4266

Also check this:
viewtopic.php?f=3&t=2689

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


Top
 Profile  
 
PostPosted: 2014年 Mar 22日 05:44 
Offline
User avatar

Joined: 2014年 Mar 14日 23:41
Posts: 12
sorry for the stupid questions thanx a lot for ur help u are awesome


Top
 Profile  
 
PostPosted: 2014年 Mar 22日 05:52 
Offline
User avatar

Joined: 2012年 Dec 5日 17:52
Posts: 4557
dack23 wrote:
sorry for the stupid questions thanx a lot for ur help u are awesome

You're welcome! :)

_________________
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  [ 9 posts ] 

All times are UTC - 8 hours


Who is online

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