Style the weather forecast after classic cable graphics

This commit is contained in:
Josh
2026-11-13 15:16:28 -05:00
parent ccec1e7044
commit 61bff9a6e6
4 changed files with 74 additions and 9 deletions

View File

@@ -6,22 +6,60 @@
<children>
<Audio id="weatherAudio" loop="true" />
<Group id="weather" visible="false">
<Rectangle width="1280" height="720" color="0x122D62FF" />
<Rectangle translation="[70,120]" width="1140" height="5" color="0x78E5EBFF" />
<Rectangle width="1280" height="720" color="0x21114FFF" />
<Rectangle translation="[70,120]" width="1140" height="5" color="0xFFC45CFF" />
<Label translation="[70,55]" width="900" height="55" text="retroLabs Weather"
font="font:LargeBoldSystemFont" color="0xF8F7EFFF" />
font="font:LargeBoldSystemFont" color="0xFFE192FF" />
<Label id="weatherLocation" translation="[70,135]" width="1140" height="50"
font="font:MediumBoldSystemFont" color="0x78E5EBFF" />
<Label id="weatherHeading" translation="[70,198]" width="1140" height="42"
font="font:MediumBoldSystemFont" />
<Label id="weatherBody" translation="[70,252]" width="700" height="285"
<Rectangle translation="[66,248]" width="708" height="293" color="0xCF8B38FF" />
<Rectangle translation="[69,251]" width="702" height="287" color="0x233A99FF" />
<Label id="weatherBody" translation="[87,267]" width="663" height="285"
font="font:SmallSystemFont" wrap="true" numLines="8" />
<Group id="forecastCards" translation="[70,251]" visible="false">
<Group translation="[0,0]">
<Rectangle width="232" height="287" color="0xCE8B38FF" />
<Rectangle translation="[3,3]" width="226" height="281" color="0x2943A8FF" />
<Rectangle translation="[3,3]" width="226" height="54" color="0x342371FF" />
<Label id="forecastDay0" translation="[8,9]" width="216" height="42"
horizAlign="center" font="font:SmallBoldSystemFont" color="0xFFE192FF" />
<Label id="forecastCondition0" translation="[16,83]" width="200" height="100"
horizAlign="center" vertAlign="center" wrap="true" numLines="3" font="font:SmallSystemFont" />
<Label id="forecastTemps0" translation="[8,213]" width="216" height="50"
horizAlign="center" font="font:SmallBoldSystemFont" />
</Group>
<Group translation="[234,0]">
<Rectangle width="232" height="287" color="0xCE8B38FF" />
<Rectangle translation="[3,3]" width="226" height="281" color="0x2943A8FF" />
<Rectangle translation="[3,3]" width="226" height="54" color="0x342371FF" />
<Label id="forecastDay1" translation="[8,9]" width="216" height="42"
horizAlign="center" font="font:SmallBoldSystemFont" color="0xFFE192FF" />
<Label id="forecastCondition1" translation="[16,83]" width="200" height="100"
horizAlign="center" vertAlign="center" wrap="true" numLines="3" font="font:SmallSystemFont" />
<Label id="forecastTemps1" translation="[8,213]" width="216" height="50"
horizAlign="center" font="font:SmallBoldSystemFont" />
</Group>
<Group translation="[468,0]">
<Rectangle width="232" height="287" color="0xCE8B38FF" />
<Rectangle translation="[3,3]" width="226" height="281" color="0x2943A8FF" />
<Rectangle translation="[3,3]" width="226" height="54" color="0x342371FF" />
<Label id="forecastDay2" translation="[8,9]" width="216" height="42"
horizAlign="center" font="font:SmallBoldSystemFont" color="0xFFE192FF" />
<Label id="forecastCondition2" translation="[16,83]" width="200" height="100"
horizAlign="center" vertAlign="center" wrap="true" numLines="3" font="font:SmallSystemFont" />
<Label id="forecastTemps2" translation="[8,213]" width="216" height="50"
horizAlign="center" font="font:SmallBoldSystemFont" />
</Group>
</Group>
<Rectangle id="weatherPreviewFrame" translation="[800,208]" width="416" height="238"
color="0x78E5EBFF" visible="false" />
<Label id="weatherPreviewLabel" translation="[802,454]" width="412" height="70"
font="font:SmallBoldSystemFont" wrap="true" numLines="2" />
<Label id="weatherAlerts" translation="[70,553]" width="1140" height="74"
font="font:SmallBoldSystemFont" color="0xFFD57AFF" wrap="true" numLines="2" />
<Rectangle translation="[0,637]" width="1280" height="83" color="0x171D54FF" />
<Label id="weatherSource" translation="[70,646]" width="1140" height="32"
font="font:SmallSystemFont" color="0xB7D4E9FF" />
</Group>