Add DialogPVRGuideControls.xml (#109)

I can't personally test but the code looks good to me.

Thanks.
This commit is contained in:
Christian Gade 2021-04-15 17:40:46 +02:00 committed by GitHub
parent a5fffc6ddb
commit 3d5977cde3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 220 additions and 2 deletions

View File

@ -0,0 +1,192 @@
<?xml version="1.0" encoding="UTF-8"?>
<window>
<defaultcontrol always="false">602</defaultcontrol>
<include>dialogeffect</include>
<depth>DepthOSD</depth>
<coordinates>
<left>0</left>
<top>0</top>
</coordinates>
<controls>
<control type="image">
<left>-20</left>
<top>130r</top>
<width>1320</width>
<height>130</height>
<texture border="1">HomeNowPlayingBack.png</texture>
</control>
<control type="label">
<left>100</left>
<top>150r</top>
<width>330</width>
<align>center</align>
<font>font12</font>
<textcolor>grey</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>$LOCALIZE[19325]</label>
</control>
<control type="grouplist" id="201">
<left>100</left>
<top>60r</top>
<orientation>horizontal</orientation>
<itemgap>0</itemgap>
<animation effect="fade" time="150">VisibleChange</animation>
<onup>Action(close)</onup>
<onup>10</onup>
<onright>606</onright>
<onleft>611</onleft>
<control type="button" id="600">
<width>55</width>
<height>55</height>
<texturefocus>OSDPrevTrackFO.png</texturefocus>
<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(FirstProgramme)</onclick>
</control>
<control type="button" id="601">
<width>55</width>
<height>55</height>
<texturefocus>OSDRewindFO.png</texturefocus>
<texturenofocus>OSDRewindNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(-12)</onclick>
</control>
<control type="button" id="602">
<width>55</width>
<height>55</height>
<texturefocus>OSDChannelDownFO.png</texturefocus>
<texturenofocus>OSDChannelDownNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(CurrentProgramme)</onclick>
</control>
<control type="button" id="603">
<width>55</width>
<height>55</height>
<texturefocus>OSDForwardFO.png</texturefocus>
<texturenofocus>OSDForwardNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(+12)</onclick>
</control>
<control type="button" id="604">
<width>55</width>
<height>55</height>
<texturefocus>OSDNextTrackFO.png</texturefocus>
<texturenofocus>OSDNextTrackNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(LastProgramme)</onclick>
</control>
<control type="button" id="605">
<width>55</width>
<height>55</height>
<texturefocus>OSDDateFO.png</texturefocus>
<texturenofocus>OSDDateNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(SelectDate)</onclick>
</control>
</control>
<control type="label">
<left>100</left>
<top>60r</top>
<width>1080</width>
<align>center</align>
<aligny>center</aligny>
<font>font13</font>
<align>left</align>
<aligny>center</aligny>
<label>$VAR[PVRGuideControlsHelpTextVar]</label>
</control>
<control type="label">
<left>810</left>
<top>150r</top>
<width>165</width>
<align>center</align>
<font>font12</font>
<textcolor>grey</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>$LOCALIZE[19148]</label>
</control>
<control type="grouplist" id="202">
<left>810</left>
<top>60r</top>
<width>165</width>
<align>center</align>
<orientation>horizontal</orientation>
<itemgap>0</itemgap>
<animation effect="fade" time="150">VisibleChange</animation>
<onup>Action(close)</onup>
<onup>10</onup>
<onright>609</onright>
<onleft>605</onleft>
<control type="button" id="606">
<width>55</width>
<height>55</height>
<texturefocus>OSDPrevTrackFO.png</texturefocus>
<texturenofocus>OSDPrevTrackNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(FirstChannel)</onclick>
</control>
<control type="button" id="607">
<width>55</width>
<height>55</height>
<texturefocus>OSDChannelDownFO.png</texturefocus>
<texturenofocus>OSDChannelDownNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(PlayingChannel)</onclick>
<visible>PVR.IsPlayingTV | PVR.IsPlayingRadio</visible>
</control>
<control type="button" id="608">
<width>55</width>
<height>55</height>
<texturefocus>OSDNextTrackFO.png</texturefocus>
<texturenofocus>OSDNextTrackNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(FirstProgramme)</onclick>
</control>
</control>
<control type="label">
<left>1015</left>
<top>150r</top>
<width>165</width>
<align>center</align>
<font>font12</font>
<textcolor>grey</textcolor>
<align>left</align>
<aligny>center</aligny>
<label>$LOCALIZE[19141]</label>
</control>
<control type="grouplist" id="203">
<left>1015</left>
<top>60r</top>
<orientation>horizontal</orientation>
<itemgap>0</itemgap>
<animation effect="fade" time="150">VisibleChange</animation>
<onup>Action(close)</onup>
<onup>10</onup>
<onright>600</onright>
<onleft>608</onleft>
<control type="button" id="609">
<width>55</width>
<height>55</height>
<texturefocus flipx="true">OSDPlayFO.png</texturefocus>
<texturenofocus flipx="true">OSDPlayNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(PreviousGroup)</onclick>
</control>
<control type="button" id="610">
<width>55</width>
<height>55</height>
<texturefocus>OSDPlayFO.png</texturefocus>
<texturenofocus>OSDPlayNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(NextGroup)</onclick>
</control>
<control type="button" id="611">
<width>55</width>
<height>55</height>
<texturefocus>OSDPlaylistFO.png</texturefocus>
<texturenofocus>OSDPlaylistNF.png</texturenofocus>
<onclick>PVR.EpgGridControl(SelectGroup)</onclick>
</control>
</control>
</controls>
</window>

View File

@ -248,4 +248,18 @@
</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>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.confluence" version="4.7.13" name="Confluence" provider-name="Jezz_X, Team Kodi">
<addon id="skin.confluence" version="4.7.14" name="Confluence" provider-name="Jezz_X, Team Kodi">
<requires>
<import addon="xbmc.gui" version="5.15.0"/>
</requires>
@ -143,6 +143,6 @@
<screenshot>resources/screenshot-08.jpg</screenshot>
<screenshot>resources/screenshot-09.jpg</screenshot>
</assets>
<news>- Fix PVR radio record button.[CR]- Fix PVR recording label.[CR]- Fix posters.[CR]- Add "Versions" button to add-on information dialog</news>
<news>- Add PVR guide controls dialog.[CR]- Updated language files from Transifex.</news>
</extension>
</addon>

View File

@ -1,3 +1,15 @@
[B]4.7.14[/B]
- Add PVR guide controls dialog
[B]4.7.13[/B]
- Updated language files from Transifex
[B]4.7.12[/B]
- Updated language files from Transifex
[B]4.7.11[/B]
- Fix PVR radio record button

BIN
media/OSDDateFO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

BIN
media/OSDDateNF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

BIN
media/OSDPlaylistFO.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

BIN
media/OSDPlaylistNF.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB