Skip to content
Browse files

added option to hide system in Home.xml

If system is hidden "system" tab moves to shutdown menu (open by pressing "s")
  • Loading branch information...
1 parent 3900bed commit 1471bfa99dd52a59e3230e42196141bfd32dc05b @mad-max committed Apr 29, 2012
Showing with 30 additions and 0 deletions.
  1. +16 −0 720p/DialogButtonMenu.xml
  2. +1 −0 720p/Home.xml
  3. +13 −0 720p/custom_SkinSetting_1111.xml
View
16 720p/DialogButtonMenu.xml
@@ -86,6 +86,22 @@
<label>13012</label>
<visible>System.ShowExitButton</visible>
</control>
+ <control type="button" id="13">
+ <description>System button</description>
+ <width>340</width>
+ <height>40</height>
+ <textcolor>grey2</textcolor>
+ <focusedcolor>white</focusedcolor>
+ <align>center</align>
+ <textwidth>290</textwidth>
+ <texturefocus border="25,5,25,5">ShutdownButtonFocus.png</texturefocus>
+ <texturenofocus border="25,5,25,5">ShutdownButtonNoFocus.png</texturenofocus>
+ <onclick>ActivateWindow(Settings)</onclick>
+ <visible>Skin.HasSetting(HomeMenuNoSystemButton)</visible>
+ <pulseonselect>no</pulseonselect>
+ <font>font13</font>
+ <label>13000</label>
+ </control>
<control type="button" id="3">
<description>Shutdown button</description>
<width>340</width>
View
1 720p/Home.xml
@@ -574,6 +574,7 @@
<onclick>ActivateWindow(Settings)</onclick>
<icon>special://skin/backgrounds/settings.jpg</icon>
<thumb>$INFO[Skin.String(Home_Custom_Back_Settings_Folder)]</thumb>
+ <visible>!Skin.HasSetting(HomeMenuNoSystemButton)</visible>
</item>
</content>
</control>
View
13 720p/custom_SkinSetting_1111.xml
@@ -582,6 +582,19 @@
<texturefocus>MenuItemFO.png</texturefocus>
<texturenofocus>MenuItemNF.png</texturenofocus>
</control>
+ <control type="radiobutton" id="229">
+ <description>Hide System Button</description>
+ <width>750</width>
+ <height>40</height>
+ <font>font13</font>
+ <textcolor>grey2</textcolor>
+ <focusedcolor>white</focusedcolor>
+ <label>$LOCALIZE[31111] - $LOCALIZE[13000]</label>
+ <onclick>Skin.ToggleSetting(HomeMenuNoSystemButton)</onclick>
+ <selected>Skin.HasSetting(HomeMenuNoSystemButton)</selected>
+ <texturefocus>MenuItemFO.png</texturefocus>
+ <texturenofocus>MenuItemNF.png</texturenofocus>
+ </control>
</control>
<control type="scrollbar" id="60">
<posx>1060</posx>

0 comments on commit 1471bfa

Please sign in to comment.
Something went wrong with that request. Please try again.