2024-01-06 21:32:29 -05:00
<!-- include Global/Global.xml -->
2023-03-12 13:01:55 -04:00
<Defaults >
2024-01-06 21:32:29 -05:00
<!-- general stuff -->
2023-03-12 13:01:55 -04:00
<Text color= "white"
fontSize="18"/>
2024-01-06 21:32:29 -05:00
</Defaults>
2023-03-12 13:01:55 -04:00
2024-01-06 21:32:29 -05:00
<!-- include Global/BottomBar.xml -->
<Defaults >
<Button class= "navbar"
tooltipPosition="Left"
tooltipBackgroundColor="rgba(0,0,0,1)"
2023-03-12 13:01:55 -04:00
color="clear"/>
</Defaults>
2024-01-06 21:32:29 -05:00
<!-- Buttons at the bottom right (height: n * 37 - 2) -->
2023-03-12 13:01:55 -04:00
<VerticalLayout visibility= "Admin"
color="#000000"
outlineSize="1 1"
outline="#303030"
rectAlignment="LowerRight"
width="35"
2024-01-06 21:32:29 -05:00
height="72"
2023-08-27 21:09:46 -04:00
offsetXY="-1 120"
2023-03-12 13:01:55 -04:00
spacing="2">
2024-01-06 21:32:29 -05:00
<Button class= "navbar"
icon="devourer"
tooltip="Downloadable Content"
onClick="onClick_toggleUi(downloadWindow)"/>
<Button class= "navbar"
icon="option-gear"
2023-03-12 13:01:55 -04:00
tooltip="Options"
2024-01-06 21:32:29 -05:00
onClick="onClick_toggleUi(optionPanel)"/>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
2023-08-27 21:09:46 -04:00
<!-- Navigation Overlay button (not visibly to Grey and Black) -->
<Panel visibility= "White|Brown|Red|Orange|Yellow|Green|Teal|Blue|Purple|Pink"
color="#000000"
outlineSize="1 1"
outline="#303030"
rectAlignment="LowerRight"
width="35"
height="35"
2024-01-06 21:32:29 -05:00
offsetXY="-1 85">
<Button class= "navbar"
icon="NavigationOverlayIcon"
2023-08-27 21:09:46 -04:00
tooltip="Navigation Overlay"
onClick="onClick_toggleUi(Navigation Overlay)"/>
</Panel>
2024-01-06 21:32:29 -05:00
<!-- include Global/BottomBar.xml -->
<!-- include Global/DownloadWindow.xml -->
<Defaults >
<Button class= "downloadTab"
hoverClass="bGrey"
pressClass="bWhite"
onClick="onClick_tab"
color="#888888"
fontSize="24"
font="font_teutonic-arkham"/>
<Button class= "bGrey"
color="grey"/>
<Button class= "bWhite"
color="white"/>
<Button class= "activeTab"
color="#ffffff"/>
<Button class= "windowButton"
hoverClass="bGrey"
pressClass="bWhite"
selectClass="bWhite"
color="#888888"
font="font_teutonic-arkham"/>
</Defaults>
2023-08-27 21:09:46 -04:00
2024-01-06 21:32:29 -05:00
<!-- window to select downloadable content -->
<VerticalLayout id= "downloadWindow"
2023-03-12 13:01:55 -04:00
color="black"
active="false"
2024-01-06 21:32:29 -05:00
height="800"
width="900"
outlineSize="2 2"
2023-03-12 13:01:55 -04:00
outline="#303030">
2024-01-06 21:32:29 -05:00
<!-- window header -->
<Panel preferredHeight= "60"
padding="10 10 5 5"
spacing="10"
outlineSize="2 2"
outline="#303030"
color="black">
<Text fontSize= "32"
font="font_teutonic-arkham"
preferredWidth="600"
alignment="MiddleLeft">Downloadable Content</Text>
<Button id= "downloadAll_button"
class="windowButton"
visibility="Black"
onClick="onClick_downloadAll"
height="30"
preferredWidth="110"
fontSize="20"
tooltip="Very rough estimate: 400 MB"
tooltipPosition="Above"
tooltipBackgroundColor="rgba(0,0,0,1)">Download Everything</Button>
<Button id= "spawnPlaceholder_button"
class="windowButton"
visibility="Black"
onClick="onClick_spawnPlaceholder"
height="30"
preferredWidth="110"
fontSize="20">Spawn Placeholder</Button>
<Panel preferredWidth= "50" >
<Button rectAlignment= "MiddleRight"
width="50"
color="clear"
icon="close"
tooltip="Close"
tooltipPosition="Right"
tooltipBackgroundColor="rgba(0,0,0,1)"
onClick="onClick_toggleUi(downloadWindow)"/>
2023-03-12 13:01:55 -04:00
</Panel>
</Panel>
2024-01-06 21:32:29 -05:00
<HorizontalLayout >
<VerticalLayout preferredWidth= "600" >
<!-- tab selection -->
<HorizontalLayout preferredHeight= "60"
padding="5"
spacing="5">
<Button class= "downloadTab activeTab"
id="tab1">Official Campaigns</Button>
<Button class= "downloadTab"
id="tab2">Official Scenarios</Button>
<Button class= "downloadTab"
id="tab3">Fan-Made Campaigns</Button>
<Button class= "downloadTab"
id="tab4">Fan-Made Scenarios</Button>
<Button class= "downloadTab"
id="tab5">Fan-Made Player Cards</Button>
</HorizontalLayout>
<!-- content list -->
<VerticalScrollView color= "transparent"
minHeight="100"
flexibleHeight="100"
scrollSensitivity="27"
scrollbarColors="grey|grey|#C8C8C8|rgba(0.78,0.78,0.78,0.5)"
horizontalScrollbarVisibility="AutohideAndExpandViewport"
raycastTarget="true">
<VerticalLayout id= "contentList"
padding="10 25 0 0">
<!-- this will be filled via scripting -->
</VerticalLayout>
</VerticalScrollView>
</VerticalLayout>
<!-- content preview window -->
<VerticalLayout preferredWidth= "300"
padding="15 15 15 5">
<!-- header -->
<VerticalLayout preferredHeight= "110" >
<Text id= "previewTitle"
fontSize="28"
preferredHeight="70"
font="font_teutonic-arkham">PreviewTitle</Text>
<Text id= "previewAuthor"
fontSize="20"
preferredHeight="40"
font="font_teutonic-arkham">by PreviewAuthor</Text>
</VerticalLayout>
<!-- box art -->
<Panel id= "previewArtPanel"
preferredHeight="390">
<Mask id= "previewArtMask" >
<!-- image will be set via scripting -->
<Image id= "previewArtImage" />
</Mask>
</Panel>
<!-- description -->
<Panel preferredHeight= "160" >
<Text id= "previewDescription"
alignment="UpperLeft"
resizeTextForBestFit="true"
resizeTextMinSize="12"
resizeTextMaxSize="18">PreviewDescription</Text>
</Panel>
<!-- download button / progress bar (visibility handled by lua code) -->
<Panel preferredHeight= "60" >
<!-- download button -->
<Button id= "download_button"
class="windowButton"
onClick="onClick_download"
height="50"
width="270"
fontSize="28">Download</Button>
<!-- download progress bar -->
<ProgressBar id= "download_progress"
active="false"
height="50"
width="270"
percentage="0"
color="#111111"
textColor="#aaaaaa"
fillImageColor="#333333"/>
</Panel>
</VerticalLayout>
</HorizontalLayout>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
2024-01-06 21:32:29 -05:00
<!-- include Global/DownloadWindow.xml -->
2024-02-04 10:51:51 -05:00
<!-- include Global/PlayAreaGallery.xml -->
2024-01-06 21:32:29 -05:00
<Defaults >
<!-- type selection at the top -->
<Button class= "imageTab"
hoverClass="bGrey"
pressClass="bWhite"
onClick="b7b45b/onClick_imageTab"
color="#888888"
fontSize="24"
font="font_teutonic-arkham"/>
<Button class= "bGrey"
color="grey"/>
<Button class= "bWhite"
color="white"/>
2024-02-04 10:51:51 -05:00
<Button class= "windowButton"
hoverClass="bGrey"
pressClass="bWhite"
selectClass="bWhite"
color="#888888"
font="font_teutonic-arkham"/>
2024-01-06 21:32:29 -05:00
<!-- image boxes in the grid -->
<VerticalLayout class= "imageBox"
color="black"
outline="#303030"
outlineSize="2 2"
onClick="b7b45b/onClick_image"/>
<Image class= "playareaImage"
preferredHeight="330"/>
<Text class= "imageName"
preferredHeight="40"
resizeTextForBestFit="true"
resizeTextMinSize="10"
resizeTextMaxSize="18"/>
<!-- item selection on the left -->
<Text class= "itemText"
alignment="MiddleLeft"/>
<Panel class= "itemPanel"
preferredHeight="45"
onClick="b7b45b/onClick_listItem"/>
<!-- other -->
<Text class= "headerText"
fontSize="35"/>
<VerticalLayout childForceExpandHeight= "false" />
</Defaults>
2023-03-12 13:01:55 -04:00
2024-02-04 10:51:51 -05:00
<VerticalLayout id= "playAreaGallery"
2024-01-06 21:32:29 -05:00
active="false"
color="black"
height="880"
width="900"
outlineSize="2 2"
outline="#303030">
<!-- window header -->
<Panel preferredHeight= "60"
padding="10 10 5 5"
spacing="10"
outlineSize="2 2"
outline="#303030"
color="black">
<Text fontSize= "32"
font="font_teutonic-arkham"
preferredWidth="600"
alignment="MiddleLeft">Playarea Image Gallery</Text>
2024-02-04 10:51:51 -05:00
<Button id= "customUrl_button"
class="windowButton"
onClick="onClick_customUrl"
height="30"
preferredWidth="125"
fontSize="24">Use custom URL</Button>
2024-01-06 21:32:29 -05:00
<Panel preferredWidth= "50" >
<Button rectAlignment= "MiddleRight"
width="50"
color="clear"
icon="close"
tooltip="Close"
tooltipPosition="Right"
tooltipBackgroundColor="rgba(0,0,0,1)"
2024-02-04 10:51:51 -05:00
onClick="onClick_toggleUi(playAreaGallery)"/>
2024-01-06 21:32:29 -05:00
</Panel>
</Panel>
<!-- tab selection -->
<HorizontalLayout preferredHeight= "60"
padding="5"
spacing="5">
<Button class= "imageTab"
id="imageTab1">Official Campaigns</Button>
<Button class= "imageTab"
id="imageTab2">Official Scenarios</Button>
<Button class= "imageTab"
id="imageTab3">Fan-Made Campaigns</Button>
<Button class= "imageTab"
id="imageTab4">Fan-Made Scenarios</Button>
<Button class= "imageTab"
id="imageTab5">Other Images</Button>
</HorizontalLayout>
<HorizontalLayout preferredHeight= "760" >
<!-- left column: navigation bar -->
<VerticalLayout id= "itemSelection"
preferredWidth="180"
padding="10 15 0 0">
<!-- this will be filled via scripting -->
<!-- <Panel class="itemPanel">
<Text class= "itemText" > Item</Text>
</Panel> -->
</VerticalLayout>
<!-- right column: image gallery -->
<VerticalScrollView color= "transparent"
minHeight="100"
flexibleHeight="100"
preferredWidth="720"
scrollSensitivity="380"
scrollbarColors="grey|grey|#C8C8C8|rgba(0.78,0.78,0.78,0.5)"
horizontalScrollbarVisibility="AutohideAndExpandViewport"
raycastTarget="true">
<GridLayout id= "playareaList"
preferredWidth="700"
padding="25 25 5 5"
spacing="10"
cellSize="330 370">
<!-- this will be filled via scripting -->
<!-- <VerticalLayout class="imageBox">
<Image class= "playareaImage" image= "" />
<Text class= "imageName" > Image Name</Text>
</VerticalLayout> -->
</GridLayout>
</VerticalScrollView>
</HorizontalLayout>
</VerticalLayout>
2024-02-04 10:51:51 -05:00
<!-- include Global/PlayAreaGallery.xml -->
2024-01-06 21:32:29 -05:00
<!-- include Global/TitleSplash.xml -->
2023-03-12 13:01:55 -04:00
<!-- Title Splash when starting a scenario -->
2023-04-22 16:56:01 -04:00
<Panel id= "title_splash"
2023-03-12 13:01:55 -04:00
height="220"
position="0 250 0"
showAnimation="FadeIn"
hideAnimation="FadeOut"
active="false"
animationDuration="2">
2023-04-22 16:56:01 -04:00
<Image id= "title_gradient"
2023-03-12 13:01:55 -04:00
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"
horizontalOverflow="Overflow">
</Text>
</Panel>
2024-01-06 21:32:29 -05:00
<!-- include Global/TitleSplash.xml -->
<!-- include Global/NavigationOverlay.xml -->
2023-08-27 21:09:46 -04:00
<!-- Default formatting -->
<Defaults >
<Text color= "#FFFFFF"
alignment="MiddleLeft" />
<Toggle isOn= "False"
rectAlignment="MiddleRight" />
<Cell dontUseTableCellBackground= "true"
outlineSize="0 1"
outline="grey" />
<!-- options -->
<Row class= "nav_option-text"
preferredHeight="45"/>
<Cell class= "nav_option-text"
color="#333333"/>
<Cell class= "nav_option-button"
color="#333333"/>
<Text class= "nav_option-header"
fontSize="20"
font="font_teutonic-arkham"/>
<Cell class= "claim"
2024-02-04 10:51:51 -05:00
tooltip="Clicking this seat in the navigation overlay
 will now only swap the playercolor for you."
2023-08-27 21:09:46 -04:00
tooltipPosition="Right" />
<!-- buttons at the bottom -->
<Button class= "bottomButtons"
hoverClass="hover"
pressClass="press"
selectClass="select"
color="#888888"
minHeight="35"
fontSize="24"
font="font_teutonic-arkham"/>
<Button class= "hover"
color="grey"/>
<Button class= "press"
color="white"/>
<Button class= "select"
color="white"/>
<!-- Navigation Panels -->
<Panel class= "navPanel"
active="false"
allowDragging="true"
rectAlignment="LowerRight"
returnToOriginalPositionWhenReleased="false"
offsetXY="-40 0">
</Panel>
</Defaults>
<!-- full Panel -->
<Panel id= "navPanelFull"
height="358"
width="455"
class="navPanel">
</Panel>
<!-- Play Area only -->
<Panel id= "navPanelPlay"
height="208"
width="205"
class="navPanel">
</Panel>
<!-- Settings -->
<TableLayout id= "navPanelSettings"
active="false"
width="300"
2024-02-04 10:51:51 -05:00
height="380"
2023-08-27 21:09:46 -04:00
color="#000000"
outlineSize="2 2"
outline="grey"
rectAlignment="MiddleCenter">
2023-04-22 16:56:01 -04:00
2023-08-27 21:09:46 -04:00
<!-- Header -->
<Row preferredHeight= "60" >
<Cell >
<Panel padding= "10 0 0 0" >
<Text font= "font_teutonic-arkham"
fontSize="35">Navigation Overlay</Text>
</Panel>
</Cell>
</Row>
<!-- Options -->
<Row >
<Cell >
<TableLayout columnWidths= "0 125"
autoCalculateHeight="1"
cellPadding="10 0 5 5">
<!-- Option: Custom pitch -->
<Row class= "nav_option-text" >
<Cell class= "nav_option-text" >
<Text class= "nav_option-header" > Viewing angle in degrees:</Text>
</Cell>
<Cell class= "nav_option-button" >
<Slider id= "sliderPitch"
onValueChanged="797ede/updatePitch"
wholeNumbers="true"
minValue="0"
2024-01-06 21:32:29 -05:00
maxValue="89"
2023-08-27 21:09:46 -04:00
value="75"
2024-02-04 10:51:51 -05:00
tooltip="This controls the camera pitch
 ('nodding your head')."
tooltipPosition="Right"/>
</Cell>
</Row>
<!-- Option: Custom distance -->
<Row class= "nav_option-text" >
<Cell class= "nav_option-text" >
<Text class= "nav_option-header" > Viewing distance (relative):</Text>
</Cell>
<Cell class= "nav_option-button" >
<Slider id= "sliderDistance"
onValueChanged="797ede/updateDistance"
wholeNumbers="true"
minValue="50"
maxValue="200"
value="100"
tooltip="This controls the camera distance
 (from 50% to 200% of the default settings)."
2023-08-27 21:09:46 -04:00
tooltipPosition="Right"/>
</Cell>
</Row>
<!-- Option: Claim White -->
<Row class= "nav_option-text" >
<Cell class= "nav_option-text" >
<Text class= "nav_option-header" > Claim "White" seat</Text>
</Cell>
<Cell class= "nav_option-button claim" >
<Toggle id= "claimWhite"
onValueChanged="797ede/claimColor(White)"/>
</Cell>
</Row>
<!-- Option: Claim Orange -->
<Row class= "nav_option-text" >
<Cell class= "nav_option-text" >
<Text class= "nav_option-header" > Claim "Orange" seat</Text>
</Cell>
<Cell class= "nav_option-button claim" >
<Toggle id= "claimOrange"
onValueChanged="797ede/claimColor(Orange)"/>
</Cell>
</Row>
<!-- Option: Claim Green -->
<Row class= "nav_option-text" >
<Cell class= "nav_option-text" >
<Text class= "nav_option-header" > Claim "Green" seat</Text>
</Cell>
<Cell class= "nav_option-button claim" >
<Toggle id= "claimGreen"
onValueChanged="797ede/claimColor(Green)"/>
</Cell>
</Row>
<!-- Option: Claim Red -->
<Row class= "nav_option-text" >
<Cell class= "nav_option-text" >
<Text class= "nav_option-header" > Claim "Red" seat</Text>
</Cell>
<Cell class= "nav_option-button claim" >
<Toggle id= "claimRed"
onValueChanged="797ede/claimColor(Red)"/>
</Cell>
</Row>
</TableLayout>
</Cell>
</Row>
<!-- Buttons: Defaults and Close -->
<Row preferredHeight= "50" >
<Cell >
<HorizontalLayout minHeight= "55"
flexibleHeight="0"
padding="10 10 5 10"
spacing="35">
<Button class= "bottomButtons"
onClick="797ede/loadDefaultSettings">Load defaults</Button>
<Button class= "bottomButtons"
onClick="797ede/toggleSettings">Close</Button>
</HorizontalLayout>
</Cell>
</Row>
</TableLayout>
2024-01-06 21:32:29 -05:00
<!-- include Global/NavigationOverlay.xml -->
<!-- include Global/OptionPanel.xml -->
2023-03-12 13:01:55 -04:00
<!-- Default formatting -->
<Defaults >
<Text color= "#FFFFFF"
2024-06-09 10:10:21 -04:00
alignment="MiddleLeft"/>
2023-03-12 13:01:55 -04:00
2024-06-09 10:10:21 -04:00
<Dropdown rectAlignment= "MiddleCenter" />
2023-08-27 21:09:46 -04:00
2023-03-12 13:01:55 -04:00
<Cell dontUseTableCellBackground= "true"
outlineSize="0 1"
2024-06-09 10:10:21 -04:00
outline="grey"/>
2023-03-12 13:01:55 -04:00
<!-- main window -->
<TableLayout class= "window"
width="500"
height="800"
active="false"
color="#000000"
outlineSize="2 2"
outline="grey"
showAnimation="SlideIn_Right"
hideAnimation="SlideOut_Right"
2024-06-09 10:10:21 -04:00
animationDuration="0.2"/>
2023-03-12 13:01:55 -04:00
<!-- group headers -->
<Row class= "group-header"
2024-06-09 10:10:21 -04:00
preferredHeight="44"/>
2023-03-12 13:01:55 -04:00
<Cell class= "group-header"
2024-02-04 10:51:51 -05:00
padding="10 10 0 0"
2023-08-27 21:09:46 -04:00
columnSpan="3"
2024-06-09 10:10:21 -04:00
color="#222222"/>
2023-03-12 13:01:55 -04:00
<Panel class= "group-header"
2024-06-09 10:10:21 -04:00
padding="5 0 0 0"/>
2023-03-12 13:01:55 -04:00
<Text class= "group-header"
fontSize="28"
2024-06-09 10:10:21 -04:00
font="font_teutonic-arkham"/>
2023-03-12 13:01:55 -04:00
<!-- options -->
<Row class= "option-text"
2024-01-06 21:32:29 -05:00
preferredHeight="50"
tooltipPosition="Left"
tooltipBackgroundColor="rgba(0,0,0,1)"/>
2023-03-12 13:01:55 -04:00
<Cell class= "option-text"
2024-02-04 10:51:51 -05:00
padding="10 10 5 5"
2023-08-27 21:09:46 -04:00
color="#333333"
columnSpan="2"/>
2023-03-12 13:01:55 -04:00
<Cell class= "option-button"
2024-02-04 10:51:51 -05:00
padding="10 10 5 5"
2023-03-12 13:01:55 -04:00
color="#333333"/>
2024-02-04 10:51:51 -05:00
<Cell class= "option-singleColumn"
padding="10 10 5 5"
2023-08-27 21:09:46 -04:00
color="#333333"
columnSpan="1"/>
2024-02-04 10:51:51 -05:00
<Cell class= "option-doubleColumn"
padding="10 10 5 5"
2023-08-27 21:09:46 -04:00
color="#333333"
columnSpan="2"/>
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper"
2024-01-06 21:32:29 -05:00
padding="10 0 0 0"/>
2023-03-12 13:01:55 -04:00
<Text class= "option-header"
2024-01-06 21:32:29 -05:00
fontSize="22"
2023-03-12 13:01:55 -04:00
font="font_teutonic-arkham"/>
2024-02-04 10:51:51 -05:00
<Panel class= "doubleColumn-wrapper"
2024-01-06 21:32:29 -05:00
padding="0 17 3 3"/>
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
2024-07-27 21:47:52 -04:00
image="option_off"
2024-06-09 10:10:21 -04:00
rectAlignment="MiddleRight"
offsetXY="-30 0"
colors="#FFFFFF|#dfdfdf"
height="36"
width="65"
ignoreLayout="True"/>
2023-03-12 13:01:55 -04:00
<!-- buttons at the bottom -->
<Button class= "bottomButtons"
hoverClass="hover"
pressClass="press"
selectClass="select"
color="#888888"
minHeight="35"
fontSize="24"
font="font_teutonic-arkham"/>
<Button class= "hover"
color="grey"/>
<Button class= "press"
color="white"/>
<Button class= "select"
color="white"/>
</Defaults>
<!-- Option Panel -->
<TableLayout id= "optionPanel"
class="window"
rectAlignment="LowerRight"
2024-01-06 21:32:29 -05:00
offsetXY="-50 80"
raycastTarget="true">
2023-03-12 13:01:55 -04:00
<!-- Header: Options -->
<Row preferredHeight= "60" >
<Cell >
<Panel padding= "10 0 0 0" >
<Text font= "font_teutonic-arkham"
fontSize="35">Options</Text>
</Panel>
</Cell>
</Row>
<!-- Scrollable part with options -->
<Row >
<Cell >
2024-01-06 21:32:29 -05:00
<VerticalScrollView horizontalScrollbarVisibility= "AutohideAndExpandViewport"
scrollSensitivity="30"
raycastTarget="true">
2023-08-27 21:09:46 -04:00
<TableLayout columnWidths= "0 100 75"
2023-03-12 13:01:55 -04:00
autoCalculateHeight="1"
2024-02-04 10:51:51 -05:00
useGlobalCellPadding="false">
2023-03-12 13:01:55 -04:00
<!-- Group: general settings -->
<Row class= "group-header" >
<Cell class= "group-header" >
<Panel class= "group-header"
image="header_acolyte">
<Text class= "group-header" > GENERAL SETTINGS</Text>
</Panel>
</Cell>
</Row>
2023-08-27 21:09:46 -04:00
<!-- Option: card language -->
2024-01-06 21:32:29 -05:00
<!-- disabled until we have the backend in place
<Row class= "option-text" tooltip= "Downloading a campaign or importing a deck will use
this language for cards (NOT FUNCTIONAL YET!)." >
2024-02-04 10:51:51 -05:00
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
2023-08-27 21:09:46 -04:00
<Text class= "option-header" > Card language</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-08-27 21:09:46 -04:00
</Cell>
2024-02-04 10:51:51 -05:00
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
2024-01-06 21:32:29 -05:00
<Dropdown id= "cardLanguage" onValueChanged= "languageSelected(selectedIndex)" >
2023-08-27 21:09:46 -04:00
<Option > 简体中文</Option>
<Option > 繁體中文</Option>
<Option > Deutsch</Option>
<Option > English</Option>
<Option > Español</Option>
<Option > Français</Option>
<Option > Italiano</Option>
</Dropdown>
</Panel>
</Cell>
2024-01-06 21:32:29 -05:00
</Row> -->
2023-08-27 21:09:46 -04:00
2024-02-04 10:51:51 -05:00
<!-- Option: splash scenario name on setup -->
<Row class= "option-text"
tooltip="Fade in the name of the scenario for 2 seconds
 when placing down a scenario.">
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Show scenario title on setup</Text>
</Panel>
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showTitleSplash"
onClick="onClick_toggleOption"/>
2024-02-04 10:51:51 -05:00
</Cell>
</Row>
2024-07-27 21:47:52 -04:00
<!-- Option: Enable all card helpers -->
<Row class= "option-text"
tooltip="Enable all card helpers (usually enabled via context menu entries).
 Examples: False Covenant and Book of Living Myths">
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Enable all card helpers</Text>
</Panel>
</Cell>
<Cell class= "option-button" >
<Button class= "optionToggle"
id="enableCardHelpers"
onClick="onClick_toggleOption"/>
</Cell>
</Row>
2024-02-04 10:51:51 -05:00
<!-- Group: play area settings -->
<Row class= "group-header" >
<Cell class= "group-header" >
<Panel class= "group-header"
image="header_compass">
<Text class= "group-header" > PLAY AREA SETTINGS</Text>
</Panel>
</Cell>
</Row>
2023-03-12 13:01:55 -04:00
<!-- Option: play area snap tags -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Only cards with the tag 'Location' will snap (official cards are supported by default).
 Disable this if you are having issues with custom content.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Enable snap tags</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="playAreaSnapTags"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2024-02-04 10:51:51 -05:00
<!-- Option: location connections -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
2024-02-04 10:51:51 -05:00
tooltip="Automatically draw location connections based on card metadata.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Draw location connections</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="playAreaConnections"
onClick="onClick_toggleOption"/>
2024-02-04 10:51:51 -05:00
</Cell>
</Row>
<!-- Option: play area connection color -->
<Row class= "option-text"
tooltip="This color will be used to draw lines
 for location connections.">
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Choose color for location connections</Text>
</Panel>
</Cell>
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
<Button id= "playAreaConnectionColor"
onClick="onClick_playAreaConnectionColor">
</Button>
</Panel>
</Cell>
</Row>
<!-- Option: change custom playarea image on setup -->
<Row class= "option-text"
tooltip="Attempts to set the play area to a fitting image
 from the play area image gallery.">
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Change background on setup</Text>
</Panel>
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="changePlayAreaImage"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
<!-- Group: playermat settings -->
<Row class= "group-header" >
<Cell class= "group-header" >
<Panel class= "group-header"
image="header_cover">
<Text class= "group-header" > PLAYERMAT SETTINGS</Text>
</Panel>
</Cell>
</Row>
<!-- Option: enable snap tags -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Only cards with the tag 'Asset' will snap (official cards are supported by default).
 Disable this if you are having issues with custom content.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-12 13:01:55 -04:00
<Text class= "option-header" > Enable snap tags</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="useSnapTags"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
<!-- Option: show draw 1 button -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Displays a button below the 'Upkeep' button that draws a card from your deck.
 Useful for multi-handed solo play.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-12 13:01:55 -04:00
<Text class= "option-header" > Show "Draw 1" button</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showDrawButton"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2024-07-27 21:47:52 -04:00
<!-- Option: use class - specific texture -->
<Row class= "option-text"
tooltip="Controls whether a class-specific playermat texture should be automatically loaded.">
<Cell class= "option-text" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Use class-specific texture</Text>
</Panel>
</Cell>
<Cell class= "option-button" >
<Button class= "optionToggle"
id="useClassTexture"
onClick="onClick_toggleOption"/>
</Cell>
</Row>
2023-03-12 13:01:55 -04:00
<!-- Option: use clickable clue - counters -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Instead of automatically counting clues in the respective area on your playermat,
 this displays a clickable counter for clues.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-08-27 21:09:46 -04:00
<Text class= "option-header" > Use clickable clue counters</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="useClueClickers"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
<!-- Option: use clickable resource counters -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="This enables spawning of clickable resource tokens for player cards.
 (Chef's Selection = assets with 0 uses)">
2024-02-04 10:51:51 -05:00
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
2023-08-27 21:09:46 -04:00
<Text class= "option-header" > Use clickable resource tokens</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
2024-02-04 10:51:51 -05:00
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
2024-01-06 21:32:07 -05:00
<Dropdown id= "useResourceCounters"
onValueChanged="resourceCounterSelected(selectedIndex)">
<Option > Enabled</Option>
<Option > Chef's Selection</Option>
<Option > Disabled</Option>
</Dropdown>
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2024-07-27 21:47:52 -04:00
<!-- Option: remove a playermat -->
2024-02-04 10:51:51 -05:00
<Row class= "option-text"
tooltip="Remove an unused playermat for more table space.
 Displayed are the default colors.">
<Cell class= "option-singleColumn" >
<Panel class= "singleColumn-wrapper" >
<Text class= "option-header" > Remove a playermat</Text>
</Panel>
</Cell>
<Cell class= "option-doubleColumn" >
<Panel class= "doubleColumn-wrapper" >
<Dropdown id= "removePlayermat"
onValueChanged="playermatRemovalSelected(selectedIndex)">
<Option > Click to select</Option>
<Option > 1: White</Option>
<Option > 2: Orange</Option>
<Option > 3: Green</Option>
<Option > 4: Red</Option>
</Dropdown>
</Panel>
</Cell>
</Row>
2023-03-12 13:01:55 -04:00
<!-- Group: fan - made accessories -->
<Row class= "group-header" >
<Cell class= "group-header" >
<Panel class= "group-header"
image="header_olive">
<Text class= "group-header" > FAN-MADE ACCESSORIES</Text>
</Panel>
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show attachment helper -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Provides a card-sized bag for cards that are attached to other cards
 (e.g. Backpack).">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Attachment Helper</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showAttachmentHelper"
onClick="onClick_toggleOption"/>
2023-04-22 16:56:01 -04:00
</Cell>
</Row>
2023-03-12 13:01:55 -04:00
<!-- Option: show clean up helper -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Useful for campaign-play:
 It resets play areas to allow continuous gameplay in the same savegame.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-03-12 13:01:55 -04:00
<Text class= "option-header" > Clean Up Helper</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showCleanUpHelper"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show CYOA campaign guides -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Displays in a 'Choose Your Own Adventure'
 style redesigned campaign guides.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > CYOA Campaign Guides</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showCYOA"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show displacement tool -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
2024-02-04 10:51:51 -05:00
tooltip="This allows moving all objects on the main play area
 in a chosen direction.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Displacement Tool</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showDisplacementTool"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show hand helper -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Never count your hand cards again! This tool does that for you
 and additionally enables easy discarding of random cards.">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Hand Helper</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showHandHelper"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show search assistant -->
2024-01-06 21:32:29 -05:00
<Row class= "option-text"
tooltip="Quickly search 3, 6, 9 or the top X
 cards of your deck!">
2023-03-12 13:01:55 -04:00
<Cell class= "option-text" >
2024-02-04 10:51:51 -05:00
<Panel class= "singleColumn-wrapper" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Search Assistant</Text>
2024-01-06 21:32:29 -05:00
</Panel>
2023-03-12 13:01:55 -04:00
</Cell>
<Cell class= "option-button" >
2024-06-09 10:10:21 -04:00
<Button class= "optionToggle"
id="showSearchAssistant"
onClick="onClick_toggleOption"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
</TableLayout>
</VerticalScrollView>
</Cell>
</Row>
<!-- Buttons: Defaults and Close -->
<Row preferredHeight= "50" >
<Cell >
<HorizontalLayout minHeight= "55"
flexibleHeight="0"
padding="10 10 5 10"
spacing="225">
<Button class= "bottomButtons"
onClick="onClick_defaultSettings">Load defaults</Button>
<Button class= "bottomButtons"
2024-01-06 21:32:29 -05:00
onClick="onClick_toggleUi(optionPanel)">Close</Button>
2023-03-12 13:01:55 -04:00
</HorizontalLayout>
</Cell>
</Row>
</TableLayout>
2024-01-06 21:32:29 -05:00
<!-- include Global/OptionPanel.xml -->
<!-- include Global/UpdateNotification.xml -->
2023-04-22 16:56:01 -04:00
<!-- Default formatting inherented from OptionPanel! -->
<!-- Icon with Finn, which can be clicked -->
<Image id= "FinnIcon"
active="false"
showAnimation="SlideIn_Top"
hideAnimation="SlideOut_Top"
animationDuration="0.2"
rectAlignment="UpperLeft"
offsetXY="420 -5"
height="90"
width="90"
2024-01-06 21:32:29 -05:00
onClick="onClick_toggleUi(updateNotification)"
2023-04-22 16:56:01 -04:00
image="FinnIcon"
tooltip="Update notification"
2024-01-06 21:32:29 -05:00
tooltipPosition="Right"
tooltipBackgroundColor="rgba(0,0,0,1)"/>
2023-04-22 16:56:01 -04:00
<!-- main notification window -->
<TableLayout id= "updateNotification"
active="false"
color="#000000"
outlineSize="2 2"
outline="grey"
showAnimation="SlideIn_Top"
hideAnimation="SlideOut_Top"
animationDuration="0.2"
rectAlignment="UpperLeft"
offsetXY="60 -5"
height="225"
width="350">
<!-- Header -->
<Row preferredHeight= "50" >
<Cell >
<Panel padding= "10 10 0 0" >
<!-- this part will be updated via script -->
<Text id= "notificationHeader"
font="font_teutonic-arkham"
fontSize="30"
alignment="MiddleCenter">Placeholder</Text>
</Panel>
</Cell>
</Row>
<!-- patch highlights -->
<Row id= "highlightRow"
preferredHeight="100">
<Cell >
<Panel padding= "15 15 0 7" >
<!-- this part will be updated via script -->
<Text id= "releaseHighlightText"
resizeTextForBestFit="true">Placeholder</Text>
</Panel>
</Cell>
</Row>
<!-- explanation -->
<Row preferredHeight= "25" >
<Cell >
<Panel padding= "15 15 0 7" >
<Text resizeTextForBestFit= "true" > Visit the usual place to receive this update.</Text>
</Panel>
</Cell>
</Row>
<!-- Buttons: "Don't show again" and "Close" -->
<Row preferredHeight= "50" >
<Cell >
<HorizontalLayout minHeight= "55"
flexibleHeight="0"
padding="10 10 5 10"
spacing="10">
<Button class= "bottomButtons"
onClick="onClick_notification(dontShowAgain)">Don't show again</Button>
<Button class= "bottomButtons"
onClick="onClick_notification(close)">Close</Button>
</HorizontalLayout>
</Cell>
</Row>
</TableLayout>
2024-01-06 21:32:29 -05:00
<!-- include Global/UpdateNotification.xml -->
<!-- include Global/Global.xml -->