- UID
- 159032
- 主题
- 注册时间
- 2011-9-4
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 114 天 [LV.6]常住居民II
|
楼主 |
发表于 2011-9-26 20:29:58
|
显示全部楼层
cumtyanyixi 发表于 2011-9-23 20:03
对啊对啊,要代码给你发
By request from Karmat111, here is ToxxWeather
for the first time I didn't write the code by myself. This is a "very" modified version of this weather skin, http://jetpac.deviantart.com/art/Weather-37639007
So a big thanks to these guy!!!
The Icons are made by LavAna,(thank you for sharing) http://lavana.deviantart.com/art/Flat-Weather-Icons-32021664
All cred to these creators!!!
######### MOD Credits ############
ToxxWeather created by albinozz--------------------> http://albinozz.deviantart.com/
Sketchy Icons created by AzureSol------------------> http://azuresol.deviantart.com
alliewriting! Font created by ~pixie-dixie-rulz----> http://pixie-dixie-rulz.deviantart.com/art/alliewriting-113656520
MODification by Ghost999 --------------------------> http://ghost999art.deviantart.com/
##################################
[Rainmeter]
Author=moxamax and albinozz
Update=3500
;Metadata added by RainBrowser
;http://rainmeter.net/RainWiki/index.php?title=Rainmeter_101#.5BMetadata.5D
[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=
;End of added Metadata
[Variables]
;Please replace your location code of Weather.com below, e.g: Taipei is TWXX0021.
;You can check it on Weather.com or Google.
;And you may also delete "&unit=m" if you prefer the Fahrenheit Scale.
URL=http://xml.weather.com/weather/local/CHXX0437?cc=*&unit=m&dayf=6
Font=alliewriting!
;================================================================
[MeasureWeatherRSS]
Measure=Plugin
Plugin=Plugins\WebParser.dll
UpdateRate=3600
Url=#URL#
RegExp="(?siU)<weather ver="(.*)">(.*)<tmp>(.*)</tmp>(.*)<t>(.*)</t>(.*)<icon>(.*)</icon>(.*)<day d="1" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="2" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)<day d="3" t="(.*)" dt="(.*)">(.*)<hi>(.*)</hi>(.*)<low>(.*)</low>(.*)<icon>(.*)</icon>(.*)<t>(.*)</t>(.*)"
StringIndex=1
IfAboveValue=1
IfAboveAction=!execute [!RainmeterHideMeter MeterIconNA][!RainmeterShowMeter MeterIcon]
;Debug=1
;--------------------------------
[MeasureWeatherTemp]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=3
[MeasureWeatherDesc]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=5
[MeasureWeatherIcon]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=7
;-------------------------
;tomorrow's weather description, id=18
;tomorrow's day, id=9
;tomorrow's date, id=10, you can redefine the StringIndex value below with the id#
[MeasureWeatherDate1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=10
;tomorrow's Hi-temp, id=12
;tomorrow's Lo-temp, id=14, you can redefine the StringIndex value below with the id#
[MeasureWeatherTemp1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=12
;tomorrow's weather icon, id=16
[MeasureWeatherIcon1]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=16
;-------------------------
;D+2, weather description, id=29
;D+2, day of week, id=20
;D+2, date, id=21
[MeasureWeatherDate2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=21
;D+2, Hi-temp, id=23
;D+2, Lo-temp, id=25
[MeasureWeatherTemp2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=23
;D+2, weather icon, id=27
[MeasureWeatherIcon2]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=27
;-------------------------
;D+3, weather description, id=40
;D+3, day of week, id=31
;D+3, date, id=32
[MeasureWeatherDate3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=32
;D+3, Hi-temp, id=34
;D+3, Lo-temp, id=36
[MeasureWeatherTemp3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=34
;D+3, weather icon, id=38
[MeasureWeatherIcon3]
Measure=Plugin
Plugin=Plugins\WebParser.dll
Url=[MeasureWeatherRSS]
StringIndex=38
;================================================================
[MeterTemp]
MeasureName=MeasureWeatherTemp
Meter=STRING
X=35
Y=30
FontColor=0, 0, 0, 200
StringStyle=NORMAL
FontSize=22
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
Postfix=°C
[MeterDesc]
MeasureName=MeasureWeatherDesc
Meter=STRING
X=155
Y=10
FontColor=0, 0, 0, 200
FontSize=24
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
[MeterIconNA]
ImageName=na.png
Meter=IMAGE
X=15
Y=11
[MeterIcon]
MeasureName=MeasureWeatherIcon
Meter=IMAGE
X=62
Y=42
H=130
W=130
Hidden=1
;------------------------- offset Y: +40
[MeterTemp1]
MeasureName=MeasureWeatherTemp1
Meter=STRING
X=236
Y=165
FontColor=0, 0, 0, 100
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
Postfix=°c
[MeterDate1]
MeasureName=MeasureWeatherDate1
Meter=STRING
X=236
Y=89
FontColor=0, 0, 0, 100
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
[MeterIcon1]
MeasureName=MeasureWeatherIcon1
Meter=IMAGE
X=200
Y=106
H=63
W=63
;------------------------- offset Y: +40
[MeterTemp2]
MeasureName=MeasureWeatherTemp2
Meter=STRING
X=308
Y=165
FontColor=0, 0, 0, 100
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
Postfix=°c
[MeterDate2]
MeasureName=MeasureWeatherDate2
Meter=STRING
X=308
Y=89
FontColor=0, 0, 0, 100
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
[MeterIcon2]
MeasureName=MeasureWeatherIcon2
Meter=IMAGE
X=275
Y=106
H=63
W=63
;------------------------- offset Y: +40
[MeterTemp3]
MeasureName=MeasureWeatherTemp3
Meter=STRING
X=381
Y=165
FontColor=0, 0, 0, 100
StringStyle=NORMAL
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
Postfix=°c
[MeterDate3]
MeasureName=MeasureWeatherDate3
Meter=STRING
X=381
Y=89
FontColor=0, 0, 0, 100
FontSize=10
StringAlign=CENTER
StringStyle=BOLD
FontFace=方正舒体
Antialias=1
[MeterIcon3]
MeasureName=MeasureWeatherIcon3
Meter=IMAGE
X=350
Y=106
H=63
W=63
;----------------------------
[Back]
Meter=IMAGE
SolidColor=0, 0, 0, 1
X=0
Y=1
W=320
H=110
[Minimize]
Meter=STRING
X=81
Y=171
FontColor=0, 0, 0, 200
FontSize=7
FontFace=方正舒体
StringAlign=CENTER
Prefix="Minimize"
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverMinimize][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverMinimize][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterHideMeter MeterTemp1][!RainmeterHideMeter MeterDate1][!RainmeterHideMeter MeterIcon1][!RainmeterHideMeter MeterTemp2][!RainmeterHideMeter MeterDate2][!RainmeterHideMeter MeterIcon2][!RainmeterHideMeter MeterTemp3][!RainmeterHideMeter MeterDate3][!RainmeterHideMeter MeterIcon3][!RainmeterHideMeter Line2][!RainmeterHideMeter Refresh][!RainmeterMoveMeter 40 25 MeterIcon][!RainmeterMoveMeter 50 40 MeterTemp][!RainmeterShowMeter Maximize][!RainmeterHideMeter MouseOverMinimize][!RainmeterHideMeter Minimize][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
[MouseOverMinimize]
Meter=IMAGE
ImageName=MouseOverB.png
X=78
Y=255
W=65
H=20
AntiAlias=1
Hidden=1
[Maximize]
Meter=STRING
X=112
Y=171
FontColor=0, 0, 0, 200
FontSize=7
FontFace=方正舒体
StringAlign=CENTER
Prefix="Maximize"
AntiAlias=1
Hidden=1
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverMaximize][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverMaximize][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterShowMeter MeterTemp1][!RainmeterShowMeter MeterDate1][!RainmeterShowMeter MeterIcon1][!RainmeterShowMeter MeterTemp2][!RainmeterShowMeter MeterDate2][!RainmeterShowMeter MeterIcon2][!RainmeterShowMeter MeterTemp3][!RainmeterShowMeter MeterDate3][!RainmeterShowMeter MeterIcon3][!RainmeterShowMeter Line2][!RainmeterShowMeter Refresh][!RainmeterMoveMeter 32 22 MeterIcon][!RainmeterMoveMeter 50 40 MeterTemp][!RainmeterShowMeter Minimize][!RainmeterHideMeter MouseOverMaximize][!RainmeterHideMeter Maximize][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
[MouseOverMaximize]
Meter=IMAGE
ImageName=MouseOverB.png
X=129
Y=255
W=65
H=20
AntiAlias=1
Hidden=1
[Refresh]
Meter=STRING
X=143
Y=171
FontColor=0, 0, 0, 200
FontSize=7
FontFace=方正舒体
StringAlign=CENTER
Prefix="Refresh"
AntiAlias=1
Hidden=0
MouseOverAction=!Execute [!RainmeterShowMeter MouseOverRefresh][!RainmeterRedraw]
MouseLeaveAction=!Execute [!RainmeterHideMeter MouseOverRefresh][!RainmeterRedraw]
LeftMouseDownAction=!Execute [!RainmeterRefresh][!RainmeterRedraw]
LeftMouseUpAction=!Execute [!RainmeterRedraw]
[MouseOverRefresh]
Meter=IMAGE
ImageName=MouseOverB.png
X=180
Y=255
W=60
H=20
AntiAlias=1
Hidden=1
[Meter Title]
Meter=STRING
X=60
Y=60
FontColor=0, 0, 0, 220
FontSize=18
StringAlign=Right
StringStyle=BOLD
FontFace=方正隶变简体
AntiAlias=1
Text=徐州
|
|