2023-05-23 09:44:50 -04:00
|
|
|
<!-- Default formatting -->
|
2023-05-06 09:44:30 -04:00
|
|
|
<Defaults>
|
2023-05-23 09:44:50 -04:00
|
|
|
<Text color="#FFFFFF"
|
|
|
|
alignment="MiddleLeft" />
|
|
|
|
|
|
|
|
<Toggle isOn="False"
|
|
|
|
rectAlignment="MiddleRight" />
|
|
|
|
|
|
|
|
<Cell dontUseTableCellBackground="true"
|
|
|
|
outlineSize="0 1"
|
|
|
|
outline="grey" />
|
|
|
|
|
|
|
|
<!-- options -->
|
2023-05-23 17:41:23 -04:00
|
|
|
<Row class="nav_option-text"
|
2023-05-23 09:44:50 -04:00
|
|
|
preferredHeight="45"/>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-text"
|
2023-05-23 09:44:50 -04:00
|
|
|
color="#333333"/>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-button"
|
2023-05-23 09:44:50 -04:00
|
|
|
color="#333333"/>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Text class="nav_option-header"
|
2023-05-23 09:44:50 -04:00
|
|
|
fontSize="20"
|
|
|
|
font="font_teutonic-arkham"/>
|
|
|
|
<Cell class="claim"
|
|
|
|
tooltip="Clicking this seat in the navigation overlay will now only swap the playercolor for you."
|
|
|
|
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 -->
|
2023-05-06 09:44:30 -04:00
|
|
|
<Panel class="navPanel"
|
2023-05-08 16:13:12 -04:00
|
|
|
active="false"
|
2023-05-06 09:44:30 -04:00
|
|
|
allowDragging="true"
|
|
|
|
rectAlignment="LowerRight"
|
2023-05-06 20:16:09 -04:00
|
|
|
returnToOriginalPositionWhenReleased="false"
|
2023-05-06 09:44:30 -04:00
|
|
|
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>
|
2023-05-23 09:44:50 -04:00
|
|
|
|
|
|
|
<!-- Settings -->
|
|
|
|
<TableLayout id="navPanelSettings"
|
|
|
|
active="false"
|
|
|
|
width="300"
|
|
|
|
height="335"
|
|
|
|
color="#000000"
|
|
|
|
outlineSize="2 2"
|
|
|
|
outline="grey"
|
|
|
|
rectAlignment="MiddleCenter">
|
|
|
|
|
|
|
|
<!-- 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 -->
|
2023-05-23 17:41:23 -04:00
|
|
|
<Row class="nav_option-text">
|
|
|
|
<Cell class="nav_option-text">
|
|
|
|
<Text class="nav_option-header">Viewing angle in degrees:</Text>
|
2023-05-23 09:44:50 -04:00
|
|
|
</Cell>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-button">
|
2023-05-23 09:44:50 -04:00
|
|
|
<Slider id="sliderPitch"
|
|
|
|
onValueChanged="797ede/updatePitch"
|
|
|
|
wholeNumbers="true"
|
|
|
|
minValue="0"
|
2023-10-15 05:22:21 -04:00
|
|
|
maxValue="89"
|
2023-05-23 09:44:50 -04:00
|
|
|
value="75"
|
|
|
|
tooltip="This controls the camera pitch ('nodding your head')."
|
|
|
|
tooltipPosition="Right"/>
|
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
<!-- Option: Claim White -->
|
2023-05-23 17:41:23 -04:00
|
|
|
<Row class="nav_option-text">
|
|
|
|
<Cell class="nav_option-text">
|
|
|
|
<Text class="nav_option-header">Claim "White" seat</Text>
|
2023-05-23 09:44:50 -04:00
|
|
|
</Cell>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-button claim">
|
2023-05-23 09:44:50 -04:00
|
|
|
<Toggle id="claimWhite"
|
|
|
|
onValueChanged="797ede/claimColor(White)"/>
|
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
<!-- Option: Claim Orange -->
|
2023-05-23 17:41:23 -04:00
|
|
|
<Row class="nav_option-text">
|
|
|
|
<Cell class="nav_option-text">
|
|
|
|
<Text class="nav_option-header">Claim "Orange" seat</Text>
|
2023-05-23 09:44:50 -04:00
|
|
|
</Cell>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-button claim">
|
2023-05-23 09:44:50 -04:00
|
|
|
<Toggle id="claimOrange"
|
|
|
|
onValueChanged="797ede/claimColor(Orange)"/>
|
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
<!-- Option: Claim Green -->
|
2023-05-23 17:41:23 -04:00
|
|
|
<Row class="nav_option-text">
|
|
|
|
<Cell class="nav_option-text">
|
|
|
|
<Text class="nav_option-header">Claim "Green" seat</Text>
|
2023-05-23 09:44:50 -04:00
|
|
|
</Cell>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-button claim">
|
2023-05-23 09:44:50 -04:00
|
|
|
<Toggle id="claimGreen"
|
|
|
|
onValueChanged="797ede/claimColor(Green)"/>
|
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
|
|
|
|
<!-- Option: Claim Red -->
|
2023-05-23 17:41:23 -04:00
|
|
|
<Row class="nav_option-text">
|
|
|
|
<Cell class="nav_option-text">
|
|
|
|
<Text class="nav_option-header">Claim "Red" seat</Text>
|
2023-05-23 09:44:50 -04:00
|
|
|
</Cell>
|
2023-05-23 17:41:23 -04:00
|
|
|
<Cell class="nav_option-button claim">
|
2023-05-23 09:44:50 -04:00
|
|
|
<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>
|