jf-roku/components/JFOverhang.xml
Neil Burrows ba05444f44
Set Roku Safe zones for Overhang & Home (#217)
* Set Roku Safe zones for Overhang & Home

* Set overhang title to be Scrolling Label

* Move overhand logo nearer edge to line up with Safe Zone

* Set width of Rows to cut off at edge of Safe Zone

* Moving "options" out of JF Overhang background area

Previously Options were not in "dark background", but when updating for Safe Zones I extended the background too far.  Sorting this.
2020-06-10 10:40:09 -04:00

57 lines
2.5 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<component name="JFOverhang" extends="Group">
<children>
<LayoutGroup id="overlayBackgroundGroup" layoutDirection="horiz" translation="[0, 0]" >
<Rectangle
id="overlayBackground"
color="#000000"
width="1920"
height="125"
translation="[0,0]" />
</LayoutGroup>
<Poster id="overlayLogo"
uri="pkg:/images/logo.png"
translation="[70, 53]"
width="270" height="72" />
<LayoutGroup id="overlayLeftGroup" layoutDirection="horiz" translation="[375, 53]" itemSpacings="30" >
<Rectangle
id="overlayLeftSeperator"
color="#666666"
width="2"
height="64"/>
<ScrollingLabel id="overlayTitle" font="font:LargeSystemFont" vertAlign="center" height="64" maxWidth="1100" repeatCount="0" />
</LayoutGroup>
<LayoutGroup id="overlayRightGroup" layoutDirection="horiz" itemSpacings="30" translation="[1820, 53]" horizAlignment="right" >
<Label id="overlayCurrentUser" font="font:MediumSystemFont" width="300" horizAlign="right" vertAlign="center" height="64" />
<Rectangle
id="overlayRightSeperator"
color="#666666"
width="2"
height="64"/>
<LayoutGroup id="overlayTimeGroup" layoutDirection="horiz" horizAlignment="right" itemSpacings="0" >
<Label id="overlayHours" font="font:MediumSystemFont" vertAlign="center" height="64" />
<Label font="font:MediumSystemFont" text=":" vertAlign="center" height="64" />
<Label id="overlayMinutes" font="font:MediumSystemFont" vertAlign="center" height="64" />
<Label id="overlayMeridian" font="font:SmallSystemFont" vertAlign="bottom" height="48" />
</LayoutGroup>
</LayoutGroup>
<LayoutGroup layoutDirection="horiz" horizAlignment="right" translation="[1820, 125]" vertAlignment="custom">
<Label id="overlayOptionsStar" font="font:LargeSystemFont" text="*" />
<Label id="overlayOptionsText" font="font:SmallSystemFont" text="Options" translation="[0,6]" />
</LayoutGroup>
<Timer
id="currentTimeTimer"
repeat="true"
duration="60" />
</children>
<interface>
<field id="id" type="string" />
<field id="currentUser" type="string" onChange="updateUser" />
<field id="title" type="string" onChange="updateTitle" />
<field id="showOptions" value="true" type="boolean" onChange="updateOptions" />
<function name="resetTime" />
</interface>
<script type="text/brightscript" uri="JFOverhang.brs" />
</component>