skin.pellucidPlus/1080i/DialogButtonMenu.xml

115 lines
4.9 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">
2024-05-06 14:53:16 +02:00
<posx>24</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>
2024-05-06 14:53:16 +02:00
<aspectratio scalediffuse="false">stretch</aspectratio>
<texture border="24" colordiffuse="highlight">masks/menuTitle.png</texture>
2015-04-01 21:11:01 +02:00
<bordersize>0</bordersize>
</control>
<control type="label">
2024-05-06 14:53:16 +02:00
<posx>24</posx>
2015-04-01 21:11:01 +02:00
<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>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>Powerdown()</onclick>
2014-09-28 20:47:53 +02:00
</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>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>Quit()</onclick>
2014-09-28 20:47:53 +02:00
</item>
<item id="3">
<label>13011</label>
<visible>System.CanSuspend</visible>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>Suspend()</onclick>
2014-09-28 20:47:53 +02:00
</item>
<item id="4">
<label>13010</label>
<visible>System.CanHibernate</visible>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>Hibernate()</onclick>
2014-09-28 20:47:53 +02:00
</item>
<item id="5">
<label>13013</label>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>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>
2017-12-21 15:16:56 +01:00
<visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
2015-03-27 21:31:13 +01:00
<visible>System.Loggedon</visible>
2017-12-04 21:13:06 +01: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>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>Quit()</onclick>
2014-09-28 20:47:53 +02:00
</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>
2017-12-04 21:13:06 +01:00
<thumb></thumb>
2021-01-09 18:44:45 +01:00
<onclick>Powerdown()</onclick>
2014-09-28 20:47:53 +02:00
</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>