Add DialogPVRGuideControls.xml (#110)

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:38 +02:00 committed by GitHub
parent 441a729310
commit c550654748
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 212 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>
</control> </control>
</include> </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> </includes>

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.confluence" version="4.7.11" name="Confluence" provider-name="Jezz_X, Team Kodi"> <addon id="skin.confluence" version="4.7.12" name="Confluence" provider-name="Jezz_X, Team Kodi">
<requires> <requires>
<import addon="xbmc.gui" version="5.15.0"/> <import addon="xbmc.gui" version="5.15.0"/>
</requires> </requires>
@ -143,6 +143,6 @@
<screenshot>resources/screenshot-08.jpg</screenshot> <screenshot>resources/screenshot-08.jpg</screenshot>
<screenshot>resources/screenshot-09.jpg</screenshot> <screenshot>resources/screenshot-09.jpg</screenshot>
</assets> </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.</news>
</extension> </extension>
</addon> </addon>

View File

@ -1,3 +1,7 @@
[B]4.7.12[/B]
- Add PVR guide controls dialog
[B]4.7.11[/B] [B]4.7.11[/B]
- Fix PVR radio record button - 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