- UID
- 475697
- 主题
- 注册时间
- 2016-11-17
- 在线时间
- 小时
- 最后登录
- 1970-1-1
签到天数: 1 天 [LV.1]初来乍到
|
发表于 2016-11-17 13:58:01
|
显示全部楼层
[Rainmeter]
Update=1000
[Variables]
@include1=#@#limvar.ini
; main string size
size=100
;---Styles---
@include2=#@#styles.ini
;---Measures---
[mTime]
Measure=Time
[mMonth]
Measure=Time
Format=%m
[mMonthName]
Measure=Time
Format=%b
[mDate]
Measure=Time
Format=%d
MinValue=0
MaxValue=( ([mMonth]=2) ? 28 : ( ( ([mMonth]=4) || ([mMonth]=6) || ([mMonth]=9) || ([mMonth]=11) ) ? 30 : 31 ) )
DynamicVariables=1
[mDayOfYear]
Measure=Time
Format=%j
MinValue=0
MaxValue=366
[mYear]
Measure=Time
Format=%Y
; Calculations
[cDateH]
Measure=Calc
Formula=(FRAC(mTime/86400)+#offset#)*#lineheight#*#size#
[cMonthH]
Measure=Calc
Formula=(mDate/[mDate:MaxValue]+#offset#)*#lineheight#*#size#*0.45
DynamicVariables=1
[cYearH]
Measure=Calc
Formula=(mDayOfYear/366+#offset#)*#lineheight#*#size#*0.3
DynamicVariables=1
;---Meters---
[MonthBG]
MeasureName=mMonthName
Meter=String
MeterStyle=sText | sBG
X=#size#
Y=(0.8*#size#)
FontSize=(#size#*0.45)
StringAlign=CenterBottom
StringStyle=BOLD
[MonthFill]
MeasureName=mMonthName
Meter=String
MeterStyle=sText | sFill
W=(2*#size#)
H=[cMonthH:]
FontSize=(#size#*0.45)
StringAlign=CenterBottom
StringStyle=BOLD
FontColor=#color1#
[DateBG]
MeasureName=mDate
Meter=String
MeterStyle=sText | sBG
X=0r
Y=(1.4*#size#)r
StringAlign=CenterBottom
[DateFill]
MeasureName=mDate
Meter=String
MeterStyle=sText | sFill
W=(2*#size#)
H=[cDateH:]
StringAlign=CenterBottom
FontColor=#color2#
[YearBG]
MeasureName=mYear
Meter=String
MeterStyle=sText | sBG
X=0r
Y=0r
FontSize=(#size#*0.3)
StringAlign=CenterBottom
StringStyle=BOLD
[YearFill]
MeasureName=mYear
Meter=String
MeterStyle=sText | sFill
W=(2*#size#)
H=[cYearH:]
FontSize=(#size#*0.3)
StringAlign=CenterBottom
StringStyle=BOLD
FontColor=#color3#
---------------------------------------------------------------------------------------------------------------------
xhaq2012于2016-11-17 14:00补充以下内容:
赶快来抢啊啊!!!!
---------------------------------------------------------------------------------------------------------------------
|
|