[skin.confluence] v4.5.0

Added 'Game' shortcuts to home menu
Fixed hiding 'Games' home menu item
This commit is contained in:
Kevin Goffe
2018-10-03 09:27:54 +01:00
parent a43455bce8
commit 557880b423
7 changed files with 223 additions and 80 deletions

View File

@ -980,7 +980,7 @@
<onclick>ActivateWindow(Games)</onclick>
<icon></icon>
<thumb></thumb>
<visible>System.GetBool(gamesgeneral.enable)</visible>
<visible>!Skin.HasSetting(HomeMenuNoGamesButton)</visible>
</item>
<item id="13">
<label>31960</label>
@ -1116,6 +1116,18 @@
<include>HomeAddonItemsPrograms</include>
</content>
</control>
<control type="fixedlist" id="706">
<animation effect="slide" start="0,0" end="-91,0" time="0" condition="String.IsEqual(Container(706).NumItems,2) | String.IsEqual(Container(706).NumItems,4)">conditional</animation>
<visible>Container(9000).HasFocus(14)</visible>
<onleft>706</onleft>
<onright>706</onright>
<onup>9001</onup>
<ondown>21</ondown>
<include>HomeAddonsCommonLayout</include>
<content>
<include>HomeAddonItemsGames</include>
</content>
</control>
</control>
<control type="group">
<depth>DepthMenu-</depth>

View File

@ -498,4 +498,41 @@
<visible>!String.IsEmpty(Skin.String(HomeProgramButton5))</visible>
</item>
</include>
<include name="HomeAddonItemsGames">
<item>
<label>$INFO[system.addontitle(Skin.String(HomeGameButton1))]</label>
<onclick>RunAddon($INFO[Skin.String(HomeGameButton1)])</onclick>
<icon>$INFO[system.addonicon(Skin.String(HomeGameButton1))]</icon>
<thumb></thumb>
<visible>!String.IsEmpty(Skin.String(HomeGameButton1))</visible>
</item>
<item>
<label>$INFO[system.addontitle(Skin.String(HomeGameButton2))]</label>
<onclick>RunAddon($INFO[Skin.String(HomeGameButton2)])</onclick>
<icon>$INFO[system.addonicon(Skin.String(HomeGameButton2))]</icon>
<thumb></thumb>
<visible>!String.IsEmpty(Skin.String(HomeGameButton2))</visible>
</item>
<item>
<label>$INFO[system.addontitle(Skin.String(HomeGameButton3))]</label>
<onclick>RunAddon($INFO[Skin.String(HomeGameButton3)])</onclick>
<icon>$INFO[system.addonicon(Skin.String(HomeGameButton3))]</icon>
<thumb></thumb>
<visible>!String.IsEmpty(Skin.String(HomeGameButton3))</visible>
</item>
<item>
<label>$INFO[system.addontitle(Skin.String(HomeGameButton4))]</label>
<onclick>RunAddon($INFO[Skin.String(HomeGameButton4)])</onclick>
<icon>$INFO[system.addonicon(Skin.String(HomeGameButton4))]</icon>
<thumb></thumb>
<visible>!String.IsEmpty(Skin.String(HomeGameButton4))</visible>
</item>
<item>
<label>$INFO[system.addontitle(Skin.String(HomeGameButton5))]</label>
<onclick>RunAddon($INFO[Skin.String(HomeGameButton5)])</onclick>
<icon>$INFO[system.addonicon(Skin.String(HomeGameButton5))]</icon>
<thumb></thumb>
<visible>!String.IsEmpty(Skin.String(HomeGameButton5))</visible>
</item>
</include>
</includes>

View File

@ -2,6 +2,7 @@
<window>
<defaultcontrol always="true">6</defaultcontrol>
<menucontrol>9000</menucontrol>
<views>50</views>
<controls>
<include>CommonBackground</include>
<control type="group">

View File

@ -458,7 +458,7 @@
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$LOCALIZE[31111] - $LOCALIZE[0]</label>
<label>$LOCALIZE[31111] - $LOCALIZE[24001]</label>
<onclick>Skin.ToggleSetting(HomeMenuNoProgramsButton)</onclick>
<selected>Skin.HasSetting(HomeMenuNoProgramsButton)</selected>
<texturefocus>MenuItemFO.png</texturefocus>
@ -477,6 +477,19 @@
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
</control>
<control type="radiobutton" id="229">
<description>Hide Games Button</description>
<width>750</width>
<height>40</height>
<font>font13</font>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<label>$LOCALIZE[31111] - $LOCALIZE[15016]</label>
<onclick>Skin.ToggleSetting(HomeMenuNoGamesButton)</onclick>
<selected>Skin.HasSetting(HomeMenuNoGamesButton)</selected>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
</control>
</control>
<control type="scrollbar" id="60">
<left>1060</left>
@ -613,7 +626,7 @@
<onright>61</onright>
<onup>9004</onup>
<ondown>9004</ondown>
<control type="label" id="453">
<control type="label" id="400">
<width>750</width>
<height>45</height>
<font>font13_title</font>
@ -623,7 +636,7 @@
<align>left</align>
<aligny>center</aligny>
</control>
<control type="button" id="455">
<control type="button" id="401">
<width>750</width>
<height>40</height>
<font>font13</font>
@ -635,7 +648,7 @@
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(LyricScript_Path,xbmc.python.lyrics)</onclick>
</control>
<control type="button" id="456">
<control type="button" id="402">
<width>750</width>
<height>40</height>
<font>font13</font>
@ -927,6 +940,76 @@
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeProgramButton5,xbmc.addon.executable)</onclick>
</control>
<control type="label" id="450">
<width>750</width>
<height>45</height>
<font>font13_title</font>
<label>31120</label>
<textcolor>blue</textcolor>
<shadowcolor>black</shadowcolor>
<align>left</align>
<aligny>center</aligny>
</control>
<control type="button" id="451">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>$LOCALIZE[24000] [B]1[/B]</label>
<label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeGameButton1))][/COLOR]</label2>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeGameButton1,kodi.gameclient)</onclick>
</control>
<control type="button" id="452">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>$LOCALIZE[24000] [B]2[/B]</label>
<label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeGameButton2))][/COLOR]</label2>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeGameButton2,kodi.gameclient)</onclick>
</control>
<control type="button" id="453">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>$LOCALIZE[24000] [B]3[/B]</label>
<label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeGameButton3))][/COLOR]</label2>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeGameButton3,kodi.gameclient)</onclick>
</control>
<control type="button" id="454">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>$LOCALIZE[24000] [B]4[/B]</label>
<label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeGameButton4))][/COLOR]</label2>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeGameButton4,kodi.gameclient)</onclick>
</control>
<control type="button" id="455">
<width>750</width>
<height>40</height>
<font>font13</font>
<label>$LOCALIZE[24000] [B]5[/B]</label>
<label2>[COLOR=selected]$INFO[system.addontitle(Skin.String(HomeGameButton5))][/COLOR]</label2>
<textcolor>grey2</textcolor>
<focusedcolor>white</focusedcolor>
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
<onclick>Skin.SetAddon(HomeGameButton5,kodi.gameclient)</onclick>
</control>
</control>
</control>
<control type="scrollbar" id="61">