skin.pellucidPlus/1080i/DialogButtonMenu.xml

105 lines
4.4 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--power menu-->
<window type="buttonMenu">
<defaultcontrol always="true">8000</defaultcontrol>
<allowoverlay>yes</allowoverlay>
<include>fadeInOut</include>
<controls>
<include>modalDialog</include>
<control type="group">
<posx>col-1-begin</posx>
<posy>7-row</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="list" id="8000">
<posx>-15</posx>
<posy>0</posy>
<width>6-col</width>
<height>6-row</height>
<itemgap>0</itemgap>
<itemlayout width="6-col" height="1-row">
<control type="label">
<posx>15</posx>
<posy>0</posy>
<width>6-col</width>
<align>left</align>
<font>itemTitle</font>
<textcolor>unselected</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="6-col" height="1-row">
<control type="label">
<posx>-1</posx>
<posy>0</posy>
<width>6-col</width>
<align>left</align>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<label>[ $INFO[ListItem.label] ]</label>
</control>
</focusedlayout>
<content>
<item id="1">
<label>13016</label>
<visible>System.CanPowerDown + !Skin.HasSetting(exitFirst)</visible>
<thumb>-</thumb>
<onclick>xbmc.powerdown()</onclick>
</item>
<item id="2">
<description>Exit to desktop</description>
<visible>Skin.HasSetting(exitFirst)</visible>
<label>13012</label>
<thumb>-</thumb>
<onclick>XBMC.Quit()</onclick>
</item>
<item id="3">
<label>13011</label>
<visible>System.CanSuspend</visible>
<thumb>-</thumb>
<onclick>XBMC.Suspend()</onclick>
</item>
<item id="4">
<label>13010</label>
<visible>System.CanHibernate</visible>
<thumb>-</thumb>
<onclick>XBMC.Hibernate()</onclick>
</item>
<item id="5">
<label>13013</label>
<thumb>-</thumb>
<onclick>XBMC.Reboot()</onclick>
</item>
<item id="6">
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
<visible>System.Loggedon</visible>
<thumb>-</thumb>
<onclick>System.LogOff</onclick>
<onclick>Dialog.Close(all,true)</onclick>
</item>
<item id="7">
<description>Exit to desktop</description>
<visible>!Skin.HasSetting(exitFirst)</visible>
<label>13012</label>
<thumb>-</thumb>
<onclick>XBMC.Quit()</onclick>
</item>
<item id="8">
<label>13016</label>
<visible>System.CanPowerDown + Skin.HasSetting(exitFirst)</visible>
<thumb>-</thumb>
<onclick>xbmc.powerdown()</onclick>
</item>
</content>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>DialogButtonMenu.xml</label>
</control>
</controls>
</window>