It is currently April 23rd, 2024, 11:13 pm

[solved]Newbie help and a backwards clock...

Get help with creating, editing & fixing problems with skins
D_Reckoning
Posts: 10
Joined: July 14th, 2010, 10:15 pm

[solved]Newbie help and a backwards clock...

Post by D_Reckoning »

Hello good people,
I should probably start by saying that I just picked up rainmeter a few days ago, and I'm still very much in a "learning" stage, regarding to syntax, operators, etc.

What I'm currently trying to do is making a clock go backwards - i.e. always showing the exact opposite of the current time. (03:40 = 09:20, etc.)

As basis for this task, I'm using fairly simple meter-based (analog) clock (That I found in WhiteBaron's "Simplesentence" theme), and so far I've managed the easy half: the pointers. The hard part remains though; the bars behind them. I can easily reverse them the same way that I've done with the pointers, but that effect didn't quite turn out as desired... I don't want them counting "the wrong direction", but reather actually counting downwards.

Thanks in advance!

Code: Select all

[Rainmeter]
Simplesentence created by WhiteBaron
Update=1000

;Metadata added by RainBrowser
;http://rainmeter.net/cms/Rainmeter101-EditingSkins

[Metadata]
Name=
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

[Variables]
Colour=0, 0, 0

;----------MEASURES----------

[MeasureTime]
Measure=Time

[MeasureBack]
Measure=Calc
Formula=1

;----------METERS------------

[MeterHourBack]
Meter=Roundline
MeasureName=MeasureBack
W=320
H=320
StartAngle=4.7123889
RotationAngle=6.2831853
LineLength=30
LineStart=20
LineColor=#Colour#, 20
Solid=1
AntiAlias=1

[MeterHourBar]
Meter=Roundline
MeasureName=MeasureTimeBarH
W=320
H=320
StartAngle=4.7123889
RotationAngle=6.2831853
LineLength=30
LineStart=20
LineColor=#Colour#, 70
Solid=1
AntiAlias=1
ValueReminder=43200

[MeterMinuteBack]
Meter=Roundline
MeasureName=MeasureBack
W=320
H=320
StartAngle=4.7123889
RotationAngle=6.2831853
LineLength=40
LineStart=32
LineColor=#Colour#, 20
Solid=1
AntiAlias=1

[MeterMinuteBar]
Meter=Roundline
MeasureName=MeasureTime
W=320
H=320
StartAngle=4.7123889
RotationAngle=6.2831853
LineLength=40
LineStart=32
LineColor=#Colour#, 120
Solid=1
AntiAlias=1
ValueReminder=3600

[MeterSecondBack]
Meter=Roundline
MeasureName=MeasureBack
W=320
H=320
StartAngle=4.7123889
RotationAngle=6.2831853
LineLength=47
LineStart=42
LineColor=#Colour#, 20
Solid=1
AntiAlias=1

[MeterSecondBar]
Meter=Roundline
MeasureName=MeasureTime
W=320
H=320
StartAngle=4.7123889
RotationAngle=6.2831853
LineLength=47
LineStart=42
LineColor=#Colour#, 170
Solid=1
AntiAlias=1
ValueReminder=60

[MeterHourHand]
Meter=Roundline
MeasureName=MeasureTime
W=320
H=320
StartAngle=4.7123889
RotationAngle=-6.2831853
LineLength=100
LineStart=0
LineColor=#Colour#, 150
AntiAlias=1
ValueReminder=43200

[MeterMinuteHand]
Meter=Roundline
MeasureName=MeasureTime
W=320
H=320
StartAngle=4.7123889
RotationAngle=-6.2831853
LineLength=125
LineStart=0
LineColor=#Colour#, 200
AntiAlias=1
ValueReminder=3600

[MeterSecondHand]
Meter=Roundline
MeasureName=MeasureTime
W=320
H=320
StartAngle=4.7123889
RotationAngle=-6.2831853
LineLength=150
LineStart=0
LineColor=#Colour#, 255
AntiAlias=1
ValueReminder=60
EDIT: solved a minor issue on my own, yay! ^^