2022-12-01 19:17:19 -05:00
|
|
|
<!-- Default formatting -->
|
2022-11-24 11:06:02 -05:00
|
|
|
<Defaults>
|
2022-12-01 19:17:19 -05:00
|
|
|
<!-- general Stuff -->
|
2022-12-21 20:04:15 -05:00
|
|
|
<Text color="white"
|
|
|
|
fontSize="18"/>
|
|
|
|
<Button tooltipPosition="Left"
|
|
|
|
color="clear"/>
|
2022-12-01 19:17:19 -05:00
|
|
|
|
2022-12-07 10:40:55 -05:00
|
|
|
<!-- Window -->
|
2022-12-21 20:04:15 -05:00
|
|
|
<HorizontalLayout class="headerLayout"
|
|
|
|
height="75"
|
|
|
|
padding="5"/>
|
|
|
|
<Button class="headerButton"
|
|
|
|
minWidth="50"
|
|
|
|
preferredWidth="50"
|
|
|
|
flexibleWidth="0"
|
|
|
|
color="clear"/>
|
|
|
|
<Text class="headerText"
|
|
|
|
minWidth="200"
|
|
|
|
flexibleWidth="100"
|
|
|
|
fontSize="32"
|
|
|
|
font="font_teutonic-arkham"/>
|
2022-11-24 11:06:02 -05:00
|
|
|
</Defaults>
|
|
|
|
|
2023-01-08 13:42:45 -05:00
|
|
|
<!-- Buttons at the bottom right (height: n * 35 + (n-1) * 2) -->
|
2022-12-21 20:04:15 -05:00
|
|
|
<VerticalLayout visibility="Admin"
|
|
|
|
color="#000000"
|
|
|
|
outlineSize="1 1"
|
|
|
|
outline="#303030"
|
|
|
|
rectAlignment="LowerRight"
|
|
|
|
width="35"
|
2023-01-08 13:42:45 -05:00
|
|
|
height="146"
|
2023-01-10 15:21:33 -05:00
|
|
|
offsetXY="-1 80"
|
2023-01-08 13:42:45 -05:00
|
|
|
spacing="2">
|
2022-12-21 20:04:15 -05:00
|
|
|
<Button icon="cthulhu"
|
|
|
|
tooltip="Campaigns"
|
|
|
|
onClick="onClick_toggleUi(Campaigns)"/>
|
|
|
|
<Button icon="dark-cult"
|
|
|
|
tooltip="Standalone Scenarios"
|
|
|
|
onClick="onClick_toggleUi(Standalone Scenarios)"/>
|
|
|
|
<Button icon="devourer"
|
|
|
|
tooltip="Community Content"
|
|
|
|
onClick="onClick_toggleUi(Community Content)"/>
|
|
|
|
<Button icon="option-gear"
|
|
|
|
tooltip="Options"
|
|
|
|
onClick="onClick_toggleUi(Options)"/>
|
2022-11-24 11:06:02 -05:00
|
|
|
</VerticalLayout>
|
|
|
|
|
2022-12-01 19:17:19 -05:00
|
|
|
<!-- Basic UI that will be replaced based on title -->
|
2022-12-21 20:04:15 -05:00
|
|
|
<VerticalLayout id="load_ui"
|
|
|
|
visibility="Admin"
|
|
|
|
color="black"
|
|
|
|
active="false"
|
|
|
|
width="700"
|
|
|
|
height="780"
|
|
|
|
outlineSize="1 1"
|
|
|
|
outline="#303030">
|
2022-12-06 14:57:33 -05:00
|
|
|
<HorizontalLayout class="headerLayout">
|
2022-12-21 20:04:15 -05:00
|
|
|
<Button class="headerButton"
|
|
|
|
icon="refresh"
|
|
|
|
tooltip="Refresh List"
|
|
|
|
tooltipPosition="Right"
|
|
|
|
onClick="onClick_refreshList"/>
|
|
|
|
<Text id="title"
|
|
|
|
class="headerText">Loadable Items</Text>
|
|
|
|
<Button class="headerButton"
|
|
|
|
icon="close"
|
|
|
|
tooltip="Close"
|
|
|
|
onClick="onClick_toggleUi(Hidden)"/>
|
2022-12-06 14:57:33 -05:00
|
|
|
</HorizontalLayout>
|
2022-12-21 20:04:15 -05:00
|
|
|
<VerticalScrollView color="transparent"
|
|
|
|
minHeight="100"
|
|
|
|
flexibleHeight="100">
|
|
|
|
<Panel id="ui_update_height"
|
|
|
|
height="24">
|
|
|
|
<VerticalLayout id="ui_update_point"
|
|
|
|
padding="10">
|
2022-12-06 14:57:33 -05:00
|
|
|
<Text>Please refresh to see available items.</Text>
|
|
|
|
</VerticalLayout>
|
2022-11-24 11:06:02 -05:00
|
|
|
</Panel>
|
2022-12-06 14:57:33 -05:00
|
|
|
</VerticalScrollView>
|
2022-12-21 20:04:15 -05:00
|
|
|
<Panel color="rgb(0,0,0)"
|
|
|
|
minHeight="50"
|
|
|
|
preferredHeight="50"
|
|
|
|
flexibleHeight="0">
|
|
|
|
<Button id="load_button"
|
|
|
|
active="false"
|
|
|
|
onClick="onClick_load">Load:</Button>
|
2022-12-06 14:57:33 -05:00
|
|
|
<HorizontalLayout id="progress_display">
|
2022-12-21 20:04:15 -05:00
|
|
|
<ProgressBar id="download_progress"
|
|
|
|
percentage="0"
|
|
|
|
color="#000000"
|
|
|
|
fillImageColor="#333333"/>
|
|
|
|
<Button onClick="onClick_cancel"
|
|
|
|
active="false">Cancel</Button>
|
2022-12-06 14:57:33 -05:00
|
|
|
</HorizontalLayout>
|
|
|
|
</Panel>
|
2022-11-24 11:06:02 -05:00
|
|
|
</VerticalLayout>
|
2022-12-01 19:17:19 -05:00
|
|
|
|
2023-01-01 04:38:06 -05:00
|
|
|
<!-- Title Splash when starting a scenario -->
|
2023-01-10 21:05:19 -05:00
|
|
|
<Panel
|
|
|
|
id="title_splash"
|
|
|
|
height="220"
|
2023-01-11 17:37:30 -05:00
|
|
|
position="0 250 0"
|
2023-01-01 05:04:33 -05:00
|
|
|
showAnimation="FadeIn"
|
|
|
|
hideAnimation="FadeOut"
|
|
|
|
active="false"
|
2023-01-10 21:05:19 -05:00
|
|
|
animationDuration="2">
|
|
|
|
<Image
|
|
|
|
id="title_gradient"
|
|
|
|
height="220"
|
|
|
|
image="TitleGradient" />
|
|
|
|
<Text id="title_splash_text"
|
|
|
|
width="95%"
|
|
|
|
height="180"
|
|
|
|
resizeTextForBestFit="true"
|
|
|
|
resizeTextMinSize="100"
|
|
|
|
resizeTextMaxSize="150"
|
|
|
|
font="font_teutonic-arkham"
|
|
|
|
outline="black"
|
|
|
|
outlineSize="3 -3"
|
2023-01-10 21:08:25 -05:00
|
|
|
horizontalOverflow="Overflow">
|
2023-01-10 21:05:19 -05:00
|
|
|
</Text>
|
|
|
|
</Panel>
|
2022-12-07 07:02:09 -05:00
|
|
|
<Include src="OptionPanel.xml"/>
|