SCED/xml/Global/DownloadWindow.xml
2023-10-14 02:10:19 +02:00

141 lines
3.7 KiB
XML

<Defaults>
<!-- download tab buttons -->
<Button class="downloadTab"
hoverClass="hover"
pressClass="press"
color="#888888"
fontSize="24"
font="font_teutonic-arkham"/>
<Button class="hover"
color="grey"/>
<Button class="press"
color="white"/>
</Defaults>
<!-- window to select downloadable content -->
<VerticalLayout id="downloadWindow"
visibility="Admin"
color="black"
active="false"
onMouseExit="onMouseExit_window"
width="700"
height="780"
outlineSize="1 1"
outline="#303030">
<!-- header -->
<Panel preferredHeight="60"
padding="10 10 5 0">
<Panel preferredWidth="500">
<Text id="title"
fontSize="32"
font="font_teutonic-arkham"
alignment="MiddleLeft">Downloadable Content</Text>
</Panel>
<Panel>
<Button rectAlignment="MiddleRight"
width="50"
color="clear"
icon="close"
tooltip="Close"
onClick="onClick_toggleUi(Downloadable Content)"/>
</Panel>
</Panel>
<!-- tab selection -->
<HorizontalLayout preferredHeight="60"
padding="5"
spacing="5">
<Button class="downloadTab"
onClick="onClick_tab(campaigns)">Official Campaigns</Button>
<Button class="downloadTab"
onClick="onClick_tab(scenarios)">Official Scenarios</Button>
<Button class="downloadTab"
onClick="onClick_tab(fanmadeCampaigns)">Fan-Made Campaigns</Button>
<Button class="downloadTab"
onClick="onClick_tab(fanmadeScenarios)">Fan-Made Scenarios</Button>
<Button class="downloadTab"
onClick="onClick_tab(fanmadePlayerCards)">Fan-Made Player Cards</Button>
</HorizontalLayout>
<!-- content list -->
<VerticalScrollView color="transparent"
minHeight="100"
flexibleHeight="100">
<Panel id="ui_update_height"
height="24">
<VerticalLayout id="ui_update_point"
padding="10">
<Text>Please refresh to see available items.</Text>
</VerticalLayout>
</Panel>
</VerticalScrollView>
<!-- download progress bar -->
<Panel preferredHeight="50"
padding="5">
<ProgressBar id="download_progress"
height="40"
percentage="0"
color="#111111"
textColor="#aaaaaa"
fillImageColor="#333333"/>
</Panel>
</VerticalLayout>
<!-- content preview window (displayed on hover of list items) -->
<VerticalLayout id="previewWindow"
visibility="Admin"
color="black"
active="false"
width="300"
height="510"
padding="15 15 5 5"
outlineSize="1 1"
outline="#303030"
offsetXY="-510 135">
<!-- header -->
<VerticalLayout preferredHeight="100">
<Text id="previewTitle"
fontSize="28"
font="font_teutonic-arkham">PreviewTitle</Text>
<Text id="previewAuthor"
fontSize="20"
font="font_teutonic-arkham">by PreviewAuthor</Text>
</VerticalLayout>
<!-- box art -->
<Panel id="previewArtPanel"
preferredHeight="300">
<Mask id="previewArtMask">
<Image id="previewArtImage" />
</Mask>
<!-- mask for scenario size boxes
<Mask image="box-cover-mask-small" width="668" height="501" offsetXY="120 10">
<Image image="testArtSmall"/>
</Mask>
-->
<!--mask for campaign size boxes
<Mask image="box-cover-mask-big" width="870" height="435" offsetXY="154 60">
<Image image="testArtBig"/>
</Mask>
-->
<!--mask for "return to" size boxes
<Mask image="box-cover-mask-wide" width="780" height="650" offsetXY="-195 -50">
<Image image="testArtWide"/>
</Mask>
-->
</Panel>
<!-- description -->
<Panel preferredHeight="100">
<Text id="previewDescription"
fontSize="20"
font="font_teutonic-arkham">PreviewDescription</Text>
</Panel>
</VerticalLayout>