skin.pellucidPlus/1080i/DialogButtonMenu.xml

116 lines
4.9 KiB
XML

<?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">
<posx>col-10-begin</posx>
<posy>9-row</posy>
<!--animations-->
<include>modalDialogInOutVertical</include>
<control type="list" id="8000">
<posx>0</posx>
<posy>0</posy>
<width>6-col</width>
<height>12-row</height>
<itemgap>0</itemgap>
<itemlayout width="6-col" height="2-row">
<control type="label">
<posx>12</posx>
<posy>0</posy>
<width>6-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<font>itemTitle</font>
<textcolor>textActive</textcolor>
<label>$INFO[ListItem.label]</label>
</control>
</itemlayout>
<focusedlayout width="6-col" height="2-row">
<control type="image">
<posx>0</posx>
<posy>0</posy>
<width>6-col</width>
<height>2-row</height>
<aspectratio scalediffuse="false">scale</aspectratio>
<texture border="0">colors/white.png</texture>
<bordersize>0</bordersize>
<colordiffuse>highlight</colordiffuse>
</control>
<control type="label">
<posx>12</posx>
<posy>0</posy>
<width>6-col-gutter</width>
<height>2-row</height>
<aligny>center</aligny>
<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>Powerdown()</onclick>
</item>
<item id="2">
<description>Exit to desktop</description>
<visible>Skin.HasSetting(exitFirst)</visible>
<label>13012</label>
<thumb></thumb>
<onclick>Quit()</onclick>
</item>
<item id="3">
<label>13011</label>
<visible>System.CanSuspend</visible>
<thumb></thumb>
<onclick>Suspend()</onclick>
</item>
<item id="4">
<label>13010</label>
<visible>System.CanHibernate</visible>
<thumb></thumb>
<onclick>Hibernate()</onclick>
</item>
<item id="5">
<label>13013</label>
<thumb></thumb>
<onclick>Reboot()</onclick>
</item>
<item id="6">
<label>$LOCALIZE[20126] $INFO[system.profilename]</label>
<visible>System.HasLoginScreen | Integer.IsGreater(System.ProfileCount,1)</visible>
<visible>System.Loggedon</visible>
<thumb></thumb>
<onclick>dialog.close(all,true)</onclick>
<onclick>System.LogOff</onclick>
</item>
<item id="7">
<description>Exit to desktop</description>
<visible>!Skin.HasSetting(exitFirst)</visible>
<label>13012</label>
<thumb></thumb>
<onclick>Quit()</onclick>
</item>
<item id="8">
<label>13016</label>
<visible>System.CanPowerDown + Skin.HasSetting(exitFirst)</visible>
<thumb></thumb>
<onclick>Powerdown()</onclick>
</item>
</content>
</control>
</control>
<!--debugging-->
<include>DebugGrid</include>
<control type="label">
<include>DialogID</include>
<label>DialogButtonMenu.xml</label>
</control>
</controls>
</window>