2023-03-12 13:01:55 -04:00
<!-- include Global.xml -->
<!-- Default formatting -->
<Defaults >
<!-- general Stuff -->
<Text color= "white"
fontSize="18"/>
<Button tooltipPosition= "Left"
color="clear"/>
<!-- Window -->
<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"/>
</Defaults>
<!-- Buttons at the bottom right (height: n * 35 + (n - 1) * 2) -->
<VerticalLayout visibility= "Admin"
color="#000000"
outlineSize="1 1"
outline="#303030"
rectAlignment="LowerRight"
width="35"
height="146"
offsetXY="-1 80"
spacing="2">
<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)"/>
</VerticalLayout>
<!-- Basic UI that will be replaced based on title -->
<VerticalLayout id= "load_ui"
visibility="Admin"
color="black"
active="false"
width="700"
height="780"
outlineSize="1 1"
outline="#303030">
<HorizontalLayout class= "headerLayout" >
<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)"/>
</HorizontalLayout>
<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>
<Panel color= "rgb(0,0,0)"
minHeight="50"
preferredHeight="50"
flexibleHeight="0">
<Button id= "load_button"
active="false"
onClick="onClick_load">Load:</Button>
<HorizontalLayout id= "progress_display" >
<ProgressBar id= "download_progress"
percentage="0"
color="#000000"
fillImageColor="#333333"/>
<Button onClick= "onClick_cancel"
active="false">Cancel</Button>
</HorizontalLayout>
</Panel>
</VerticalLayout>
<!-- 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>
2023-04-22 16:56:01 -04:00
2023-03-12 13:01:55 -04:00
<!-- include OptionPanel.xml -->
<!-- Default formatting -->
<Defaults >
<Text color= "#FFFFFF"
alignment="MiddleLeft" />
<Toggle isOn= "False"
rectAlignment="MiddleRight" />
<Cell dontUseTableCellBackground= "true"
outlineSize="0 1"
outline="grey" />
<!-- main window -->
<TableLayout class= "window"
width="500"
height="800"
active="false"
color="#000000"
outlineSize="2 2"
outline="grey"
showAnimation="SlideIn_Right"
hideAnimation="SlideOut_Right"
2023-04-22 16:56:01 -04:00
animationDuration="0.2" />
2023-03-12 13:01:55 -04:00
<!-- group headers -->
<Row class= "group-header"
preferredHeight="54" />
<Cell class= "group-header"
columnSpan="2"
color="#222222" />
<Panel class= "group-header"
padding="5 0 0 0" />
<Text class= "group-header"
fontSize="28"
font="font_teutonic-arkham" />
<!-- options -->
<Row class= "option-text"
preferredHeight="70"/>
<Cell class= "option-text"
color="#333333"/>
<Cell class= "option-button"
color="#333333"/>
<VerticalLayout class= "text-column"
padding="10 0 0 0"
spacing="5"/>
<Text class= "option-header"
fontSize="20"
font="font_teutonic-arkham"/>
<Text class= "description"
fontSize="12"/>
<!-- 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"
active="false"
rectAlignment="LowerRight"
offsetXY="-50 80">
<!-- 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 >
<VerticalScrollView horizontalScrollbarVisibility= "AutohideAndExpandViewport" >
<TableLayout columnWidths= "0 75"
autoCalculateHeight="1"
cellPadding="10 0 5 5">
<!-- 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>
<!-- Option: play area snap tags -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Enable snap tags for play area</Text>
<Text class= "description" > Only cards with the tag "Location" will snap (official cards are supported by default). Disable this if you are having issues with custom content.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "playAreaSnapTags"
onValueChanged="onClick_toggleOption(playAreaSnapTags)"/>
</Cell>
</Row>
<!-- Option: splash scenario name on setup -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Show scenario title on setup</Text>
<Text class= "description" > Fade in the name of the scenario for 2 seconds when placing down a scenario.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "showTitleSplash"
onValueChanged="onClick_toggleOption(showTitleSplash)"/>
</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 -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Enable snap tags</Text>
<Text class= "description" > Only cards with the tag "Asset" will snap (official cards are supported by default). Disable this if you are having issues with custom content.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "useSnapTags"
onValueChanged="onClick_toggleOption(useSnapTags)"/>
</Cell>
</Row>
<!-- Option: show draw 1 button -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Show "Draw 1" button</Text>
<Text class= "description" > Displays a button below the "Upkeep" button that draws a card from your deck. Useful for multi-handed solo play.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "showDrawButton"
onValueChanged="onClick_toggleOption(showDrawButton)"/>
</Cell>
</Row>
<!-- Option: use clickable clue - counters -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Use clickable clue-counters</Text>
<Text class= "description" > Instead of automatically counting clues in the respective area on your playermat, this displays a clickable counter for clues.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "useClueClickers"
onValueChanged="onClick_toggleOption(useClueClickers)"/>
</Cell>
</Row>
<!-- Option: use clickable resource counters -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Use clickable resource counters</Text>
<Text class= "description" > This enables spawning of clickable resource tokens for player cards.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "useResourceCounters"
onValueChanged="onClick_toggleOption(useResourceCounters)"/>
</Cell>
</Row>
<!-- 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 -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Attachment Helper</Text>
<Text class= "description" > Provides a card-sized bag for cards that are attached to other cards (e.g. Backpack).</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showAttachmentHelper"
onValueChanged="onClick_toggleOption(showAttachmentHelper)"/>
</Cell>
</Row>
<!-- Option: show chaos bag manager -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Chaos Bag Manager</Text>
<Text class= "description" > Panel for easy addition or removal of chaos tokens to the bag - very useful for EotE because of Frost tokens!</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "showChaosBagManager"
onValueChanged="onClick_toggleOption(showChaosBagManager)"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
<!-- Option: show clean up helper -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Clean Up Helper</Text>
<Text class= "description" > Useful for campaign-play: It resets play areas to allow continuous gameplay in the same savegame.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "showCleanUpHelper"
onValueChanged="onClick_toggleOption(showCleanUpHelper)"/>
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show custom playmat images -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Custom Playmat Images</Text>
<Text class= "description" > Places a tool that displays custom playmat images for all cycles in a gallery-like fashion.</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showCustomPlaymatImages"
onValueChanged="onClick_toggleOption(showCustomPlaymatImages)"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show CYOA campaign guides -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > CYOA Campaign Guides</Text>
<Text class= "description" > Displays in a "Choose Your Own Adventure" style redesigned campaign guides.</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showCYOA"
onValueChanged="onClick_toggleOption(showCYOA)"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show displacement tool -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Displacement Tool</Text>
<Text class= "description" > This allows moving all objects on the main playmat in a chosen direction.</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showDisplacementTool"
onValueChanged="onClick_toggleOption(showDisplacementTool)"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show hand helper -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Hand Helper</Text>
<Text class= "description" > Never count your hand cards again! This tool does that for you and additionally enables easy discarding of random cards.</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showHandHelper"
onValueChanged="onClick_toggleOption(showHandHelper)"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
<!-- Option: show navigation overlay -->
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
<Text class= "option-header" > Navigation Overlay</Text>
<Text class= "description" > This enables an overlay for quickly moving the camera to various points on the table.</Text>
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
<Toggle id= "showNavigationOverlay"
onValueChanged="onClick_toggleOption(showNavigationOverlay)"/>
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show search assistant -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Search Assistant</Text>
<Text class= "description" > Quickly search 3, 6, 9 or the top X cards of your deck!</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showSearchAssistant"
onValueChanged="onClick_toggleOption(showSearchAssistant)"/>
2023-03-12 13:01:55 -04:00
</Cell>
</Row>
2023-04-22 16:56:01 -04:00
<!-- Option: show token arranger -->
2023-03-12 13:01:55 -04:00
<Row class= "option-text" >
<Cell class= "option-text" >
<VerticalLayout class= "text-column" >
2023-04-22 16:56:01 -04:00
<Text class= "option-header" > Token Arranger</Text>
<Text class= "description" > See the contents of the chaos bag at a glance! This tool displays a sorted table of the tokens to allow easier guessing of your odds.</Text>
2023-03-12 13:01:55 -04:00
</VerticalLayout>
</Cell>
<Cell class= "option-button" >
2023-04-22 16:56:01 -04:00
<Toggle id= "showTokenArranger"
onValueChanged="onClick_toggleOption(showTokenArranger)"/>
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"
onClick="onClick_toggleUi(Hidden)">Close</Button>
</HorizontalLayout>
</Cell>
</Row>
</TableLayout>
<!-- include OptionPanel.xml -->
2023-04-22 16:56:01 -04:00
<!-- include UpdateNotification.xml -->
<!-- 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"
onClick="onClick_FinnIcon"
image="FinnIcon"
tooltip="Update notification"
tooltipBackgroundColor="rgba(0,0,0,0.8)"/>
<!-- 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>
<!-- include UpdateNotification.xml -->
2023-03-12 13:01:55 -04:00
<!-- include Global.xml -->