XKCDViewer/components/BigScene.xml
2023-12-17 21:33:51 -06:00

328 lines
9.1 KiB
XML
Executable file

<?xml version="1.0" encoding="utf-8" ?>
<component name="BigScene" extends="Scene">
<children>
<Group id="MainScene"
>
<Group id="header"
>
<Label id="num"
text="Loading..."
width="1280" height="75"
horizAlign="center" vertAlign="center"
/>
<Label id="title"
text="Loading Title..."
width="1280" height="150"
horizAlign="center" vertAlign="center"
/>
<Label id="date"
text="Loading Date..."
width="1280" height="233"
horizAlign="center" vertAlign="center"
/>
<Poster id="logo"
uri="pkg:/images/channel-poster_sd.png"
translation="[33, 33]"
/>
</Group>
<Group id="footer"
translation="[0, 640]"
>
<Label id="alt"
text="Loading alt text..."
width="1200" height="80"
translation="[40, 0]"
horizAlign="center" vertAlign="center"
wrap="true"
lineSpacing="0"
/>
</Group>
<Group id="labels">
<Rectangle id="left"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[18, 296]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/left.png"
/>
<Label id="changeIfFirst"
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="PREV"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="first"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[18, 360]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/rewind.png"
/>
<Label
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="FIRST"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="right"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[1198, 296]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/right.png"
/>
<Label id="changeIfFinal"
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="NEXT"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="last"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[1198, 360]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/fastforward.png"
/>
<Label
translation="[-4, 38]"
width="0"
horizAlign="center" vertAlign="center"
text="LATEST"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="down"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[512, 580]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/down.png"
/>
<Label
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="GET"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="zoom"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[640, 580]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/ok.png"
/>
<Label
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="ZOOM"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="load"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[576, 580]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/replay.png"
/>
<Label
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="NEW?"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
<Rectangle id="alt"
width="64" height="64"
horizAlign="center" vertAlign="center"
translation="[704, 580]"
color="0x00000000"
>
<Poster
translation="[16, 4]"
width="32"
height="32"
uri="pkg:/images/buttons/up.png"
/>
<Label
translation="[0, 38]"
width="64"
horizAlign="center" vertAlign="center"
text="MORE"
color="0x000000FF"
>
<Font role="font" uri="pkg:/images/xkcd.ttf" size="20" />
</Label>
</Rectangle>
</Group>
<Rectangle id="scrim"
visible="false"
width="1280"
height="720"
color="0x00000080"
/>
<LayoutGroup id="comicholder"
layoutDirection="horiz"
horizAlignment="center" vertAlignment="center"
translation="[640, 360]"
>
<Poster id="comic"
loadDisplayMode="scaleToFit"
width="1080"
height="400"
translation="[100, 0]"
loadingBitmapUri="pkg:/images/reactions/loading.png"
loadingBitmapOpacity="0.25"
>
</Poster>
</LayoutGroup>
</Group>
<Rectangle id="SearchScrim"
visible="false"
width="1280"
height="720"
color="0x00000080"
/>
<Rectangle id="SearchScene"
visible="false"
width="1080"
height="382"
color="0xFFFFFFFF"
translation="[100, 338]"
>
<TypePad id="comic_id"
translation="[10, 70]"
/>
<Button id="backButton"
translation="[8, 312]"
minWidth="155"
height="50"
text="BACK"
textColor="0x000000FF"
focusedTextColor="0x000000FF"
>
<Font role="textFont" uri="pkg:/images/xkcd.ttf" size="20" />
<Font role="focusedTextFont" uri="pkg:/images/xkcd.ttf" size="20" />
</Button>
<Button id="doneButton"
translation="[162, 312]"
minWidth="155"
height="50"
text="DONE"
textColor="0x000000FF"
focusedTextColor="0x000000FF"
>
<Font role="textFont" uri="pkg:/images/xkcd.ttf" size="20" />
<Font role="focusedTextFont" uri="pkg:/images/xkcd.ttf" size="20" />
</Button>
<Label id="comic_sel_label"
translation="[10, 10]"
horizAlign="left" vertAlign="center"
text="GET COMIC #..."
color="0x000000FF"
/>
<Poster
translation="[715, 10]"
width="355"
height="362"
uri="pkg:/images/reactions/text_entry.png"
opacity="0.5"
/>
</Rectangle>
<Rectangle id="AltScrim"
visible="false"
width="1280"
height="720"
color="0x00000080"
/>
<Rectangle id="AltScene"
visible="false"
width="1080"
height="200"
color="0xFFFFFFFF"
translation="[100, 520]"
>
<Label id="alttextbig"
text="Loading alt text..."
width="980"
height="200"
translation="[50, 0]"
horizAlign="center" vertAlign="center"
wrap="true"
lineSpacing="0"
/>
</Rectangle>
<!-- <Rectangle id="TextScrim"
visible="true"
width="1280"
height="720"
color="0x00000080"
>
<StandardKeyboardDialog id="TextKeeb"
title="Enter Comic Name Query"
/>
</Rectangle> -->
</children>
<!-- BrightScript Portion -->
<script type="text/brightscript" uri="pkg:/source/literally_everything.brs"></script>
</component>