2023-04-18 16:49:25 -04:00
|
|
|
<!-- Default formatting inherented from OptionPanel! -->
|
2023-04-14 11:34:02 -04:00
|
|
|
|
2023-04-18 17:35:46 -04:00
|
|
|
<!-- 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"
|
2023-10-16 18:29:07 -04:00
|
|
|
onClick="onClick_toggleUi(updateNotification)"
|
2023-04-18 17:35:46 -04:00
|
|
|
image="FinnIcon"
|
|
|
|
tooltip="Update notification"
|
2023-10-16 18:29:07 -04:00
|
|
|
tooltipPosition="Right"
|
|
|
|
tooltipBackgroundColor="rgba(0,0,0,1)"/>
|
2023-04-18 17:35:46 -04:00
|
|
|
|
|
|
|
<!-- main notification window -->
|
2023-04-14 11:34:02 -04:00
|
|
|
<TableLayout id="updateNotification"
|
|
|
|
active="false"
|
|
|
|
color="#000000"
|
|
|
|
outlineSize="2 2"
|
|
|
|
outline="grey"
|
|
|
|
showAnimation="SlideIn_Top"
|
|
|
|
hideAnimation="SlideOut_Top"
|
|
|
|
animationDuration="0.2"
|
2023-04-16 17:10:23 -04:00
|
|
|
rectAlignment="UpperLeft"
|
|
|
|
offsetXY="60 -5"
|
2023-04-18 18:41:49 -04:00
|
|
|
height="225"
|
2023-04-18 14:25:29 -04:00
|
|
|
width="350">
|
2023-04-14 11:34:02 -04:00
|
|
|
|
|
|
|
<!-- Header -->
|
2023-04-14 11:52:08 -04:00
|
|
|
<Row preferredHeight="50">
|
2023-04-14 11:34:02 -04:00
|
|
|
<Cell>
|
2023-04-18 16:49:25 -04:00
|
|
|
<Panel padding="10 10 0 0">
|
2023-04-19 14:04:45 -04:00
|
|
|
<!-- this part will be updated via script -->
|
2023-04-16 17:10:23 -04:00
|
|
|
<Text id="notificationHeader"
|
2023-04-14 11:34:02 -04:00
|
|
|
font="font_teutonic-arkham"
|
|
|
|
fontSize="30"
|
2023-04-19 14:04:45 -04:00
|
|
|
alignment="MiddleCenter">Placeholder</Text>
|
2023-04-14 11:34:02 -04:00
|
|
|
</Panel>
|
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
|
2023-04-18 14:25:29 -04:00
|
|
|
<!-- patch highlights -->
|
|
|
|
<Row id="highlightRow"
|
|
|
|
preferredHeight="100">
|
|
|
|
<Cell>
|
2023-04-18 17:35:46 -04:00
|
|
|
<Panel padding="15 15 0 7">
|
2023-04-18 16:49:25 -04:00
|
|
|
<!-- this part will be updated via script -->
|
|
|
|
<Text id="releaseHighlightText"
|
|
|
|
resizeTextForBestFit="true">Placeholder</Text>
|
|
|
|
</Panel>
|
2023-04-18 14:25:29 -04:00
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
|
2023-04-18 18:41:49 -04:00
|
|
|
<!-- 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" -->
|
2023-04-14 11:34:02 -04:00
|
|
|
<Row preferredHeight="50">
|
|
|
|
<Cell>
|
|
|
|
<HorizontalLayout minHeight="55"
|
|
|
|
flexibleHeight="0"
|
|
|
|
padding="10 10 5 10"
|
2023-04-16 17:10:23 -04:00
|
|
|
spacing="10">
|
2023-04-14 11:34:02 -04:00
|
|
|
<Button class="bottomButtons"
|
2023-04-19 14:04:45 -04:00
|
|
|
onClick="onClick_notification(dontShowAgain)">Don't show again</Button>
|
2023-04-14 11:34:02 -04:00
|
|
|
<Button class="bottomButtons"
|
|
|
|
onClick="onClick_notification(close)">Close</Button>
|
|
|
|
</HorizontalLayout>
|
|
|
|
</Cell>
|
|
|
|
</Row>
|
|
|
|
</TableLayout>
|