130 lines
9.7 KiB
XML
130 lines
9.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<component name="RetroScene" extends="Scene">
|
|
<script type="text/brightscript" uri="pkg:/components/RetroScene.brs" />
|
|
<script type="text/brightscript" uri="pkg:/components/Guide.brs" />
|
|
<script type="text/brightscript" uri="pkg:/components/Weather.brs" />
|
|
<children>
|
|
<Group id="remoteFocus" focusable="true" />
|
|
<Audio id="weatherAudio" focusable="false" loop="true" />
|
|
<Group id="weather" visible="false">
|
|
<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="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" />
|
|
<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>
|
|
<Video id="video" focusable="false" width="1280" height="720" enableUI="false" />
|
|
<Group id="banner" translation="[50,525]" visible="false">
|
|
<Rectangle width="1180" height="145" color="0x101A32EF" />
|
|
<Rectangle width="6" height="145" color="0x78E5EBFF" />
|
|
<Label id="channelTitle" translation="[28,9]" width="950" height="44"
|
|
font="font:MediumBoldSystemFont" color="0x78E5EBFF" />
|
|
<Label id="clock" translation="[980,9]" width="170" height="44"
|
|
horizAlign="right" font="font:MediumSystemFont" />
|
|
<Label id="nowTitle" translation="[28,57]" width="550" height="44"
|
|
font="font:SmallSystemFont" />
|
|
<Label id="nextTitle" translation="[602,57]" width="550" height="44"
|
|
font="font:SmallSystemFont" />
|
|
<Rectangle id="progressTrack" translation="[28,120]" width="1124" height="4" color="0x344465FF" />
|
|
<Rectangle id="progress" translation="[28,120]" width="0" height="4" color="0x78E5EBFF" />
|
|
</Group>
|
|
<Label id="playbackStatus" translation="[0,322]" width="1280" height="70"
|
|
horizAlign="center" font="font:MediumBoldSystemFont" visible="false" />
|
|
<Group id="panel" visible="false">
|
|
<Rectangle width="1280" height="720" color="0x101A32FF" />
|
|
<Rectangle translation="[65,125]" width="1150" height="4" color="0x78E5EBFF" />
|
|
<Label id="panelTitle" translation="[65,50]" width="1140" height="60"
|
|
font="font:LargeBoldSystemFont" color="0x78E5EBFF" />
|
|
<Label id="panelStatus" translation="[65,143]" width="1150" height="54"
|
|
font="font:SmallSystemFont" />
|
|
<LabelList id="menu" translation="[65,202]" itemSize="[1150,50]" itemSpacing="[0,4]"
|
|
numRows="8" color="0xF8F7EFFF" focusedColor="0x101A32FF" font="font:SmallSystemFont"
|
|
focusedFont="font:SmallBoldSystemFont" focusBitmapBlendColor="0x78E5EBFF" />
|
|
</Group>
|
|
<Group id="guideOverlay" translation="[50,446]" visible="false">
|
|
<Rectangle width="1180" height="224" color="0x101A32F2" />
|
|
<Rectangle width="1180" height="3" color="0x78E5EBFF" />
|
|
<Label id="guideStatus" translation="[18,9]" width="1144" height="36" font="font:SmallSystemFont" />
|
|
<Group id="guideRows" translation="[12,46]">
|
|
<Label translation="[12,0]" width="230" height="30" text="CHANNEL" color="0x78E5EBFF" font="font:SmallBoldSystemFont" />
|
|
<Label translation="[250,0]" width="440" height="30" text="NOW" color="0x78E5EBFF" font="font:SmallBoldSystemFont" />
|
|
<Label translation="[704,0]" width="440" height="30" text="NEXT" color="0x78E5EBFF" font="font:SmallBoldSystemFont" />
|
|
<Group id="guideRow0" translation="[0,30]">
|
|
<Rectangle id="guideFill0" width="1156" height="44" color="0x1B2B48FF" />
|
|
<Label id="guideChannel0" translation="[12,0]" width="225" height="44" font="font:SmallBoldSystemFont" />
|
|
<Label id="guideNow0" translation="[250,0]" width="440" height="44" font="font:SmallSystemFont" />
|
|
<Label id="guideNext0" translation="[704,0]" width="440" height="44" font="font:SmallSystemFont" />
|
|
</Group>
|
|
<Group id="guideRow1" translation="[0,76]">
|
|
<Rectangle id="guideFill1" width="1156" height="44" color="0x1B2B48FF" />
|
|
<Label id="guideChannel1" translation="[12,0]" width="225" height="44" font="font:SmallBoldSystemFont" />
|
|
<Label id="guideNow1" translation="[250,0]" width="440" height="44" font="font:SmallSystemFont" />
|
|
<Label id="guideNext1" translation="[704,0]" width="440" height="44" font="font:SmallSystemFont" />
|
|
</Group>
|
|
<Group id="guideRow2" translation="[0,122]">
|
|
<Rectangle id="guideFill2" width="1156" height="44" color="0x1B2B48FF" />
|
|
<Label id="guideChannel2" translation="[12,0]" width="225" height="44" font="font:SmallBoldSystemFont" />
|
|
<Label id="guideNow2" translation="[250,0]" width="440" height="44" font="font:SmallSystemFont" />
|
|
<Label id="guideNext2" translation="[704,0]" width="440" height="44" font="font:SmallSystemFont" />
|
|
</Group>
|
|
</Group>
|
|
</Group>
|
|
<Timer id="bannerTimer" duration="5" />
|
|
<Timer id="clockTimer" duration="1" repeat="true" />
|
|
<Timer id="weatherRotation" duration="9" repeat="true" />
|
|
<Timer id="weatherRefresh" duration="60" repeat="true" />
|
|
<Timer id="retryTimer" duration="3" />
|
|
</children>
|
|
</component>
|