Full screen hint (#264)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2024-01-11 14:56:41 -05:00
1 parent 7796c63291
commit e6302e48fe
3 files changed
+63 -1

No files matched your search

@@ -10,6 +10,7 @@
<field id="minRect" type="rect2D" value="[834,460,426,240]" />
<field id="maxRect" type="rect2D" value="[0,0,1280,720]" />
<field id="chapter" type="string" alias="chapterLabel.text" />
<field id="showFullScreenHint" type="boolean" alwaysNotify="true" onChange="OnShowFullScreenHint" />
<function name="PlayWithContent" />
<function name="Close" />
</interface>
@@ -43,5 +44,24 @@
key="[0.0, 0.5, 1.0]"
fieldToInterp="VideoPlayer.translation" />
</Animation>
<Rectangle
id="fullScreenHint"
height="26"
color="0x000000"
opacity="0.8"
visible="false">
<Label
id="fullScreenHintLabel"
text="Press Options (*) for full screen"
height="26"
color="0xFFFFFF"
horizAlign="center"
vertAlign="center"
font="font:SmallestSystemFont"
/>
<Timer
id="fullScreenHintTimer"
duration="5" />
</Rectangle>
</children>
</component>