Files
retroLabs/roku/components/RetroScene.xml

112 lines
8.0 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>
<Audio id="weatherAudio" 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" 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 id="guideDetails" translation="[520,202]" visible="false">
<Rectangle width="690" height="432" color="0x1B2B48FF" />
<Label id="guideChannelTitle" translation="[24,14]" width="640" height="45"
font="font:MediumBoldSystemFont" color="0x78E5EBFF" />
<Label id="guideNow" translation="[24,78]" width="640" height="100"
font="font:SmallSystemFont" wrap="true" numLines="3" />
<Label id="guideNext" translation="[24,192]" width="640" height="100"
font="font:SmallSystemFont" wrap="true" numLines="3" />
<Label id="guideLater" translation="[24,306]" width="640" height="100"
font="font:SmallSystemFont" wrap="true" numLines="3" />
</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>