skin.pellucidPlus/1080i/custom_subtitleMenu.xml

75 lines
3.3 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<window type="dialog" id="1104">
<defaultcontrol always="true">5000</defaultcontrol>
<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-9-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="button" id="4">
<description>Download Subtitle</description>
<width>8-col</width>
<label>31154</label>
<texturefocus colordiffuse="highlight">colors/white.png</texturefocus>
<focusedcolor>textActive</focusedcolor>
<onclick>Dialog.Close(VideoOSD)</onclick>
<onclick>ActivateWindow(SubtitleSearch)</onclick>
</control>
<control type="radiobutton" id="1">
<description>Enable subtitles</description>
<enable>VideoPlayer.HasSubtitles</enable>
<texturefocus colordiffuse="highlight">colors/white.png</texturefocus>
<focusedcolor>textActive</focusedcolor>
<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>31202</label>
<width>8-col</width>
<texturefocus colordiffuse="highlight">colors/white.png</texturefocus>
<focusedcolor>textActive</focusedcolor>
<onclick>SubtitleDelay</onclick>
</control>
</control>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>custom_subtitleMenu.xml</label>
</control>
</controls>
</window>