SCED/xml/DownloadWindow.xml
2023-10-13 13:01:43 +02:00

83 lines
2.2 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"
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>