skin.pellucid/1080i/custom_subtitleMenu.xml

87 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="5901">
<defaultcontrol always="true">5000</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<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-9-begin</posx>
<posy>row-9-begin</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<!--subtitle menu-->
<control type="image">
<posx>-36</posx>
<posy>-36</posy>
<width>9-col</width>
<height>10-row</height>
<texture>colors/black.png</texture>
<aspectratio>stretch</aspectratio>
<bordertexture border="3" colordiffuse="33FFFFFF">colors/white.png</bordertexture>
<bordersize>3</bordersize>
<colordiffuse>ffffffff</colordiffuse>
</control>
<control type="label">
<description>heading</description>
<posx>0</posx>
<posy>0</posy>
<width>9-col</width>
<font>dialogTitle</font>
<textcolor>textActive</textcolor>
<label>$LOCALIZE[31194]</label>
</control>
<control type="grouplist" id="5000">
<posx>0</posx>
<posy>2-row</posy>
<width>8-col</width>
<height>11-row</height>
<itemgap>0</itemgap>
<control type="radiobutton" id="1">
<description>Enable subtitles</description>
<enable>VideoPlayer.HasSubtitles</enable>
<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>
<label>22006</label>
<onclick>SubtitleDelay</onclick>
</control>
<control type="button" id="4">
<description>Download Subtitle</description>
<width>8-col</width>
<label>31154</label>
<onclick>Dialog.Close(VideoOSD)</onclick>
<onclick>ActivateWindow(SubtitleSearch)</onclick>
</control>
</control>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_subtitleMenu.xml</label>
</control>
</controls>
</window>