skin.pellucid/1080i/DialogButtonMenu.xml

116 lines
5.0 KiB
XML
Raw Normal View History

2014-09-28 20:47:53 +02:00
<?xml version="1.0" encoding="UTF-8"?>
<!--power menu-->
<window type="buttonMenu">
<defaultcontrol always="true">8000</defaultcontrol>
<include>fadeInOut</include>
<controls>
<include>modalDialog</include>
<control type="group">
2015-04-01 21:11:01 +02:00
<posx>col-10-begin</posx>
2015-04-20 21:33:20 +02:00
<posy>9-row</posy>
2014-09-28 20:47:53 +02:00
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="list" id="8000">
2015-04-01 21:11:01 +02:00
<posx>0</posx>
2015-03-27 21:31:13 +01:00
<posy>0</posy>
2014-09-28 20:47:53 +02:00
<width>6-col</width>
2015-05-18 21:37:03 +02:00
<height>12-row</height>
2014-09-28 20:47:53 +02:00
<itemgap>0</itemgap>
2015-04-01 21:11:01 +02:00
<itemlayout width="6-col" height="2-row">
2014-09-28 20:47:53 +02:00
<control type="label">
2015-04-01 21:11:01 +02:00
<posx>12</posx>
2014-09-28 20:47:53 +02:00
<posy>0</posy>
2015-04-01 21:11:01 +02:00
<width>6-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
2014-09-28 20:47:53 +02:00
<font>itemTitle</font>
2015-04-01 21:11:01 +02:00
<textcolor>textActive</textcolor>
2014-09-28 20:47:53 +02:00
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
2015-04-01 21:11:01 +02:00
<focusedlayout width="6-col" height="2-row">
<control type="image">
<posx>0</posx>
2014-09-28 20:47:53 +02:00
<posy>0</posy>
<width>6-col</width>
2015-04-01 21:11:01 +02:00
<height>2-row</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0">colors/white.png</texture>
<bordersize>0</bordersize>
2015-04-12 22:22:47 +02:00
<colordiffuse>highlight</colordiffuse>
2015-04-01 21:11:01 +02:00
</control>
<control type="label">
<posx>12</posx>
<posy>0</posy>
<width>6-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
2014-09-28 20:47:53 +02:00
<font>itemTitle</font>
2015-03-27 21:31:13 +01:00
<textcolor>textActive</textcolor>
2015-04-01 21:11:01 +02:00
<label>$INFO[ListItem.label]</label>
2014-09-28 20:47:53 +02:00
</control>
</focusedlayout>
<content>
<item id="1">
<label>13016</label>
<visible>System.CanPowerDown + !Skin.HasSetting(exitFirst)</visible>
<thumb>-</thumb>
<onclick>xbmc.powerdown()</onclick>
</item>
2015-03-27 21:31:13 +01:00
<item id="2">
2014-09-28 20:47:53 +02:00
<description>Exit to desktop</description>
2015-03-27 21:31:13 +01:00
<visible>Skin.HasSetting(exitFirst)</visible>
2014-09-28 20:47:53 +02:00
<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>
2015-03-27 21:31:13 +01:00
<onclick>XBMC.Reboot()</onclick>
2014-09-28 20:47:53 +02:00
</item>
2015-03-27 21:31:13 +01:00
<item id="6">
2014-09-28 20:47:53 +02:00
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
2015-03-27 21:31:13 +01:00
<visible>System.HasLoginScreen | IntegerGreaterThan(System.ProfileCount,1)</visible>
<visible>System.Loggedon</visible>
2014-09-28 20:47:53 +02:00
<thumb>-</thumb>
2015-05-18 21:37:03 +02:00
<onclick>dialog.close(all,true)</onclick>
2014-09-28 20:47:53 +02:00
<onclick>System.LogOff</onclick>
</item>
<item id="7">
<description>Exit to desktop</description>
2015-03-27 21:31:13 +01:00
<visible>!Skin.HasSetting(exitFirst)</visible>
2014-09-28 20:47:53 +02:00
<label>13012</label>
<thumb>-</thumb>
<onclick>XBMC.Quit()</onclick>
</item>
2015-03-27 21:31:13 +01:00
<item id="8">
2014-09-28 20:47:53 +02:00
<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>
2015-03-27 21:31:13 +01:00
</window>