Skip to content

Commit

Permalink
Added warning text if variables are empty
Browse files Browse the repository at this point in the history
  • Loading branch information
Shaneee authored May 30, 2024
1 parent 7e136e9 commit 1fb7bc6
Showing 1 changed file with 48 additions and 0 deletions.
48 changes: 48 additions & 0 deletions AuthenticWeather/AuthenticWeather.ini
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,54 @@ DynamicVariables=1
InlineSetting=Color | #color#
InlinePattern="(%b())"

[WarningTextAPIKey]
Meter=String
X=10
Y=170
FontFace=Segoe UI
StringStyle=Bold
FontSize=14
FontColor=255,255,255,255
AntiAlias=1
Text="Please edit APIKey in the skin settings."
DynamicVariables=1
Measure=#APIKey#
IfMatch=^$
IfMatchAction=[!ShowMeter WarningTextAPIKey][!Redraw]
IfNotMatchAction=[!HideMeter WarningTextAPIKey][!Redraw]

[WarningTextLatitude]
Meter=String
X=10
Y=190
FontFace=Segoe UI
StringStyle=Bold
FontSize=14
FontColor=255,255,255,255
AntiAlias=1
Text="Please edit Latitude in the skin settings."
DynamicVariables=1
Measure=#Latitude#
IfMatch=^$
IfMatchAction=[!ShowMeter WarningTextLatitude][!Redraw]
IfNotMatchAction=[!HideMeter WarningTextLatitude][!Redraw]

[WarningTextLongitude]
Meter=String
X=10
Y=210
FontFace=Segoe UI
StringStyle=Bold
FontSize=14
FontColor=255,255,255,255
AntiAlias=1
Text="Please edit Longitude in the skin settings."
DynamicVariables=1
Measure=#Longitude#
IfMatch=^$
IfMatchAction=[!ShowMeter WarningTextLongitude][!Redraw]
IfNotMatchAction=[!HideMeter WarningTextLongitude][!Redraw]

[RoundTemp]
Measure=Calc
Formula=Round(Temp)

0 comments on commit 1fb7bc6

Please sign in to comment.