skin.tributary/720p/IncludesPVR.xml
Christian Gade c550654748
Add DialogPVRGuideControls.xml (#110)
I can't personally test but the code looks good to me.

Thanks.
2021-04-15 16:40:38 +01:00

266 lines
10 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<includes>
<include name="PVRHeader">
<control type="group">
<depth>DepthHeader</depth>
<control type="image">
<description>Section header image</description>
<left>20</left>
<top>3</top>
<width>35</width>
<height>35</height>
<aspectratio>keep</aspectratio>
<texture>icon_video.png</texture>
</control>
<control type="grouplist">
<left>65</left>
<top>5</top>
<width>1000</width>
<height>30</height>
<orientation>horizontal</orientation>
<align>left</align>
<itemgap>5</itemgap>
<control type="label">
<include>WindowTitleCommons</include>
<label>$LOCALIZE[19020]</label>
<visible>String.IsEmpty(Window.Property(IsRadio))</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>$LOCALIZE[19021]</label>
<visible>!String.IsEmpty(Window.Property(IsRadio))</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>[COLOR=blue] - [/COLOR]$LOCALIZE[19019]</label>
<visible>Window.IsActive(TVChannels) | Window.IsActive(RadioChannels)</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>[COLOR=blue] - [/COLOR]$LOCALIZE[22020]</label>
<visible>Window.IsActive(TVGuide) | Window.IsActive(RadioGuide)</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>[COLOR=blue] - [/COLOR]$LOCALIZE[19017]</label>
<visible>Window.IsActive(TVRecordings) | Window.IsActive(RadioRecordings)</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>[COLOR=blue] - [/COLOR]$LOCALIZE[19138]</label>
<visible>Window.IsActive(TVTimerRules) | Window.IsActive(RadioTimerRules)</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>[COLOR=blue] - [/COLOR]$LOCALIZE[19040]</label>
<visible>Window.IsActive(TVTimers) | Window.IsActive(RadioTimers)</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>[COLOR=blue] - [/COLOR]$LOCALIZE[137]</label>
<visible>Window.IsActive(TVSearch) | Window.IsActive(RadioSearch)</visible>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>$INFO[Control.GetLabel(29),[COLOR=blue] - [/COLOR]]</label>
</control>
<control type="label">
<include>WindowTitleCommons</include>
<label>$INFO[Control.GetLabel(30),[COLOR=blue] - [/COLOR]]</label>
</control>
</control>
<control type="label" id="29">
<description>Empty so we can pass the values up one level</description>
<visible>False</visible>
</control>
<control type="label" id="30">
<description>Empty so we can pass the values up one level</description>
<visible>False</visible>
</control>
<include>Clock</include>
</control>
</include>
<include name="PVRSideBlade">
<control type="group">
<left>-250</left>
<include>SideBladeLeft</include>
<control type="grouplist" id="9000">
<left>0</left>
<top>55</top>
<width>250</width>
<onleft>9000</onleft>
<onright>50</onright>
<onup>9000</onup>
<ondown>9000</ondown>
<itemgap>0</itemgap>
<control type="label" id="200">
<width>250</width>
<height>35</height>
<font>font13</font>
<label>33063</label>
<textcolor>blue</textcolor>
<align>center</align>
<aligny>center</aligny>
</control>
<control type="button" id="100">
<description>Channels</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19019</label>
<onclick condition="Window.IsActive(TVChannels) | Window.IsActive(RadioChannels)">NextChannelGroup</onclick>
<onclick condition="String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVChannels)</onclick>
<onclick condition="!String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioChannels)</onclick>
</control>
<control type="button" id="101">
<description>TV Guide</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>22020</label>
<onclick condition="Window.IsActive(TVGuide) | Window.IsActive(RadioGuide)">NextChannelGroup</onclick>
<onclick condition="String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVGuide)</onclick>
<onclick condition="!String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioGuide)</onclick>
</control>
<control type="button" id="102">
<description>Recordings</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19163</label>
<onclick condition="String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVRecordings)</onclick>
<onclick condition="!String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioRecordings)</onclick>
</control>
<control type="button" id="105">
<description>Timer Rules</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19138</label>
<onclick condition="String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVTimerRules)</onclick>
<onclick condition="!String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioTimerRules)</onclick>
</control>
<control type="button" id="103">
<description>Timers</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19040</label>
<onclick condition="String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVTimers)</onclick>
<onclick condition="!String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioTimers)</onclick>
</control>
<control type="button" id="104">
<description>Search</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>137</label>
<onclick condition="String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(TVSearch)</onclick>
<onclick condition="!String.IsEmpty(Window.Property(IsRadio))">ActivateWindow(RadioSearch)</onclick>
</control>
<control type="label" id="201">
<width>250</width>
<height>35</height>
<font>font12</font>
<label>31006</label>
<textcolor>blue</textcolor>
<align>center</align>
<aligny>center</aligny>
</control>
<control type="button" id="28">
<description>Channel Groups</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label/>
</control>
<control type="button" id="2">
<description>View As button</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label/>
<!-- <visible>Window.IsActive(TVGuide) | Window.IsActive(RadioGuide)</visible> -->
</control>
<control type="button" id="3">
<description>Sort by button</description>
<include>ButtonCommonValues</include>
<label>103</label>
</control>
<control type="togglebutton" id="4">
<description>Sort asc</description>
<include>ButtonCommonValues</include>
<alttexturefocus border="5">button-focus.png</alttexturefocus>
<alttexturenofocus/>
<label>31051</label>
<altlabel>31050</altlabel>
<usealttexture>Container.SortDirection(Ascending)</usealttexture>
</control>
<control type="radiobutton" id="31">
<description>Filter</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>587</label>
<selected>Container.Filtered</selected>
<onclick>right</onclick>
<visible>Window.IsActive(TVChannels) | Window.IsActive(RadioChannels)</visible>
</control>
<!-- Misc Options (ID is completely arbitrary) -->
<control type="label" id="205">
<width>250</width>
<height>35</height>
<font>font12</font>
<label>31026</label>
<textcolor>blue</textcolor>
<align>center</align>
<aligny>center</aligny>
<visible>Control.IsVisible(5) | Control.IsVisible(6) | Control.IsVisible(7) | Control.IsVisible(8) | Control.IsVisible(10)</visible>
</control>
<control type="button" id="10">
<description>Watched Toggle</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>20367</label>
<visible>Window.IsActive(TVRecordings)</visible>
</control>
<control type="radiobutton" id="5">
<description>Group recording items by folder structure</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19270</label>
<visible>Window.IsActive(TVRecordings) | Window.IsActive(RadioRecordings)</visible>
</control>
<control type="radiobutton" id="6">
<description>Show hidden channels</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19051</label>
<visible>Window.IsActive(TVChannels) | Window.IsActive(RadioChannels)</visible>
</control>
<control type="radiobutton" id="7">
<description>Show deleted recordings</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19184</label>
<visible>Window.IsActive(TVRecordings) | Window.IsActive(RadioRecordings)</visible>
</control>
<control type="radiobutton" id="8">
<description>Hide disabled timers</description>
<textwidth>235</textwidth>
<include>ButtonCommonValues</include>
<label>19077</label>
<visible>Window.IsActive(TVTimers) | Window.IsActive(RadioTimers) | Window.IsActive(TVTimerRules) | Window.IsActive(RadioTimerRules)</visible>
</control>
<!-- Playback controls -->
<include>CommonNowPlaying_Controls</include>
</control>
</control>
</include>
<variable name="PVRGuideControlsHelpTextVar">
<value condition="Control.HasFocus(600)">$LOCALIZE[19063]</value>
<value condition="Control.HasFocus(601)">$LOCALIZE[19317]</value>
<value condition="Control.HasFocus(602)">$LOCALIZE[19070]</value>
<value condition="Control.HasFocus(603)">$LOCALIZE[19318]</value>
<value condition="Control.HasFocus(604)">$LOCALIZE[19064]</value>
<value condition="Control.HasFocus(605)">$LOCALIZE[19288]</value>
<value condition="Control.HasFocus(606)">$LOCALIZE[19322]</value>
<value condition="Control.HasFocus(607)">$LOCALIZE[19323]</value>
<value condition="Control.HasFocus(608)">$LOCALIZE[19324]</value>
<value condition="Control.HasFocus(609)">$LOCALIZE[19319]</value>
<value condition="Control.HasFocus(610)">$LOCALIZE[19320]</value>
<value condition="Control.HasFocus(611)">$LOCALIZE[19321]</value>
</variable>
</includes>