2020-06-10 16:43:32 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8" ?>
|
|
|
|
<component name="ItemGrid2" extends="JFGroup">
|
|
|
|
<children>
|
|
|
|
<poster id="backdrop"
|
|
|
|
loadDisplayMode="scaleToFill"
|
|
|
|
width="1920"
|
|
|
|
height="1080"
|
|
|
|
opacity="0.25"
|
|
|
|
/>
|
|
|
|
<poster id="backdropTransition"
|
|
|
|
loadDisplayMode="scaleToFill"
|
|
|
|
width="1920"
|
|
|
|
height="1080"
|
|
|
|
opacity="0.25"
|
|
|
|
/>
|
|
|
|
<MarkupGrid
|
|
|
|
id = "itemGrid"
|
|
|
|
translation = "[ 96, 160 ]"
|
|
|
|
itemComponentName = "GridItem"
|
|
|
|
numColumns = "6"
|
|
|
|
numRows = "5"
|
|
|
|
vertFocusAnimationStyle = "fixed"
|
|
|
|
itemSize = "[ 290, 425 ]"
|
|
|
|
itemSpacing = "[ 0, 45 ]"
|
|
|
|
drawFocusFeedback = "false" />
|
2020-07-11 13:37:33 +00:00
|
|
|
<Label translation="[0,540]" id="emptyText" font="font:LargeSystemFont" width="1920" horizAlign="center" vertAlign="center" height="64" visible="false" />
|
2020-08-17 15:51:51 +00:00
|
|
|
<ItemGridOptions id="options" visible="false" />
|
2020-06-10 16:43:32 +00:00
|
|
|
<Animation id="backroundSwapAnimation" duration="1" repeat="false" easeFunction="linear" >
|
|
|
|
<FloatFieldInterpolator id = "fadeinLoading" key="[0.0, 1.0]" keyValue="[ 0.00, 0.25 ]" fieldToInterp="backdropTransition.opacity" />
|
|
|
|
<FloatFieldInterpolator id = "fadeoutLoaded" key="[0.0, 1.0]" keyValue="[ 0.25, 0.00 ]" fieldToInterp="backdrop.opacity" />
|
|
|
|
</Animation>
|
|
|
|
</children>
|
|
|
|
<interface>
|
2020-06-15 16:05:48 +00:00
|
|
|
<field id="parentItem" type="node" onChange="loadInitialItems" />
|
2020-06-10 16:43:32 +00:00
|
|
|
<field id="selectedItem" type="node" alwaysNotify="true" />
|
2020-10-25 15:46:08 +00:00
|
|
|
<field id="imageDisplayMode" type="string" value="scaleToZoom" />
|
2020-06-10 16:43:32 +00:00
|
|
|
</interface>
|
2020-11-23 17:13:57 +00:00
|
|
|
<script type="text/brightscript" uri="pkg:/source/utils/misc.brs" />
|
2020-06-10 16:43:32 +00:00
|
|
|
<script type="text/brightscript" uri="ItemGrid2.brs" />
|
|
|
|
</component>
|