jf-roku/components/JFOverhang.xml

51 lines
2.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8" ?>
2020-02-26 22:55:47 +00:00
<component name="JFOverhang" extends="Group">
<children>
<Poster id="overlayLogo"
uri="pkg:/images/logo.png"
translation="[70, 53]"
2020-02-26 22:55:47 +00:00
width="270" height="72" />
<LayoutGroup id="overlayLeftGroup" layoutDirection="horiz" translation="[375, 53]" itemSpacings="30" >
2020-02-26 22:55:47 +00:00
<Rectangle
id="overlayLeftSeperator"
color="#666666"
width="2"
height="64"/>
<ScrollingLabel id="overlayTitle" font="font:LargeSystemFont" vertAlign="center" height="64" maxWidth="1100" repeatCount="0" />
2020-02-26 22:55:47 +00:00
</LayoutGroup>
<LayoutGroup id="overlayRightGroup" layoutDirection="horiz" itemSpacings="30" translation="[1820, 53]" horizAlignment="right" >
2020-02-26 22:55:47 +00:00
<Label id="overlayCurrentUser" font="font:MediumSystemFont" width="300" horizAlign="right" vertAlign="center" height="64" />
<Rectangle
id="overlayRightSeperator"
color="#666666"
width="2"
2022-07-16 02:28:59 +00:00
height="64"
visible="false"/>
2020-03-01 02:48:31 +00:00
<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>
2020-02-26 22:55:47 +00:00
</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>
2020-02-26 22:55:47 +00:00
<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" />
2020-02-26 22:55:47 +00:00
<field id="showOptions" value="true" type="boolean" onChange="updateOptions" />
<function name="resetTime" />
2020-02-26 22:55:47 +00:00
</interface>
<script type="text/brightscript" uri="JFOverhang.brs" />
2022-07-16 02:28:59 +00:00
<script type="text/brightscript" uri="pkg:/source/utils/config.brs" />
</component>