Add 'End time' control and visibility (#52)

Looks good, thanks.
This commit is contained in:
DaVukovic 2019-03-10 15:07:56 +01:00 committed by Kevin Goffe
parent d37a62ac89
commit d9639e012a
2 changed files with 40 additions and 1 deletions

View File

@ -8,6 +8,45 @@
<animation effect="fade" start="100" end="0" time="150">WindowClose</animation>
<depth>DepthOSD</depth>
<controls>
<control type="group">
<visible>Window.IsVisible(FullscreenVideo) + ![Player.HasGame | VideoPlayer.HasEpg]</visible>
<left>850r</left>
<top>-6</top>
<include>VisibleFadeEffect</include>
<control type="image">
<left>0</left>
<top>0</top>
<width>150</width>
<height>70</height>
<colordiffuse>EEFFFFFF</colordiffuse>
<texture border="12">OverlayDialogBackground.png</texture>
</control>
<control type="label" id="1">
<description>End time label</description>
<left>20</left>
<top>10</top>
<width>110</width>
<height>20</height>
<align>center</align>
<aligny>center</aligny>
<font>font12_title</font>
<textcolor>blue</textcolor>
<scroll>true</scroll>
<label>$LOCALIZE[31049]</label>
</control>
<control type="label" id="1">
<description>End time from infolabel</description>
<left>20</left>
<top>30</top>
<width>110</width>
<height>20</height>
<align>center</align>
<aligny>center</aligny>
<font>font13_title</font>
<textcolor>grey2</textcolor>
<label>$INFO[Player.FinishTime]</label>
</control>
</control>
<control type="group">
<visible>player.chaptercount + Window.IsVisible(FullScreenVideo)</visible>
<left>705r</left>

View File

@ -339,7 +339,7 @@
<font>font12</font>
<textcolor>grey</textcolor>
<scroll>true</scroll>
<visible>!Window.IsVisible(VideoOSD) + !VideoPlayer.Content(LiveTV)</visible>
<visible>Window.IsVisible(VideoOSD) + !VideoPlayer.Content(LiveTV)</visible>
<animation effect="fade" time="150">VisibleChange</animation>
</control>
<control type="label" id="1">