2014-09-28 20:47:53 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
2015-03-27 21:31:13 +01:00
|
|
|
<window type="dialog" id="5901">
|
2014-09-28 20:47:53 +02:00
|
|
|
<defaultcontrol always="true">5000</defaultcontrol>
|
|
|
|
<allowoverlay>yes</allowoverlay>
|
2015-03-27 21:31:13 +01:00
|
|
|
<controls>
|
|
|
|
<include>fadeInOut</include>
|
|
|
|
<control type="group">
|
|
|
|
<visible>!Window.IsVisible(SliderDialog)</visible>
|
|
|
|
<control type="image">
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>fullscreenWidth</width>
|
|
|
|
<height>fullscreenHeight</height>
|
|
|
|
<aspectratio>stretch</aspectratio>
|
|
|
|
<texture>colors/black.png</texture>
|
|
|
|
<colordiffuse>ccFFFFFF</colordiffuse>
|
|
|
|
</control>
|
|
|
|
<control type="image">
|
|
|
|
<include>dimensionsFullscreen</include>
|
|
|
|
<texture>backgrounds/vignette.png</texture>
|
|
|
|
<colordiffuse>ffffffff</colordiffuse>
|
|
|
|
<aspectratio>stretch</aspectratio>
|
|
|
|
</control>
|
|
|
|
<control type="group">
|
|
|
|
<posx>col-10-begin</posx>
|
|
|
|
<posy>row-7-begin</posy>
|
|
|
|
<!--animations-->
|
|
|
|
<include>modalDialogInOutVertical</include>
|
|
|
|
<!--subtitle menu-->
|
|
|
|
<control type="grouplist" id="5000">
|
|
|
|
<posx>0</posx>
|
|
|
|
<posy>0</posy>
|
|
|
|
<width>6-col</width>
|
|
|
|
<height>11-row</height>
|
|
|
|
<itemgap>0</itemgap>
|
|
|
|
<control type="radiobutton" id="1">
|
|
|
|
<description>Enable subtitles</description>
|
|
|
|
<enable>VideoPlayer.HasSubtitles</enable>
|
|
|
|
<textoffsetx>0</textoffsetx>
|
|
|
|
<textcolor>unselected</textcolor>
|
|
|
|
<focusedcolor>selected</focusedcolor>
|
|
|
|
<texturefocus>-</texturefocus>
|
|
|
|
<width>6-col</width>
|
|
|
|
<label>449</label>
|
|
|
|
<onclick>ShowSubtitles</onclick>
|
|
|
|
<selected>VideoPlayer.SubtitlesEnabled</selected>
|
|
|
|
</control>
|
|
|
|
<control type="button" id="3">
|
|
|
|
<description>Adjust Subtitle Offset</description>
|
|
|
|
<visible>VideoPlayer.HasSubtitles + VideoPlayer.SubtitlesEnabled</visible>
|
|
|
|
<height>1-row</height>
|
|
|
|
<width>6-col</width>
|
|
|
|
<font>itemTitle</font>
|
|
|
|
<textcolor>unselected</textcolor>
|
|
|
|
<focusedcolor>selected</focusedcolor>
|
|
|
|
<texturefocus>-</texturefocus>
|
|
|
|
<texturenofocus>-</texturenofocus>
|
|
|
|
<textoffsetx>0</textoffsetx>
|
|
|
|
<label>22006</label>
|
|
|
|
<onclick>SubtitleDelay</onclick>
|
|
|
|
</control>
|
|
|
|
<control type="button" id="4">
|
|
|
|
<description>Download Subtitle</description>
|
|
|
|
<height>1-row</height>
|
|
|
|
<width>6-col</width>
|
|
|
|
<font>itemTitle</font>
|
|
|
|
<textcolor>unselected</textcolor>
|
|
|
|
<focusedcolor>selected</focusedcolor>
|
|
|
|
<texturefocus>-</texturefocus>
|
|
|
|
<texturenofocus>-</texturenofocus>
|
|
|
|
<textoffsetx>0</textoffsetx>
|
|
|
|
<label>31154</label>
|
|
|
|
<onclick>Dialog.Close(VideoOSD)</onclick>
|
|
|
|
<onclick>ActivateWindow(SubtitleSearch)</onclick>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
</control>
|
|
|
|
</control>
|
2014-09-28 20:47:53 +02:00
|
|
|
<!--debugging-->
|
|
|
|
<include>DebugGrid</include>
|
|
|
|
<control type="label">
|
|
|
|
<include>DialogID</include>
|
|
|
|
<label>custom_subtitleMenu.xml</label>
|
|
|
|
</control>
|
|
|
|
</controls>
|
2015-03-27 21:31:13 +01:00
|
|
|
</window>
|