summaryrefslogtreecommitdiff
path: root/unit1.pas
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2015-11-20 09:10:06 +0100
committerErich Eckner <git@eckner.net>2015-11-20 09:10:06 +0100
commitb02e31d9ce638a20006206d4b779c7e649769c8a (patch)
tree292136b0c2d1d24832a8d843d33c6f9503901615 /unit1.pas
parent58dd07f96484aef4e029e8a5ebd863b640cbec3f (diff)
downloadFH-Wetter-b02e31d9ce638a20006206d4b779c7e649769c8a.tar.xz
form1.icon angepasst
Diffstat (limited to 'unit1.pas')
-rw-r--r--unit1.pas11
1 files changed, 6 insertions, 5 deletions
diff --git a/unit1.pas b/unit1.pas
index 9faa644..66d910e 100644
--- a/unit1.pas
+++ b/unit1.pas
@@ -245,12 +245,13 @@ begin
case byte(wetter.sonnigkeit > 0.25) or
(byte(wetter.maxWind > 2.5)*2) or
(byte(wetter.gesRegen > 0)*4) of
- $00: trayIcon1.Icon:=WolkeIco.Picture.Icon;
- $01: trayIcon1.Icon:=SonneIco.Picture.Icon;
- $02,$03: trayIcon1.Icon:=SturmIco.Picture.Icon;
- $04,$05: trayIcon1.Icon:=RegenIco.Picture.Icon;
- $06,$07: trayIcon1.Icon:=RegenSturmIco.Picture.Icon;
+ $00: trayIcon1.icon:=wolkeIco.picture.icon;
+ $01: trayIcon1.icon:=sonneIco.picture.icon;
+ $02,$03: trayIcon1.icon:=sturmIco.picture.icon;
+ $04,$05: trayIcon1.icon:=regenIco.picture.icon;
+ $06,$07: trayIcon1.icon:=regenSturmIco.picture.icon;
end{of Case};
+ form1.icon:=trayIcon1.icon;
s:=wetter.hintInfo+' '+pegel.hintInfo;
image1.canvas.font.color:=$000000;